# Railiance01-local database-engine store for RPF-WP-0021. The renewable
# orphan parent token is streamed into the referenced Secret by an attended
# platform operation; its value never enters this repository.
apiVersion: external-secrets.io/v1
kind: ClusterSecretStore
metadata:
  name: openbao-core-hub-database
  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: database
      version: v1
      auth:
        tokenSecretRef:
          name: openbao-core-hub-eso-token
          namespace: external-secrets
          key: token
  conditions:
    - namespaces:
        - core-hub
