apiVersion: external-secrets.io/v1beta1 kind: ExternalSecret metadata: name: grafana-auth-secret namespace: {{ .Release.Namespace }} labels: app.kubernetes.io/name: {{ .Release.Name }} app.kubernetes.io/instance: {{ .Release.Name }} app.kubernetes.io/version: {{ .Chart.AppVersion }} app.kubernetes.io/component: web app.kubernetes.io/part-of: {{ .Release.Name }} spec: secretStoreRef: kind: ClusterSecretStore name: vault data: - secretKey: admin-user remoteRef: conversionStrategy: Default decodingStrategy: None key: /grafana/auth metadataPolicy: None property: admin-user - secretKey: admin-password remoteRef: conversionStrategy: Default decodingStrategy: None key: /grafana/auth metadataPolicy: None property: admin-password --- apiVersion: external-secrets.io/v1beta1 kind: ExternalSecret metadata: name: grafana-oauth-secret namespace: {{ .Release.Namespace }} labels: app.kubernetes.io/name: {{ .Release.Name }} app.kubernetes.io/instance: {{ .Release.Name }} app.kubernetes.io/version: {{ .Chart.AppVersion }} app.kubernetes.io/component: web app.kubernetes.io/part-of: {{ .Release.Name }} spec: secretStoreRef: kind: ClusterSecretStore name: vault data: - secretKey: GF_AUTH_GENERIC_OAUTH_CLIENT_ID remoteRef: conversionStrategy: Default decodingStrategy: None key: /authentik/oidc/grafana metadataPolicy: None property: client - secretKey: GF_AUTH_GENERIC_OAUTH_CLIENT_SECRET remoteRef: conversionStrategy: Default decodingStrategy: None key: /authentik/oidc/grafana metadataPolicy: None property: secret