Skip to content

Commit 8f7bc37

Browse files
Configure resources of the hyperdx-deployment initContainers
1 parent 38e5d05 commit 8f7bc37

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@ spec:
5252
- name: wait-for-mongodb
5353
image: busybox
5454
command: ['sh', '-c', 'until nc -z {{ include "hdx-oss.fullname" . }}-mongodb {{ .Values.mongodb.port }}; do echo waiting for mongodb; sleep 2; done;']
55+
{{- if .Values.hyperdx.initContainers.resources }}
56+
resources:
57+
{{- toYaml .Values.hyperdx.initContainers.resources | nindent 12 }}
58+
{{- end }}
5559
{{- end }}
5660
containers:
5761
- name: app

0 commit comments

Comments
 (0)