Add infra-* teams for Dex SSO group mapping#49
Merged
Conversation
Contributor
|
The following access changes will be introduced as a result of applying the plan: Access Changes |
Contributor
|
Before merge, verify that all the following plans are correct. After merge, Apply will regenerate the plans from the merged commit and continue only if they match. Terraform plansFilOzoneTerraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
# github_team.this["infra-admin"] will be created
+ resource "github_team" "this" {
+ create_default_maintainer = false
+ etag = (known after apply)
+ id = (known after apply)
+ members_count = (known after apply)
+ name = "infra-admin"
+ node_id = (known after apply)
+ parent_team_read_id = (known after apply)
+ parent_team_read_slug = (known after apply)
+ privacy = "secret"
+ slug = (known after apply)
}
# github_team.this["infra-argocd-admin"] will be created
+ resource "github_team" "this" {
+ create_default_maintainer = false
+ etag = (known after apply)
+ id = (known after apply)
+ members_count = (known after apply)
+ name = "infra-argocd-admin"
+ node_id = (known after apply)
+ parent_team_read_id = (known after apply)
+ parent_team_read_slug = (known after apply)
+ privacy = "secret"
+ slug = (known after apply)
}
# github_team.this["infra-argocd-viewer"] will be created
+ resource "github_team" "this" {
+ create_default_maintainer = false
+ etag = (known after apply)
+ id = (known after apply)
+ members_count = (known after apply)
+ name = "infra-argocd-viewer"
+ node_id = (known after apply)
+ parent_team_read_id = (known after apply)
+ parent_team_read_slug = (known after apply)
+ privacy = "secret"
+ slug = (known after apply)
}
# github_team.this["infra-dealbot-admin"] will be created
+ resource "github_team" "this" {
+ create_default_maintainer = false
+ etag = (known after apply)
+ id = (known after apply)
+ members_count = (known after apply)
+ name = "infra-dealbot-admin"
+ node_id = (known after apply)
+ parent_team_read_id = (known after apply)
+ parent_team_read_slug = (known after apply)
+ privacy = "secret"
+ slug = (known after apply)
}
# github_team.this["infra-dealbot-viewer"] will be created
+ resource "github_team" "this" {
+ create_default_maintainer = false
+ etag = (known after apply)
+ id = (known after apply)
+ members_count = (known after apply)
+ name = "infra-dealbot-viewer"
+ node_id = (known after apply)
+ parent_team_read_id = (known after apply)
+ parent_team_read_slug = (known after apply)
+ privacy = "secret"
+ slug = (known after apply)
}
# github_team.this["infra-grafana-admin"] will be created
+ resource "github_team" "this" {
+ create_default_maintainer = false
+ etag = (known after apply)
+ id = (known after apply)
+ members_count = (known after apply)
+ name = "infra-grafana-admin"
+ node_id = (known after apply)
+ parent_team_read_id = (known after apply)
+ parent_team_read_slug = (known after apply)
+ privacy = "secret"
+ slug = (known after apply)
}
# github_team.this["infra-grafana-viewer"] will be created
+ resource "github_team" "this" {
+ create_default_maintainer = false
+ etag = (known after apply)
+ id = (known after apply)
+ members_count = (known after apply)
+ name = "infra-grafana-viewer"
+ node_id = (known after apply)
+ parent_team_read_id = (known after apply)
+ parent_team_read_slug = (known after apply)
+ privacy = "secret"
+ slug = (known after apply)
}
# github_team.this["infra-viewer"] will be created
+ resource "github_team" "this" {
+ create_default_maintainer = false
+ etag = (known after apply)
+ id = (known after apply)
+ members_count = (known after apply)
+ name = "infra-viewer"
+ node_id = (known after apply)
+ parent_team_read_id = (known after apply)
+ parent_team_read_slug = (known after apply)
+ privacy = "secret"
+ slug = (known after apply)
}
# github_team_membership.this["infra-admin:biglep"] will be created
+ resource "github_team_membership" "this" {
+ etag = (known after apply)
+ id = (known after apply)
+ role = "member"
+ team_id = (known after apply)
+ username = "BigLep"
}
# github_team_membership.this["infra-admin:jennijuju"] will be created
+ resource "github_team_membership" "this" {
+ etag = (known after apply)
+ id = (known after apply)
+ role = "member"
+ team_id = (known after apply)
+ username = "jennijuju"
}
# github_team_membership.this["infra-admin:kubuxu"] will be created
+ resource "github_team_membership" "this" {
+ etag = (known after apply)
+ id = (known after apply)
+ role = "member"
+ team_id = (known after apply)
+ username = "Kubuxu"
}
# github_team_membership.this["infra-admin:momack2"] will be created
+ resource "github_team_membership" "this" {
+ etag = (known after apply)
+ id = (known after apply)
+ role = "member"
+ team_id = (known after apply)
+ username = "momack2"
}
# github_team_membership.this["infra-admin:rjan90"] will be created
+ resource "github_team_membership" "this" {
+ etag = (known after apply)
+ id = (known after apply)
+ role = "member"
+ team_id = (known after apply)
+ username = "rjan90"
}
# github_team_membership.this["infra-admin:rvagg"] will be created
+ resource "github_team_membership" "this" {
+ etag = (known after apply)
+ id = (known after apply)
+ role = "member"
+ team_id = (known after apply)
+ username = "rvagg"
}
# github_team_membership.this["infra-admin:sgtpooki"] will be created
+ resource "github_team_membership" "this" {
+ etag = (known after apply)
+ id = (known after apply)
+ role = "member"
+ team_id = (known after apply)
+ username = "SgtPooki"
}
# github_team_membership.this["infra-argocd-admin:kubuxu"] will be created
+ resource "github_team_membership" "this" {
+ etag = (known after apply)
+ id = (known after apply)
+ role = "member"
+ team_id = (known after apply)
+ username = "Kubuxu"
}
# github_team_membership.this["infra-argocd-admin:sgtpooki"] will be created
+ resource "github_team_membership" "this" {
+ etag = (known after apply)
+ id = (known after apply)
+ role = "member"
+ team_id = (known after apply)
+ username = "SgtPooki"
}
# github_team_membership.this["infra-argocd-viewer:kubuxu"] will be created
+ resource "github_team_membership" "this" {
+ etag = (known after apply)
+ id = (known after apply)
+ role = "member"
+ team_id = (known after apply)
+ username = "Kubuxu"
}
# github_team_membership.this["infra-argocd-viewer:sgtpooki"] will be created
+ resource "github_team_membership" "this" {
+ etag = (known after apply)
+ id = (known after apply)
+ role = "member"
+ team_id = (known after apply)
+ username = "SgtPooki"
}
# github_team_membership.this["infra-dealbot-admin:kubuxu"] will be created
+ resource "github_team_membership" "this" {
+ etag = (known after apply)
+ id = (known after apply)
+ role = "member"
+ team_id = (known after apply)
+ username = "Kubuxu"
}
# github_team_membership.this["infra-dealbot-admin:sgtpooki"] will be created
+ resource "github_team_membership" "this" {
+ etag = (known after apply)
+ id = (known after apply)
+ role = "member"
+ team_id = (known after apply)
+ username = "SgtPooki"
}
# github_team_membership.this["infra-dealbot-viewer:kubuxu"] will be created
+ resource "github_team_membership" "this" {
+ etag = (known after apply)
+ id = (known after apply)
+ role = "member"
+ team_id = (known after apply)
+ username = "Kubuxu"
}
# github_team_membership.this["infra-dealbot-viewer:sgtpooki"] will be created
+ resource "github_team_membership" "this" {
+ etag = (known after apply)
+ id = (known after apply)
+ role = "member"
+ team_id = (known after apply)
+ username = "SgtPooki"
}
# github_team_membership.this["infra-grafana-admin:kubuxu"] will be created
+ resource "github_team_membership" "this" {
+ etag = (known after apply)
+ id = (known after apply)
+ role = "member"
+ team_id = (known after apply)
+ username = "Kubuxu"
}
# github_team_membership.this["infra-grafana-admin:sgtpooki"] will be created
+ resource "github_team_membership" "this" {
+ etag = (known after apply)
+ id = (known after apply)
+ role = "member"
+ team_id = (known after apply)
+ username = "SgtPooki"
}
# github_team_membership.this["infra-grafana-viewer:kubuxu"] will be created
+ resource "github_team_membership" "this" {
+ etag = (known after apply)
+ id = (known after apply)
+ role = "member"
+ team_id = (known after apply)
+ username = "Kubuxu"
}
# github_team_membership.this["infra-grafana-viewer:sgtpooki"] will be created
+ resource "github_team_membership" "this" {
+ etag = (known after apply)
+ id = (known after apply)
+ role = "member"
+ team_id = (known after apply)
+ username = "SgtPooki"
}
# github_team_membership.this["infra-viewer:kubuxu"] will be created
+ resource "github_team_membership" "this" {
+ etag = (known after apply)
+ id = (known after apply)
+ role = "member"
+ team_id = (known after apply)
+ username = "Kubuxu"
}
# github_team_membership.this["infra-viewer:sgtpooki"] will be created
+ resource "github_team_membership" "this" {
+ etag = (known after apply)
+ id = (known after apply)
+ role = "member"
+ team_id = (known after apply)
+ username = "SgtPooki"
}
Plan: 29 to add, 0 to change, 0 to destroy. |
Contributor
Author
Adds the GitHub teams that FilOzone/infra's Dex SSO maps into OIDC groups for Argo CD, Grafana, and Kubernetes RBAC. github-mgmt is the source of truth for membership; FilOzone/infra consumes these teams as groups. Teams: - infra-admin -> infra:admin (platform operators) - infra-viewer -> infra:viewer (broad read-only; cluster-wide binding deferred) - infra-argocd-admin -> argocd:admin - infra-argocd-viewer -> argocd:viewer - infra-grafana-admin -> grafana:admin - infra-grafana-viewer -> grafana:viewer - infra-dealbot-admin -> k8s:dealbot:admin - infra-dealbot-viewer -> k8s:dealbot:viewer See FilOzone/infra docs/SSO_ACCESS.md.
1ad219c to
18826ee
Compare
Kubuxu
approved these changes
Jun 20, 2026
BigLep
approved these changes
Jun 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
Adds the
infra-*GitHub teams that FilOzone/infra's Dex SSO maps into OIDC groups for Argo CD, Grafana, and k8s RBAC. github-mgmt stays the source of truth for who's in each group; infra just consumes the team membership. Background: docs/SSO_ACCESS.md.infra-admininfra:admininfra-viewerinfra:viewerinfra-argocd-admin/infra-argocd-viewerargocd:admin/argocd:viewerinfra-grafana-admin/infra-grafana-viewergrafana:admin/grafana:viewerinfra-dealbot-admin/infra-dealbot-viewerk8s:dealbot:admin/k8s:dealbot:viewerMembership:
infra-admingets the initial operator set (BigLep, jennijuju, Kubuxu, momack2, rjan90, rvagg, SgtPooki). Every other team is seeded with Kubuxu + SgtPooki and grows as access requests come in.Notes
These are membership-only teams — no repo access, they exist to drive OIDC group emission. This is phase 1; the Dex deploy and downstream RBAC wiring live in infra PRs #112 (prep) and #113 (rollout).
infra-viewerexists, but its cluster-wide k8s read binding is still deferred in infra, so broad "view everything" isn't functional yet — only app-scoped viewers likeinfra-dealbot-viewerare wired today.