chore: add puppet k8s role #46

Merged
unkinben merged 1 commits from benvin/puppet_secrets into master 2026-02-01 14:54:46 +11:00
5 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,6 @@
bound_service_account_names:
- default
bound_service_account_namespaces:
- puppet
token_ttl: 60
audience: vault

View File

@ -0,0 +1,9 @@
---
rules:
- path: "kv/data/service/puppet/puppetboard-secret-key"
capabilities:
- read
auth:
k8s/au/syd1:
- puppet

View File

@ -0,0 +1,9 @@
---
rules:
- path: "kv/data/service/puppet/puppetdb-postgresql-credentials"
capabilities:
- read
auth:
k8s/au/syd1:
- puppet

View File

@ -3,6 +3,7 @@ rules:
- apiGroups: - apiGroups:
- "" - ""
- "postgresql.cnpg.io" - "postgresql.cnpg.io"
- "poolers.postgresql.cnpg.io"
- "cert-manager.io" - "cert-manager.io"
- "rbac.authorization.k8s.io" - "rbac.authorization.k8s.io"
- "batch" - "batch"

View File

@ -3,6 +3,7 @@ rules:
- apiGroups: - apiGroups:
- "" - ""
- "postgresql.cnpg.io" - "postgresql.cnpg.io"
- "poolers.postgresql.cnpg.io"
- "cert-manager.io" - "cert-manager.io"
- "rbac.authorization.k8s.io" - "rbac.authorization.k8s.io"
- "batch" - "batch"