Skip to content

Commit

Permalink
template the cluster registration wait image
Browse files Browse the repository at this point in the history
Signed-off-by: Kartik Pattaswamy <kpattaswamy@pixielabs.ai>
  • Loading branch information
kpattaswamy committed Oct 4, 2024
1 parent 74ef65b commit cf62364
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/newrelic-pixie/Chart.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
3 changes: 2 additions & 1 deletion charts/newrelic-pixie/templates/job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 6 additions & 0 deletions charts/newrelic-pixie/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: ""
Expand Down

0 comments on commit cf62364

Please sign in to comment.