diff --git a/entrypoint.sh b/entrypoint.sh index 22e342a..e741ed2 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -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 @@ -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}" \ "$@"