13 lines
296 B
YAML
13 lines
296 B
YAML
|
{{- 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 }}
|