Skip to content

Commit

Permalink
fix templating errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Anton committed Nov 25, 2024
1 parent c8768c4 commit f36f1ce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion charts/zabbix/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ Return the entire logic of setting PostgreSQL access related env vars for the co
valueFrom:
secretKeyRef:
name: {{ .Values.postgresAccess.unifiedSecretName }}
key: {{ .Values.postgresAccess.unifiedPortKey }}
key: {{ .Values.postgresAccess.unifiedSecretPortKey }}
optional: true
{{- else }}
- name: {{ $hostvar }}
Expand Down Expand Up @@ -163,6 +163,7 @@ Return the entire logic of setting PostgreSQL access related env vars for the co
{{- if and (not .Values.postgresql.enabled) .Values.postgresAccess.unifiedSecretSchemaKey }}
- name: {{ $schemavar }}
valueFrom:
secretKeyRef:
name: {{ .Values.postgresAccess.unifiedSecretName }}
key: {{ .Values.postgresAccess.unifiedSecretSchemaKey }}
{{- end }}
Expand Down

0 comments on commit f36f1ce

Please sign in to comment.