Files
terraform-rancher/environments/rancher.k8s.syd1.au.unkin.net/terragrunt.hcl
T
unkinben 80fa1b2844
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/plan Pipeline was successful
Wire Rancher to Authentik ak_groups + akP-rancher global roles
Consume the two-tier Authentik RBAC (terraform-authentik): read the hierarchical
`ak_groups` claim and grant Rancher global roles to the akP-rancher permission
groups. Members of akR-global-admin/akR-standard-user inherit these.

- keycloakoidc: scopes += ak_groups; groups_field = ak_groups
- global_role_bindings: akP-rancher-admin -> admin, akP-rancher-user -> user
  (group principal keycloakoidc_group://<name>)
2026-07-18 16:25:18 +10:00

23 lines
395 B
HCL

include "root" {
path = find_in_parent_folders("root.hcl")
expose = true
}
include "config" {
path = "${get_repo_root()}/config/config.hcl"
expose = true
}
locals {
config = include.config.locals.config
}
terraform {
source = "../../modules/rancher"
}
inputs = {
keycloakoidc = local.config.keycloakoidc
global_role_bindings = local.config.global_role_bindings
}