mirror of
https://github.com/khuedoan/homelab.git
synced 2025-01-24 01:36:10 +07:00
18 lines
386 B
YAML
18 lines
386 B
YAML
|
apiVersion: external-secrets.io/v1alpha1
|
||
|
kind: ExternalSecret
|
||
|
metadata:
|
||
|
name: {{ .Values.gitea.gitea.admin.existingSecret }}
|
||
|
namespace: {{ .Release.Namespace }}
|
||
|
spec:
|
||
|
secretStoreRef:
|
||
|
name: vault
|
||
|
kind: ClusterSecretStore
|
||
|
target:
|
||
|
template:
|
||
|
data:
|
||
|
username: gitea_admin
|
||
|
data:
|
||
|
- secretKey: password
|
||
|
remoteRef:
|
||
|
key: /gitea/admin-password
|