Add secret for grafana oidc
This commit is contained in:
parent
e5680715da
commit
e15e42afc1
@ -23,10 +23,10 @@ spec:
|
|||||||
source:
|
source:
|
||||||
repoURL: https://git.dvirlabs.com/dvirlabs/observability-stack.git
|
repoURL: https://git.dvirlabs.com/dvirlabs/observability-stack.git
|
||||||
targetRevision: master
|
targetRevision: master
|
||||||
path: charts/grafana
|
path: manifests/grafana
|
||||||
helm:
|
helm:
|
||||||
valueFiles:
|
valueFiles:
|
||||||
- my-values/values-{{env}}.yaml
|
- ../my-values/{{valuesFile}}
|
||||||
destination:
|
destination:
|
||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: monitoring
|
namespace: monitoring
|
||||||
|
|||||||
18
manifests/grafana/external-secret.yaml
Normal file
18
manifests/grafana/external-secret.yaml
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
apiVersion: external-secrets.io/v1beta1
|
||||||
|
kind: ExternalSecret
|
||||||
|
metadata:
|
||||||
|
name: grafana-oidc
|
||||||
|
namespace: monitoring
|
||||||
|
spec:
|
||||||
|
refreshInterval: 1h
|
||||||
|
secretStoreRef:
|
||||||
|
name: vault-backend
|
||||||
|
kind: ClusterSecretStore
|
||||||
|
target:
|
||||||
|
name: grafana-oidc-secret
|
||||||
|
creationPolicy: Owner
|
||||||
|
data:
|
||||||
|
- secretKey: client_secret
|
||||||
|
remoteRef:
|
||||||
|
key: secret/grafana-oidc
|
||||||
|
property: client_secret
|
||||||
Loading…
x
Reference in New Issue
Block a user