[bitnami/harbor] bugfix: amend ConfigMap & Secret references (#34227)

This commit is contained in:
Juan Ariza Toledano
2025-06-06 08:58:13 +02:00
committed by GitHub
parent 216deca713
commit 1727128e3e
3 changed files with 13 additions and 5 deletions

View File

@@ -137,9 +137,9 @@ spec:
{{- end }}
envFrom:
- configMapRef:
name: {{ printf "%s-envvars" (include "harbor.core" .) }}
name: {{ printf "%s-envvars" (include "harbor.exporter" .) }}
- secretRef:
name: {{ template "harbor.core.envvars.secretName" . }}
name: {{ printf "%s-envvars" (include "harbor.exporter" .) }}
{{- if .Values.exporter.extraEnvVarsSecret }}
- secretRef:
name: {{ include "common.tplvalues.render" (dict "value" .Values.exporter.extraEnvVarsSecret "context" $) }}