fix: Add client roles to grafana
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-07-26 15:13:57 +02:00
parent 811ad23801
commit cb6f5533ac
+12
View File
@@ -275,3 +275,15 @@ resource "keycloak_openid_client" "twomartens_grafana_monitoring" {
"+"
]
}
resource "keycloak_role" "grafana_admin" {
realm_id = keycloak_realm.twomartens_realm.id
client_id = keycloak_openid_client.twomartens_grafana_monitoring.id
name = "admin"
}
resource "keycloak_role" "grafana_editor" {
realm_id = keycloak_realm.twomartens_realm.id
client_id = keycloak_openid_client.twomartens_grafana_monitoring.id
name = "editor"
}