Skip to content

Commit

Permalink
Merge pull request #31 from like-inspur/master
Browse files Browse the repository at this point in the history
add annotation namespace
  • Loading branch information
byxorna authored May 27, 2020
2 parents 61e633e + be417c3 commit 35975e6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ TLS_CERT_FILE="${TLS_CERT_FILE:-/var/lib/secrets/cert.crt}"
TLS_KEY_FILE="${TLS_KEY_FILE:-/var/lib/secrets/cert.key}"
CONFIGMAP_LABELS="${CONFIGMAP_LABELS:-app=k8s-sidecar-injector}"
CONFIGMAP_NAMESPACE="${CONFIGMAP_NAMESPACE:-}"
ANNOTATION_NAMESPACE="${ANNOTATION_NAMESPACE:-injector.tumblr.com}"
LOG_LEVEL="${LOG_LEVEL:-2}"
echo "k8s-sidecar-injector starting at $(date) with TLS_PORT=${TLS_PORT} CONFIG_DIR=${CONFIG_DIR} TLS_CERT_FILE=${TLS_CERT_FILE} TLS_KEY_FILE=${TLS_KEY_FILE}"
set -x
Expand All @@ -19,4 +20,5 @@ exec k8s-sidecar-injector \
--tls-key-file="${TLS_KEY_FILE}" \
--configmap-labels="${CONFIGMAP_LABELS}" \
--configmap-namespace="${CONFIGMAP_NAMESPACE}" \
--annotation-namespace="${ANNOTATION_NAMESPACE}" \
"$@"

0 comments on commit 35975e6

Please sign in to comment.