Skip to content

Commit

Permalink
Setup secrets in environment variables
Browse files Browse the repository at this point in the history
  • Loading branch information
spyder007 committed Jan 12, 2024
1 parent 8fc7f1d commit 4626fdb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion external/monitor/grafana/templates/grafana-secret-es.yaml
Expand Up @@ -19,7 +19,7 @@ spec:
remoteRef:
key: secrets-k8/monitoring/grafana
property: azure_client_secret
- secretKey: GF_AUTH_DB_PASSWORD
- secretKey: GF_DATABASE_PASSWORD
remoteRef:
key: secrets-k8/monitoring/grafana
property: db_password
3 changes: 0 additions & 3 deletions external/monitor/grafana/values.yaml
Expand Up @@ -12,8 +12,6 @@ grafana:
name: Azure AD
enabled: true
allow_sign_up: true
client_id: ${GF_AUTH_AZUREAD_CLIENT_ID}
client_secret: ${GF_AUTH_AZUREAD_CLIENT_SECRET}
scopes: openid email profile
auth_url: https://login.microsoftonline.com/70965cdd-c60c-4109-9fcf-709b2f23bd0c/oauth2/v2.0/authorize
token_url: https://login.microsoftonline.com/70965cdd-c60c-4109-9fcf-709b2f23bd0c/oauth2/v2.0/token
Expand All @@ -26,7 +24,6 @@ grafana:
host: "grafana-mysql-headless"
name: "grafana"
user: grafanauser
password: ${GF_AUTH_DB_PASSWORD}
ingress:
enabled: true
path: /
Expand Down

0 comments on commit 4626fdb

Please sign in to comment.