feat(ops/keycloak): Import Gerrit OIDC client
This was previously configured in the UI. Change-Id: Ib15b8ecca96d7814dc85d62199865b22bdb63f95 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4710 Tested-by: BuildkiteCI Reviewed-by: grfn <grfn@gws.fyi>
This commit is contained in:
parent
98be390576
commit
fb7d45abc4
1 changed files with 21 additions and 0 deletions
|
@ -85,3 +85,24 @@ resource "keycloak_openid_client" "grafana" {
|
||||||
"https://status.tvl.su/*",
|
"https://status.tvl.su/*",
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
resource "keycloak_openid_client" "gerrit" {
|
||||||
|
realm_id = keycloak_realm.tvl.id
|
||||||
|
client_id = "gerrit"
|
||||||
|
name = "TVL Gerrit"
|
||||||
|
enabled = true
|
||||||
|
access_type = "CONFIDENTIAL"
|
||||||
|
standard_flow_enabled = true
|
||||||
|
base_url = "https://cl.tvl.fyi"
|
||||||
|
description = "TVL's code review tool"
|
||||||
|
direct_access_grants_enabled = true
|
||||||
|
exclude_session_state_from_auth_response = false
|
||||||
|
|
||||||
|
valid_redirect_uris = [
|
||||||
|
"https://cl.tvl.fyi/*",
|
||||||
|
]
|
||||||
|
|
||||||
|
web_origins = [
|
||||||
|
"https://cl.tvl.fyi",
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue