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 apiVersion: external-secrets.io/v1
kind: ExternalSecret kind: ExternalSecret
metadata: metadata:
@@ -9,17 +15,16 @@ spec:
target: target:
name: grafana-oauth name: grafana-oauth
data: data:
- secretKey: GF_AUTH_GENERIC_OAUTH_CLIENT_ID - secretKey: GF_AUTH_GENERIC_OAUTH_CLIENT_ID
remoteRef: remoteRef:
key: secrets/kube-prometheus/grafana/oauth key: secrets/grafana/oauth
property: GF_AUTH_GENERIC_OAUTH_CLIENT_ID property: GF_AUTH_GENERIC_OAUTH_CLIENT_ID
- secretKey: GF_AUTH_GENERIC_OAUTH_CLIENT_SECRET - secretKey: GF_AUTH_GENERIC_OAUTH_CLIENT_SECRET
remoteRef: remoteRef:
key: secrets/kube-prometheus/grafana/oauth key: secrets/grafana/oauth
property: GF_AUTH_GENERIC_OAUTH_CLIENT_SECRET property: GF_AUTH_GENERIC_OAUTH_CLIENT_SECRET
---
---
apiVersion: external-secrets.io/v1 apiVersion: external-secrets.io/v1
kind: ExternalSecret kind: ExternalSecret
metadata: metadata:
@@ -31,11 +36,11 @@ spec:
target: target:
name: grafana-admin-credentials name: grafana-admin-credentials
data: data:
- secretKey: admin-password - secretKey: admin-password
remoteRef: remoteRef:
key: secrets/kube-prometheus/grafana/admin key: secrets/grafana/admin
property: admin-password property: admin-password
- secretKey: admin-user - secretKey: admin-user
remoteRef: remoteRef:
key: secrets/kube-prometheus/grafana/admin key: secrets/grafana/admin
property: admin-user property: admin-user