Grants the `terraform-ipam` Woodpecker pipeline its Vault footprint, mirroring the `terraform-artifactapi` set plus a KV read for provider tokens. - k8s auth role `woodpecker_terraform_ipam` (SA `terraform-ipam`, ns `woodpecker`) - consul secret backend role `terraform-ipam` + ACL policy writing `infra/terraform/ipam/*` - consul creds read policy - kv read policy for `kv/service/terraform/ipam` (`netbox_token` + `kea_token`) The KV secret itself still needs seeding before the pipeline can auth to NetBox/Kea. https://claude.ai/code/session_01JUoARVdmhxKQHyyyp1pxeT Reviewed-on: #110 Co-authored-by: Ben Vincent <ben@unkin.net> Co-committed-by: Ben Vincent <ben@unkin.net>
This commit was merged in pull request #110.
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
bound_service_account_names:
|
||||
- terraform-ipam
|
||||
bound_service_account_namespaces:
|
||||
- woodpecker
|
||||
token_ttl: 600
|
||||
token_max_ttl: 600
|
||||
audience: https://kubernetes.default.svc.cluster.local
|
||||
@@ -0,0 +1,5 @@
|
||||
consul_roles:
|
||||
- terraform-ipam
|
||||
ttl: 120
|
||||
max_ttl: 300
|
||||
datacenters: []
|
||||
Reference in New Issue
Block a user