update secrets

This commit is contained in:
2025-09-20 07:51:38 -05:00
parent 4fdddee8e0
commit 868ceddb22

View File

@@ -1,3 +1,9 @@
apiVersion: v1
kind: ServiceAccount
metadata:
name: vault
---
apiVersion: external-secrets.io/v1
kind: ExternalSecret
metadata:
@@ -9,17 +15,16 @@ spec:
target:
name: grafana-oauth
data:
- secretKey: GF_AUTH_GENERIC_OAUTH_CLIENT_ID
remoteRef:
key: secrets/kube-prometheus/grafana/oauth
property: GF_AUTH_GENERIC_OAUTH_CLIENT_ID
- secretKey: GF_AUTH_GENERIC_OAUTH_CLIENT_SECRET
remoteRef:
key: secrets/kube-prometheus/grafana/oauth
property: GF_AUTH_GENERIC_OAUTH_CLIENT_SECRET
---
- secretKey: GF_AUTH_GENERIC_OAUTH_CLIENT_ID
remoteRef:
key: secrets/grafana/oauth
property: GF_AUTH_GENERIC_OAUTH_CLIENT_ID
- secretKey: GF_AUTH_GENERIC_OAUTH_CLIENT_SECRET
remoteRef:
key: secrets/grafana/oauth
property: GF_AUTH_GENERIC_OAUTH_CLIENT_SECRET
---
apiVersion: external-secrets.io/v1
kind: ExternalSecret
metadata:
@@ -31,11 +36,11 @@ spec:
target:
name: grafana-admin-credentials
data:
- secretKey: admin-password
remoteRef:
key: secrets/kube-prometheus/grafana/admin
property: admin-password
- secretKey: admin-user
remoteRef:
key: secrets/kube-prometheus/grafana/admin
property: admin-user
- secretKey: admin-password
remoteRef:
key: secrets/grafana/admin
property: admin-password
- secretKey: admin-user
remoteRef:
key: secrets/grafana/admin
property: admin-user