| Giorgi Lekveishvili | ee15ee2 | 2024-03-28 12:35:10 +0400 | [diff] [blame^] | 1 | apiVersion: v1 |
| 2 | kind: Secret |
| 3 | metadata: |
| 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 }} |
| 14 | data: |
| 15 | .htpasswd: {{ required "A .htpasswd-file is required for the git backend." .Values.gitBackend.credentials.htpasswd | b64enc }} |
| 16 | type: Opaque |