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