Skip to content

Commit

Permalink
Wrap yaml key in conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
biancaburtoiu committed Mar 15, 2022
1 parent 05d8a40 commit 93be24a
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -398,10 +398,14 @@ spec:
{{- else }}
value: production
{{- end }}
{{- if .Values.kubecostProductConfigs }}
{{- if .Values.kubecostProductConfigs.productKey }}
{{- if .Values.kubecostProductConfigs.productKey.mountPath }}
- name: PRODUCT_KEY_MOUNT_PATH
value: {{ .Values.kubecostProductConfigs.productKey.mountPath }}
{{- end }}
{{- end }}
{{- end }}
- name: REMOTE_WRITE_PASSWORD
value: {{ .Values.remoteWrite.postgres.auth.password }}
{{- if .Values.remoteWrite.postgres.enabled }}
Expand Down

0 comments on commit 93be24a

Please sign in to comment.