This commit is contained in:
2024-01-24 15:48:08 +01:00
parent 55072f411f
commit 42fe75fe41
2 changed files with 25 additions and 26 deletions

View File

@@ -4,7 +4,6 @@ resource "kubernetes_config_map_v1" "config" {
namespace = var.namespace
labels = local.common-labels
}
data = {
"grafana.ini" = <<-EOF
[analytics]
@@ -25,7 +24,7 @@ root_url = 'https://${local.dns-name}/'
enabled = true
client_id = '${module.oauth2.client_id}'
client_secret = '${module.oauth2.client_secret}'
auth_url = '${module.oauth2.sso_configuration_url}'
auth_url = '${module.oauth2.sso_authorize}'
api_url = '${module.oauth2.sso_userinfo}'
EOF
}