feat: add external secrets for grafana and gitea

This commit is contained in:
2026-06-22 11:47:00 +00:00
parent fa9118f372
commit a8c390d59a
2 changed files with 40 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
apiVersion: external-secrets.io/v1
kind: ExternalSecret
metadata:
name: gitea-secret
namespace: gitea
spec:
refreshInterval: 1h
secretStoreRef:
name: vault-backend
kind: ClusterSecretStore
target:
name: gitea-admin-secret
creationPolicy: Owner
data:
- secretKey: adminPassword
remoteRef:
key: secret/gitea
property: adminPassword
- secretKey: dbPassword
remoteRef:
key: secret/gitea
property: dbPassword