2022-05-07 23:49:16 +07:00
|
|
|
apiVersion: external-secrets.io/v1beta1
|
2022-02-26 10:43:35 +07:00
|
|
|
kind: ExternalSecret
|
|
|
|
metadata:
|
|
|
|
name: {{ .Values.gitea.gitea.admin.existingSecret }}
|
|
|
|
namespace: {{ .Release.Namespace }}
|
|
|
|
spec:
|
|
|
|
secretStoreRef:
|
|
|
|
kind: ClusterSecretStore
|
2023-11-26 02:09:21 +07:00
|
|
|
name: global-secrets
|
2022-02-26 10:43:35 +07:00
|
|
|
target:
|
|
|
|
template:
|
2022-02-26 11:46:50 +07:00
|
|
|
engineVersion: v2
|
2022-02-26 10:43:35 +07:00
|
|
|
data:
|
|
|
|
username: gitea_admin
|
2022-02-26 11:42:30 +07:00
|
|
|
password: {{` "{{ .password }}" `}}
|
2022-02-26 10:43:35 +07:00
|
|
|
data:
|
|
|
|
- secretKey: password
|
|
|
|
remoteRef:
|
2023-11-26 02:09:21 +07:00
|
|
|
key: gitea.admin
|
2022-03-09 01:09:05 +07:00
|
|
|
property: password
|