diff --git a/charts/newrelic-pixie/Chart.yaml b/charts/newrelic-pixie/Chart.yaml index c01627797..cc478b5bb 100644 --- a/charts/newrelic-pixie/Chart.yaml +++ b/charts/newrelic-pixie/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 description: A Helm chart for the New Relic Pixie integration. name: newrelic-pixie -version: 2.1.4 +version: 2.1.5 appVersion: 2.1.4 home: https://hub.docker.com/u/newrelic sources: diff --git a/charts/newrelic-pixie/templates/job.yaml b/charts/newrelic-pixie/templates/job.yaml index 89b97514f..1071e40d7 100644 --- a/charts/newrelic-pixie/templates/job.yaml +++ b/charts/newrelic-pixie/templates/job.yaml @@ -36,7 +36,8 @@ spec: restartPolicy: Never initContainers: - name: cluster-registration-wait - image: gcr.io/pixie-oss/pixie-dev-public/curl:1.0 + image: "{{ .Values.clusterRegistrationWaitImage.repository }}:{{ .Values.clusterRegistrationWaitImage.tag }}" + imagePullPolicy: "{{ .Values.clusterRegistrationWaitImage.pullPolicy }}" command: ['sh', '-c', 'set -x; URL="https://${SERVICE_NAME}:${SERVICE_PORT}/readyz"; until [ $(curl -m 0.5 -s -o /dev/null -w "%{http_code}" -k ${URL}) -eq 200 ]; do diff --git a/charts/newrelic-pixie/values.yaml b/charts/newrelic-pixie/values.yaml index 4103d54e9..cb8eb7b8a 100644 --- a/charts/newrelic-pixie/values.yaml +++ b/charts/newrelic-pixie/values.yaml @@ -23,6 +23,12 @@ # The key in the customSecretApiKeyName secret that contains the Pixie API key # customSecretApiKeyKey: +clusterRegistrationWaitImage: + repository: gcr.io/pixie-oss/pixie-dev-public/curl + tag: "1.0" + pullPolicy: IfNotPresent + pullSecrets: [] + image: repository: newrelic/newrelic-pixie-integration tag: ""