RPF-WP-0045: plan Kubernetes-auth migration for openbao-activity-core and openbao-email-connect
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 6s

Declares target store specs, two exact-path policies and two ESO
ServiceAccounts. Nothing applied; live steps wait on the founder.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

Assistant: claude-code
Assistant-Model: opus
Assistant-Process: 63291@bnt-lap001
Assistant-Session: 8bd77868-ca68-4f49-bb1e-d539ecc0d703
This commit is contained in:
codex 2026-09-21 19:18:59 +02:00
parent 2d79c2e4e5
commit 6e399bbe64
6 changed files with 347 additions and 25 deletions

View file

@ -0,0 +1,16 @@
# RPF-WP-0045: dedicated ESO identities for the two stores still on static
# tokens. Not applied by the RPF-WP-0037 helper (it reads serviceaccounts.yaml).
# Apply only in RPF-WP-0045-T03, after the founder's go-ahead.
apiVersion: v1
kind: ServiceAccount
metadata:
name: activity-core-eso
namespace: activity-core
automountServiceAccountToken: false
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: email-connect-eso
namespace: email-connect
automountServiceAccountToken: false

View file

@ -0,0 +1,28 @@
# RPF-WP-0045: ESO delivery for ClusterSecretStore openbao-activity-core via
# Kubernetes auth role activity-core-eso (SA activity-core/activity-core-eso).
# Exactly the four KV paths the four activity-core ExternalSecrets read; data
# read only, no metadata/list/write. ESO also needs lookup-self and revoke-self.
path "platform/data/workloads/activity-core/llm-connect/llm-connect-provider-secrets" {
capabilities = ["read"]
}
path "platform/data/workloads/issue-core/issue-core/issue-core-runtime" {
capabilities = ["read"]
}
path "platform/data/workloads/forgejo/forgejo-admin" {
capabilities = ["read"]
}
path "platform/data/workloads/railiance/backup/offsite-lane" {
capabilities = ["read"]
}
path "auth/token/lookup-self" {
capabilities = ["read"]
}
path "auth/token/revoke-self" {
capabilities = ["update"]
}

View file

@ -0,0 +1,15 @@
# RPF-WP-0045: ESO delivery for ClusterSecretStore openbao-email-connect via
# Kubernetes auth role email-connect-transactional-eso
# (SA email-connect/email-connect-eso). One exact KV data read.
path "platform/data/workloads/email-connect/transactional" {
capabilities = ["read"]
}
path "auth/token/lookup-self" {
capabilities = ["read"]
}
path "auth/token/revoke-self" {
capabilities = ["update"]
}