Skip to content

Commit

Permalink
feat: adding grafana web app user and password
Browse files Browse the repository at this point in the history
  • Loading branch information
caiocsgomes committed Aug 31, 2024
1 parent af6dfaa commit 166b86c
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions kubernetes/secrets/grafana-app-secret.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: kube-prometheus-stack-grafana
namespace: kube-prometheus-stack
spec:
refreshInterval: 240h
secretStoreRef:
name: cluster-secret-store
kind: ClusterSecretStore
target:
name: kube-prometheus-stack-grafana
creationPolicy: Owner
data:
- secretKey: admin-user
remoteRef:
conversionStrategy: Default
decodingStrategy: None
metadataPolicy: None
key: ci_cluster_grafana_secret
property: admin-user
- secretKey: admin-password
remoteRef:
key: ci_cluster_grafana_secret
property: admin-password
conversionStrategy: Default
decodingStrategy: None
metadataPolicy: None

0 comments on commit 166b86c

Please sign in to comment.