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

13 lines
301 B
YAML

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