mirror of
https://github.com/bitnami/charts.git
synced 2026-03-16 06:47:30 +08:00
Fix extraEnvVarsSecret on exporter (#14397)
Signed-off-by: Sébastien GLON <sebastien.glon@ubble.ai> Signed-off-by: Sébastien GLON <sebastien.glon@ubble.ai> Co-authored-by: Sébastien GLON <sebastien.glon@ubble.ai>
This commit is contained in:
@@ -36,4 +36,4 @@ sources:
|
||||
- https://github.com/bitnami/containers/tree/main/bitnami/harbor-registry
|
||||
- https://github.com/bitnami/containers/tree/main/bitnami/harbor-registryctl
|
||||
- https://goharbor.io/
|
||||
version: 16.3.0
|
||||
version: 16.3.1
|
||||
|
||||
@@ -115,6 +115,10 @@ spec:
|
||||
name: "{{ include "harbor.exporter" . }}-envvars"
|
||||
- secretRef:
|
||||
name: "{{ include "harbor.exporter" . }}-envvars"
|
||||
{{- if .Values.exporter.extraEnvVarsSecret }}
|
||||
- secretRef:
|
||||
name: {{ include "common.tplvalues.render" (dict "value" .Values.exporter.extraEnvVarsSecret "context" $) }}
|
||||
{{- end }}
|
||||
ports:
|
||||
- containerPort: {{ .Values.exporter.containerPorts.metrics }}
|
||||
name: metrics
|
||||
|
||||
Reference in New Issue
Block a user