CCR-2026-0031: core-hub Forgejo source store and ExternalSecret, applied on railiance01
Server dry-run then apply of only the two new objects. Store Ready=True; ExternalSecret core-hub/repo-manager-forgejo-source Ready=True SecretSynced (status conditions only, no value read). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Assistant: claude-code Assistant-Model: opus Assistant-Process: 3775@bnt-lap001 Assistant-Session: cfacb6a5-ad5b-4f79-ac67-053e3b0d34a3
This commit is contained in:
parent
c9fef91f8c
commit
d3377fa4a7
2 changed files with 52 additions and 0 deletions
|
|
@ -109,3 +109,27 @@ spec:
|
|||
dataFrom:
|
||||
- extract:
|
||||
key: creds/hub-core-migration
|
||||
---
|
||||
# CCR-2026-0031: repo-manager publisher private-source read token.
|
||||
apiVersion: external-secrets.io/v1
|
||||
kind: ExternalSecret
|
||||
metadata:
|
||||
name: repo-manager-forgejo-source
|
||||
namespace: core-hub
|
||||
spec:
|
||||
refreshInterval: 5m
|
||||
secretStoreRef:
|
||||
kind: ClusterSecretStore
|
||||
name: openbao-core-hub-forgejo-source
|
||||
target:
|
||||
# Explicit target metadata prevents ESO copying source last-applied annotations.
|
||||
template:
|
||||
metadata: {}
|
||||
name: repo-manager-forgejo-source
|
||||
creationPolicy: Owner
|
||||
deletionPolicy: Retain
|
||||
data:
|
||||
- secretKey: token
|
||||
remoteRef:
|
||||
key: workloads/core-hub/forgejo-source-read
|
||||
property: FORGEJO_SOURCE_TOKEN
|
||||
|
|
|
|||
|
|
@ -0,0 +1,28 @@
|
|||
# CCR-2026-0031 (approved and bound 2026-10-03; bootstrap evidence in the CCR).
|
||||
# Railiance01-local OpenBao Kubernetes-auth store for the Core Hub repo-manager
|
||||
# publisher's private-source read token. Namespace-limited to core-hub.
|
||||
# Applied on railiance01 with server dry-run first, like openbao-core-hub-runtime.
|
||||
apiVersion: external-secrets.io/v1
|
||||
kind: ClusterSecretStore
|
||||
metadata:
|
||||
name: openbao-core-hub-forgejo-source
|
||||
labels:
|
||||
app.kubernetes.io/part-of: railiance-gitops
|
||||
railiance-platform/component: external-secrets
|
||||
app.kubernetes.io/name: core-hub
|
||||
spec:
|
||||
provider:
|
||||
vault:
|
||||
server: http://openbao.openbao.svc:8200
|
||||
path: platform
|
||||
version: v2
|
||||
auth:
|
||||
kubernetes:
|
||||
mountPath: kubernetes
|
||||
role: external-secrets-core-hub-forgejo-source
|
||||
serviceAccountRef:
|
||||
name: external-secrets
|
||||
namespace: external-secrets
|
||||
conditions:
|
||||
- namespaces:
|
||||
- core-hub
|
||||
Loading…
Add table
Add a link
Reference in a new issue