KubeZero/charts/kubezero-ci/templates/gitea/secrets.yaml

13 lines
296 B
YAML
Raw Normal View History

2021-11-08 15:54:48 +00:00
{{- if and .Values.gitea.enabled .Values.gitea.demo }}
apiVersion: v1
kind: Secret
type: Opaque
metadata:
name: gitea-admin-secret
labels:
{{ include "kubezero-lib.labels" . | indent 4 }}
data:
username: {{ "admin" | b64enc | quote }}
password: {{ "secret" | b64enc | quote }}
{{- end }}