1 Commits

Author SHA1 Message Date
unkin-agent afbea53d94 Grant the puppet k8s role PKI issue and SSH host signing
ci/woodpecker/pr/plan Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
2026-09-22 22:32:52 +10:00
7 changed files with 25 additions and 88 deletions
@@ -1,6 +0,0 @@
allowed_kubernetes_namespaces:
- "vm-system"
- "observability"
- "logging"
kubernetes_role_type: "Role"
extra_labels: {}
@@ -3,8 +3,6 @@ algorithm_signer: rsa-sha2-256
ttl: 315360000 # 87600 * 3600 ttl: 315360000 # 87600 * 3600
allow_host_certificates: true allow_host_certificates: true
allow_user_certificates: false allow_user_certificates: false
# "*" must be the sole entry: OpenBao only treats allowed_domains as unrestricted allowed_domains: "unkin.net,main.unkin.net,consul"
# when the whole string is "*", and otherwise matches entries exactly or by suffix.
allowed_domains: "*"
allow_subdomains: true allow_subdomains: true
allow_bare_domains: false allow_bare_domains: false
@@ -1,12 +0,0 @@
# Allow access to agent-observability Kubernetes credentials
---
rules:
- path: "kubernetes/au/syd1/creds/agent-observability"
capabilities:
- update
auth:
ldap:
- kubernetes_au_syd1_cluster_operator
approle:
- agents
@@ -10,11 +10,6 @@ rules:
- path: "kv/data/kubernetes/namespace/+/default/oauth-credentials" - path: "kv/data/kubernetes/namespace/+/default/oauth-credentials"
capabilities: capabilities:
- read - read
# Second OIDC client in an already-onboarded namespace, so it cannot use the
# one-per-namespace oauth-credentials path above.
- path: "kv/data/kubernetes/namespace/logging/default/vlogs-oauth-credentials"
capabilities:
- read
auth: auth:
approle: approle:
+12
View File
@@ -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
+12
View File
@@ -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
@@ -1,62 +0,0 @@
---
rules:
# Verbs are listed explicitly rather than "*": delete on a VLCluster reclaims
# its cephrbd-fast-delete PVCs, destroying the log store.
- apiGroups:
- "operator.victoriametrics.com"
resources:
- "*"
verbs:
- "get"
- "list"
- "watch"
- "create"
- "patch"
- "update"
- apiGroups:
- "apps"
resources:
- "deployments"
- "statefulsets"
- "daemonsets"
verbs:
- "get"
- "list"
- "watch"
- "patch"
- "update"
- apiGroups:
- ""
resources:
- "pods"
verbs:
- "get"
- "list"
- "watch"
- "delete"
- apiGroups:
- ""
resources:
- "pods/log"
verbs:
- "get"
- apiGroups:
- ""
resources:
- "services"
- "configmaps"
- "endpoints"
- "events"
verbs:
- "get"
- "list"
- "watch"
- apiGroups:
- "gateway.networking.k8s.io"
resources:
- "gateways"
- "httproutes"
verbs:
- "get"
- "list"
- "watch"