Add kubernetes auth roles for the puppet compilers #152

Merged
benvin merged 1 commits from benvin/certmanager-k8s-auth into master 2026-09-13 22:54:45 +10:00
6 changed files with 29 additions and 0 deletions
@@ -0,0 +1,11 @@
---
# Kubernetes auth for the puppetserver compilers, which run certmanager
# server-side during catalog compilation. The AppRole equivalent is pinned to
# the legacy VM master IPs and cannot be used from autoscaled compiler pods.
bound_service_account_names:
- default
bound_service_account_namespaces:
- puppet
token_ttl: 30
token_max_ttl: 30
audience: https://kubernetes.default.svc.cluster.local
@@ -0,0 +1,10 @@
---
# Kubernetes auth for the puppetserver compilers, which run sshsignhost
# server-side during catalog compilation.
bound_service_account_names:
- default
bound_service_account_namespaces:
- puppet
token_ttl: 30
token_max_ttl: 30
audience: https://kubernetes.default.svc.cluster.local
+2
View File
@@ -17,3 +17,5 @@ rules:
auth:
approle:
- certmanager
k8s/au/syd1:
- puppet_certmanager
+2
View File
@@ -17,3 +17,5 @@ rules:
auth:
approle:
- certmanager
k8s/au/syd1:
- puppet_certmanager
+2
View File
@@ -9,3 +9,5 @@ rules:
auth:
approle:
- sshsigner
k8s/au/syd1:
- puppet_sshsigner
+2
View File
@@ -9,3 +9,5 @@ rules:
auth:
approle:
- sshsigner
k8s/au/syd1:
- puppet_sshsigner