mirror of
https://github.com/bitnami/charts.git
synced 2026-03-27 15:27:10 +08:00
[bitnami/harbor] Add existingSecret to exporter (#16881)
* Add existingSecret option to exporter deployment to allow for postgres password as env variable Signed-off-by: Harrison Roberts <harrison.roberts1@defence.gov.au> * bump chart version Signed-off-by: Harrison Roberts <harrison.roberts1@defence.gov.au> * Update README.md with readme-generator-for-helm Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com> * Update Chart.yaml Change to a minor chart bump as recommended. Signed-off-by: Harrys-git <100171677+Harrys-git@users.noreply.github.com> * Update bitnami/harbor/Chart.yaml Co-authored-by: Fran Mulero <fmulero@vmware.com> Signed-off-by: Harrys-git <100171677+Harrys-git@users.noreply.github.com> * Update exporter-dpl.yaml Signed-off-by: Harrys-git <100171677+Harrys-git@users.noreply.github.com> * Update exporter-dpl.yaml Signed-off-by: Harrys-git <100171677+Harrys-git@users.noreply.github.com> * Update values.yaml Signed-off-by: Harrys-git <100171677+Harrys-git@users.noreply.github.com> * Update README.md Signed-off-by: Harrys-git <100171677+Harrys-git@users.noreply.github.com> * Update README.md Signed-off-by: Harrys-git <100171677+Harrys-git@users.noreply.github.com> * Update exporter-dpl.yaml Signed-off-by: Harrys-git <100171677+Harrys-git@users.noreply.github.com> * Update README.md Signed-off-by: Harrys-git <100171677+Harrys-git@users.noreply.github.com> * Update exporter-dpl.yaml Signed-off-by: Harrys-git <100171677+Harrys-git@users.noreply.github.com> --------- Signed-off-by: Harrison Roberts <harrison.roberts1@defence.gov.au> Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com> Signed-off-by: Harrys-git <100171677+Harrys-git@users.noreply.github.com> Co-authored-by: Bitnami Containers <bitnami-bot@vmware.com> Co-authored-by: Fran Mulero <fmulero@vmware.com>
This commit is contained in:
@@ -34,4 +34,5 @@ maintainers:
|
||||
name: harbor
|
||||
sources:
|
||||
- https://github.com/bitnami/charts/tree/main/bitnami/harbor
|
||||
version: 16.6.8
|
||||
version: 16.7.0
|
||||
|
||||
|
||||
@@ -105,12 +105,20 @@ spec:
|
||||
- name: HARBOR_DATABASE_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: {{ include "harbor.core" . }}-envvars
|
||||
{{- if .Values.exporter.existingEnvVarsSecret }}
|
||||
name: {{ .Values.exporter.existingEnvVarsSecret }}
|
||||
{{- else }}
|
||||
name: {{ printf "%s-envvars" (include "harbor.core" .) }}
|
||||
{{- end }}
|
||||
key: POSTGRESQL_PASSWORD
|
||||
- name: HARBOR_ADMIN_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: {{ include "harbor.core" . }}-envvars
|
||||
{{- if .Values.exporter.existingEnvVarsSecret }}
|
||||
name: {{ .Values.exporter.existingEnvVarsSecret }}
|
||||
{{- else }}
|
||||
name: {{ printf "%s-envvars" (include "harbor.core" .) }}
|
||||
{{- end }}
|
||||
key: HARBOR_ADMIN_PASSWORD
|
||||
{{- if .Values.exporter.extraEnvVars }}
|
||||
{{- include "common.tplvalues.render" (dict "value" .Values.exporter.extraEnvVars "context" $) | nindent 12 }}
|
||||
|
||||
Reference in New Issue
Block a user