Use client-only WIF runner grants
Some checks failed
Build Rust / Cargo Test (push) Successful in 4m0s
Build Site / Next.js Build (push) Failing after 4s
Infra: OpenTofu / OpenTofu (grafana) (push) Successful in 6s
Lint Governance / BEP Metadata (push) Successful in 1s

This commit is contained in:
Conrad Kramer 2026-06-07 13:34:53 -07:00
parent e7c0442a12
commit 51f34c9a64
3 changed files with 5 additions and 6 deletions

View file

@ -17,9 +17,8 @@ It may manage:
- a non-exportable software KMS signing key for Sparkle Ed25519 appcast - a non-exportable software KMS signing key for Sparkle Ed25519 appcast
signatures (`sparkle-ed25519`) signatures (`sparkle-ed25519`)
- an Authentik-backed WIF pool/provider for Forgejo runners - an Authentik-backed WIF pool/provider for Forgejo runners
- the runner service account and its narrow IAM bindings for the - the runner service account and its narrow IAM binding for the Authentik WIF
`burrow-automation` group and the Authentik WIF client ID client ID `google-wif.burrow.net`; human/group grants are opt-in
`google-wif.burrow.net`
It must not manage: It must not manage:

View file

@ -11,5 +11,5 @@ manage_google_runner_service_account = false
google_wif_issuer_uri = "https://auth.burrow.net/application/o/google-cloud/" google_wif_issuer_uri = "https://auth.burrow.net/application/o/google-cloud/"
google_wif_allowed_audiences = ["google-wif.burrow.net"] google_wif_allowed_audiences = ["google-wif.burrow.net"]
google_wif_runner_group = "burrow-automation" google_wif_runner_group = ""
google_wif_runner_client_id = "google-wif.burrow.net" google_wif_runner_client_id = "google-wif.burrow.net"

View file

@ -177,9 +177,9 @@ variable "google_wif_allowed_audiences" {
} }
variable "google_wif_runner_group" { variable "google_wif_runner_group" {
description = "Mapped Authentik group allowed to assume the runner service account. Empty allows the whole pool." description = "Mapped Authentik group allowed to assume the runner service account. Leave empty for machine-to-machine client credentials."
type = string type = string
default = "burrow-automation" default = ""
} }
variable "google_wif_runner_client_id" { variable "google_wif_runner_client_id" {