railiance-platform/openbao/state-hub-preflight/delivery.yaml
codex a46a6d8213
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 1s
Prepare bounded State Hub preflight signing lane
Assistant: codex
Assistant-Model: gpt-6-astra
Assistant-Session: 01a06ecb-456a-71c2-b41e-0755d336e883
2026-09-05 11:50:27 +02:00

45 lines
1.1 KiB
YAML

apiVersion: v1
kind: ServiceAccount
metadata:
name: state-hub-preflight-eso
namespace: state-hub
automountServiceAccountToken: false
---
apiVersion: external-secrets.io/v1
kind: SecretStore
metadata:
name: openbao-state-hub-rename-preflight
namespace: state-hub
spec:
provider:
vault:
server: http://openbao.openbao.svc:8200
path: platform
version: v2
auth:
kubernetes:
mountPath: kubernetes
role: state-hub-rename-preflight-eso
serviceAccountRef:
name: state-hub-preflight-eso
audiences: [openbao]
---
apiVersion: external-secrets.io/v1
kind: ExternalSecret
metadata:
name: state-hub-rename-preflight
namespace: state-hub
spec:
refreshInterval: 1m
secretStoreRef:
name: openbao-state-hub-rename-preflight
kind: SecretStore
target:
name: state-hub-rename-preflight
creationPolicy: Owner
deletionPolicy: Retain
data:
- secretKey: REPOSITORY_RENAME_PREFLIGHT_SECRET
remoteRef:
key: workloads/state-hub/repository-rename-preflight
property: REPOSITORY_RENAME_PREFLIGHT_SECRET