From 90b765d7134288f0ccb388bfda4806c331ac1454 Mon Sep 17 00:00:00 2001 From: Ben Vincent Date: Sun, 15 Feb 2026 13:01:06 +1100 Subject: [PATCH] feat: add identity secrets - add kubernetes auth role for identity namespace - add policy to access openldap bootstrap credentials --- config/auth_kubernetes_role/k8s/au/syd1/identity.yaml | 6 ++++++ .../kv/service/openldap/ldap_admin_password/read.yaml | 10 ++++++++++ 2 files changed, 16 insertions(+) create mode 100644 config/auth_kubernetes_role/k8s/au/syd1/identity.yaml create mode 100644 policies/kv/service/openldap/ldap_admin_password/read.yaml diff --git a/config/auth_kubernetes_role/k8s/au/syd1/identity.yaml b/config/auth_kubernetes_role/k8s/au/syd1/identity.yaml new file mode 100644 index 0000000..87cef5c --- /dev/null +++ b/config/auth_kubernetes_role/k8s/au/syd1/identity.yaml @@ -0,0 +1,6 @@ +bound_service_account_names: + - default +bound_service_account_namespaces: + - identity +token_ttl: 60 +audience: vault diff --git a/policies/kv/service/openldap/ldap_admin_password/read.yaml b/policies/kv/service/openldap/ldap_admin_password/read.yaml new file mode 100644 index 0000000..ac90f6d --- /dev/null +++ b/policies/kv/service/openldap/ldap_admin_password/read.yaml @@ -0,0 +1,10 @@ +# Allow reading Radarr configuration +--- +rules: + - path: "kv/data/service/openldap/ldap_admin_password" + capabilities: + - read + +auth: + k8s/au/syd1: + - identity -- 2.47.3