Wire ArgoCD RBAC to Authentik ak_groups / akP-argocd-admin #263
Reference in New Issue
Block a user
Delete Branch "benvin/argocd-akgroups"
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
Consume the two-tier Authentik RBAC from terraform-authentik#7 (user → role → permissions). ArgoCD should grant admin to the
akP-argocd-adminpermission group, whichakR-global-adminmembers inherit.Change
ak_groupsscope + id-token claim (carries permission groups inherited via role groups; distinct from the defaultgroupsclaim to avoid collision).scopes: [ak_groups];policy.csv:g, akP-argocd-admin, role:admin(replaces the flatargocd-admins). Default staysrole:readonly.Depends on
terraform-authentik#7 (creates
akP-argocd-admin, the access binding, and theak_groupsmapping). Merge/apply that first; then add yourself toakR-global-adminin Authentik.Validation
kustomize buildrenders the patched configmaps; pre-commit clean. Note: argocd-server picks up argocd-cm/rbac-cm live.