Files
gitea-ci-library/git-pages/templates/publish-auth-secret.yaml
T
2026-06-10 05:18:58 +03:00

13 lines
306 B
YAML

{{- if and .Values.publishAuth.create .Values.publishAuth.htpasswdUsers }}
apiVersion: v1
kind: Secret
metadata:
name: git-pages-publish-auth
labels:
{{- include "git-pages.componentLabels" . | nindent 4 }}
type: Opaque
stringData:
users: |
{{ .Values.publishAuth.htpasswdUsers }}
{{- end }}