Skip to content

Commit

Permalink
fix(deploy): pre-process config lists
Browse files Browse the repository at this point in the history
  • Loading branch information
tthvo committed Apr 22, 2024
1 parent a6cd757 commit d46dd8b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions charts/cryostat/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,11 @@ spec:
value: "true"
{{- with .Values.core.discovery.kubernetes }}
- name: CRYOSTAT_DISCOVERY_K8S_NAMESPACES
value: {{ join "," .namespaces | quote }}
value: {{ join "," (.namespaces | compact | uniq) | quote }}
- name: CRYOSTAT_DISCOVERY_K8S_PORT_NAMES
value: {{ join "," .portNames | quote }}
value: {{ join "," (.portNames | compact | uniq) | quote }}
- name: CRYOSTAT_DISCOVERY_K8S_PORT_NUMBERS
value: {{ join "," .portNumbers | quote }}
value: {{ join "," (.portNumbers | compact | uniq) | quote }}
{{- end }}
{{- end }}
ports:
Expand Down

0 comments on commit d46dd8b

Please sign in to comment.