blob: 94b17055b9b2ea7575e7da6dc665a0b3d8c9e83b [file] [log] [blame]
Giorgi Lekveishviliee15ee22024-03-28 12:35:10 +04001apiVersion: v1
2kind: Secret
3metadata:
4 name: {{ .Release.Name }}-git-backend-secret
5 labels:
6 app.kubernetes.io/component: git-backend
7 app.kubernetes.io/instance: {{ .Release.Name }}
8 chart: {{ template "gerrit-replica.chart" . }}
9 heritage: {{ .Release.Service }}
10 release: {{ .Release.Name }}
11 {{- if .Values.additionalLabels }}
12{{ toYaml .Values.additionalLabels | indent 4 }}
13 {{- end }}
14data:
15 .htpasswd: {{ required "A .htpasswd-file is required for the git backend." .Values.gitBackend.credentials.htpasswd | b64enc }}
16type: Opaque