Skip to content

Commit

Permalink
fix terraform expansion
Browse files Browse the repository at this point in the history
  • Loading branch information
nce committed Mar 29, 2024
1 parent 9a0d39d commit 490709c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions terraform/config/modules/grafana/helm.tf
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ resource "helm_release" "grafana" {
lint = true
timeout = 70

values = [<<YAML
values = sensitive([<<YAML
grafana.ini:
app_mode: production
server:
Expand All @@ -28,8 +28,8 @@ grafana.ini:
enabled: true
name: Dex
allow_sign_up: true
client_id: $__file{/etc/secrets/dex_grafana_client/client-id}
client_secret: $__file{/etc/secrets/dex_grafana_client/client-secret}
client_id: "$__file{/etc/secrets/dex_grafana_client/client-id}"
client_secret: "$__file{/etc/secrets/dex_grafana_client/client-secret}"
scopes: openid profile email groups
;empty_scopes: false
email_attribute_path: email
Expand Down Expand Up @@ -74,5 +74,5 @@ sidecar:
enabled: true
searchNamespace: grafana
YAML
]
])
}

0 comments on commit 490709c

Please sign in to comment.