feat: initialize Harbor Helm chart with full component templates and configuration values
This commit is contained in:
17
manifest/harbor/templates/exporter/exporter-secret.yaml
Normal file
17
manifest/harbor/templates/exporter/exporter-secret.yaml
Normal file
@@ -0,0 +1,17 @@
|
||||
{{- if .Values.metrics.enabled}}
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: {{ template "harbor.exporter" . }}
|
||||
namespace: {{ .Release.Namespace | quote }}
|
||||
labels:
|
||||
{{ include "harbor.labels" . | indent 4 }}
|
||||
type: Opaque
|
||||
data:
|
||||
{{- if not .Values.existingSecretAdminPassword }}
|
||||
HARBOR_ADMIN_PASSWORD: {{ .Values.harborAdminPassword | b64enc | quote }}
|
||||
{{- end }}
|
||||
{{- if not .Values.database.external.existingSecret }}
|
||||
HARBOR_DATABASE_PASSWORD: {{ template "harbor.database.encryptedPassword" . }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user