From fa0be8739834feeae543cdae285e2074768873bc Mon Sep 17 00:00:00 2001 From: Rahul Padigela Date: Mon, 16 Apr 2018 17:52:04 -0700 Subject: [PATCH] fix: docker entrypoint for whitelisting healthcheck --- docker-entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index ab09af0d44..8fa9e43633 100755 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -116,7 +116,7 @@ if [[ "$CRR_METRICS_PORT" ]]; then fi if [[ "$HEALTHCHECKS_ALLOWFROM" ]]; then - JQ_FILTERS_CONFIG="$JQ_FILTERS_CONFIG | .server.healthChecks.allowFrom=[\"$HEALTHCHECKS_ALLOWFROM\"]" + JQ_FILTERS_CONFIG="$JQ_FILTERS_CONFIG | .healthChecks.allowFrom=[\"$HEALTHCHECKS_ALLOWFROM\"]" fi if [[ $JQ_FILTERS_CONFIG != "." ]]; then