blob: 94b17055b9b2ea7575e7da6dc665a0b3d8c9e83b [file] [log] [blame]
apiVersion: v1
kind: Secret
metadata:
name: {{ .Release.Name }}-git-backend-secret
labels:
app.kubernetes.io/component: git-backend
app.kubernetes.io/instance: {{ .Release.Name }}
chart: {{ template "gerrit-replica.chart" . }}
heritage: {{ .Release.Service }}
release: {{ .Release.Name }}
{{- if .Values.additionalLabels }}
{{ toYaml .Values.additionalLabels | indent 4 }}
{{- end }}
data:
.htpasswd: {{ required "A .htpasswd-file is required for the git backend." .Values.gitBackend.credentials.htpasswd | b64enc }}
type: Opaque