activity-core/k8s/railiance/15-externalsecret-backup-offsite.yaml
tegwick b690ce03fa Retire static OpenBao ESO token bootstrap (RPF-WP-0045-T06)
The openbao-activity-core store has used OpenBao Kubernetes auth since
2026-09-21 and synced cleanly for more than 24 hours. Remove the
openbao-eso-token-apply script and Makefile target, point the manifest
comments and runbooks at the Kubernetes-auth store, and guard against
reintroducing the script.

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

Assistant: claude-code
Assistant-Model: opus
Assistant-Process: 151606@bnt-lap001
Assistant-Session: 3c0a4ad5-bb8b-4bf7-b9f0-fa5f29204e48
2026-09-23 17:47:11 +02:00

42 lines
1.4 KiB
YAML

# Sync Option A offsite backup credentials into actcore-runtime-secret.
#
# Prereqs on railiance01:
# - ClusterSecretStore openbao-activity-core (railiance-platform addon; OpenBao
# Kubernetes auth via ServiceAccount activity-core/activity-core-eso since
# RPF-WP-0045, 2026-09-21 — no static ESO token)
# - Store role policy includes workload-kv-read-railiance-backup-offsite-lane
#
# OpenBao path: platform/workloads/railiance/backup/offsite-lane
# Fields synced (never AGE_PRIVATE_KEY):
# NC_WEBDAV_TOKEN, NC_WEBDAV_URL
# AGE_PUBLIC_KEY is not secret material; injected via ConfigMap/env default in CLI.
#
# Catalog: warden route show railiance-backup-offsite-lane
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: actcore-backup-offsite
namespace: activity-core
labels:
app.kubernetes.io/name: activity-core
app.kubernetes.io/part-of: activity-core
annotations:
argocd.argoproj.io/sync-wave: "0"
spec:
refreshInterval: 1h
secretStoreRef:
kind: ClusterSecretStore
name: openbao-activity-core
target:
name: actcore-runtime-secret
creationPolicy: Merge
deletionPolicy: Retain
data:
- secretKey: NC_WEBDAV_TOKEN
remoteRef:
key: platform/workloads/railiance/backup/offsite-lane
property: NC_WEBDAV_TOKEN
- secretKey: NC_WEBDAV_URL
remoteRef:
key: platform/workloads/railiance/backup/offsite-lane
property: NC_WEBDAV_URL