blob: e7a3ad56029a1ea625ff94e474efcf5c806cded5 [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 }}
data:
.htpasswd: {{ required "A .htpasswd-file is required for the git backend." .Values.gitBackend.credentials.htpasswd | b64enc }}
type: Opaque