From afbea53d944f93131be1baaae3c8c9e578aa3de9 Mon Sep 17 00:00:00 2001 From: unkin-agent Date: Tue, 22 Sep 2026 22:32:52 +1000 Subject: [PATCH] Grant the puppet k8s role PKI issue and SSH host signing --- policies/pki_int/puppet.yaml | 12 ++++++++++++ policies/sshca/puppet.yaml | 12 ++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 policies/pki_int/puppet.yaml create mode 100644 policies/sshca/puppet.yaml diff --git a/policies/pki_int/puppet.yaml b/policies/pki_int/puppet.yaml new file mode 100644 index 0000000..42ddf76 --- /dev/null +++ b/policies/pki_int/puppet.yaml @@ -0,0 +1,12 @@ +# Allow the puppet catalog compilers to issue host certificates +# via certmanager during catalog compilation +--- +rules: + - path: "pki_int/issue/servers_default" + capabilities: + - create + - update + +auth: + k8s/au/syd1: + - puppet diff --git a/policies/sshca/puppet.yaml b/policies/sshca/puppet.yaml new file mode 100644 index 0000000..d7932ce --- /dev/null +++ b/policies/sshca/puppet.yaml @@ -0,0 +1,12 @@ +# Allow the puppet catalog compilers to sign SSH host certificates +# via sshsignhost during catalog compilation +--- +rules: + - path: "sshca/sign/signhost" + capabilities: + - create + - update + +auth: + k8s/au/syd1: + - puppet