mirror of
https://github.com/bitnami/charts.git
synced 2026-03-27 15:27:10 +08:00
[bitnami/harbor] Fix usage existing secret in chartmuseum (#15337)
* Fix usage existing secret in chartmuseum Signed-off-by: Rafael Rios Saavedra <rrios@vmware.com> * Remove unneeded file Signed-off-by: Rafael Rios Saavedra <rrios@vmware.com> --------- Signed-off-by: Rafael Rios Saavedra <rrios@vmware.com>
This commit is contained in:
committed by
GitHub
parent
e979121ef5
commit
56b17c2b57
@@ -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.4.2
|
||||
version: 16.4.3
|
||||
|
||||
@@ -115,10 +115,15 @@ spec:
|
||||
{{- end }}
|
||||
- name: BASIC_AUTH_PASS
|
||||
valueFrom:
|
||||
{{- if .Values.core.existingSecret }}
|
||||
secretKeyRef:
|
||||
name: {{ .Values.core.existingSecret }}
|
||||
key: secret
|
||||
{{- else }}
|
||||
secretKeyRef:
|
||||
# Take the password from the core component secret
|
||||
name: {{ include "harbor.core" . }}
|
||||
key: secret
|
||||
{{- end }}
|
||||
{{- if .Values.chartmuseum.extraEnvVars }}
|
||||
{{- include "common.tplvalues.render" (dict "value" .Values.chartmuseum.extraEnvVars "context" $) | nindent 12 }}
|
||||
{{- end }}
|
||||
|
||||
Reference in New Issue
Block a user