Skip to content

Commit 9b616d6

Browse files
committed
fix: pin busybox image digest and add pull policy for init container
1 parent 6bafe5c commit 9b616d6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

charts/hdx-oss-v2/templates/hyperdx-deployment.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ spec:
5050
{{- if .Values.mongodb.enabled }}
5151
initContainers:
5252
- name: wait-for-mongodb
53-
image: busybox
53+
image: "busybox@sha256:1fcf5df59121b92d61e066df1788e8df0cc35623f5d62d9679a41e163b6a0cdb"
54+
imagePullPolicy: IfNotPresent
5455
command: ['sh', '-c', 'until nc -z {{ include "hdx-oss.fullname" . }}-mongodb {{ .Values.mongodb.port }}; do echo waiting for mongodb; sleep 2; done;']
5556
{{- end }}
5657
containers:

0 commit comments

Comments
 (0)