apiVersion: v1
kind: ConfigMap
metadata:
  name: openbao-csi-provider-agent-config
  namespace: openbao
  labels:
    helm.sh/chart: openbao-0.28.3
    app.kubernetes.io/name: openbao-csi-provider
    app.kubernetes.io/instance: openbao
    app.kubernetes.io/managed-by: Helm
data:
  config.hcl: |
    vault {
        "address" = "http://openbao.openbao.svc:8200"
    }

    cache {}

    listener "unix" {
        address = "/var/run/vault/agent.sock"
        tls_disable = true
    }
