Fix global role binding name to be RFC 1123 compliant #3
Reference in New Issue
Block a user
Delete Branch "benvin/rancher-grb-name"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
The
mainapply after #2 failed:rancher2_global_role_binding.namemust be a lowercase RFC 1123 label, but theakP-*group keys are mixed-case.Change
name = akgroup-${lower(each.key)}(e.g.akgroup-akp-rancher-admin). Thegroup_principal_idkeeps the original case (keycloakoidc_group://akP-rancher-admin) to match the Authentik group.Validation
tofu validatepasses. The keycloak_oidc auth config from #2 already applied; this unblocks the two global role bindings.