apiVersion: external-secrets.io/v1
kind: ClusterSecretStore
metadata:
  name: openbao
  namespace: external-secrets
  labels:
    app.kubernetes.io/name: openbao
    app.kubernetes.io/instance: external-secrets
    app.kubernetes.io/part-of: external-secrets
spec:
  provider:
    vault:
      server: http://openbao-internal.openbao:8200
      path: secret
      version: v2
      auth:
        kubernetes:
          mountPath: kubernetes
          role: external-secrets
          serviceAccountRef:
            name: external-secrets
            namespace: external-secrets
            audiences:
              - openbao
