khuedoan-homelab/platform/gitea/templates/admin-secret.yaml

20 lines
459 B
YAML
Raw Normal View History

apiVersion: external-secrets.io/v1alpha1
kind: ExternalSecret
metadata:
name: {{ .Values.gitea.gitea.admin.existingSecret }}
namespace: {{ .Release.Namespace }}
spec:
secretStoreRef:
kind: ClusterSecretStore
name: vault
target:
template:
data:
username: gitea_admin
2022-02-26 11:29:09 +07:00
password: {{` "{{ .data.password }}" `}}
data:
- secretKey: password
remoteRef:
key: /gitea/admin-password
property: value