Files
infrastructure/clusters/cl01tl/helm/grafana-operator/templates/external-secret.yaml
Alex Lebens e104eae55e
Some checks failed
lint-test-helm / lint-helm (pull_request) Successful in 9m13s
lint-test-helm / validate-kubeconform (pull_request) Failing after 10m43s
feat: convert many
2026-04-21 20:47:16 -05:00

45 lines
1.1 KiB
YAML

apiVersion: external-secrets.io/v1
kind: ExternalSecret
metadata:
name: grafana-config
namespace: {{ .Release.Namespace }}
labels:
app.kubernetes.io/name: grafana-config
{{- include "custom.labels" . | nindent 4 }}
spec:
secretStoreRef:
kind: ClusterSecretStore
name: openbao
data:
- secretKey: admin-user
remoteRef:
key: /cl01tl/grafana/config
property: admin-user
- secretKey: admin-password
remoteRef:
key: /cl01tl/grafana/config
property: admin-password
---
apiVersion: external-secrets.io/v1
kind: ExternalSecret
metadata:
name: grafana-oidc-authentik
namespace: {{ .Release.Namespace }}
labels:
app.kubernetes.io/name: grafana-oidc-authentik
{{- include "custom.labels" . | nindent 4 }}
spec:
secretStoreRef:
kind: ClusterSecretStore
name: openbao
data:
- secretKey: AUTH_CLIENT_ID
remoteRef:
key: /cl01tl/authentik/oidc/grafana
property: client
- secretKey: AUTH_CLIENT_SECRET
remoteRef:
key: /cl01tl/authentik/oidc/grafana
property: secret