mirror of
https://github.com/khuedoan/homelab.git
synced 2025-02-07 01:28:42 +07:00
21 lines
478 B
YAML
21 lines
478 B
YAML
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:
|
|
engineVersion: v2
|
|
data:
|
|
username: gitea_admin
|
|
password: {{` "{{ .password }}" `}}
|
|
data:
|
|
- secretKey: password
|
|
remoteRef:
|
|
key: /gitea/admin-password
|
|
property: value
|