mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-17 20:00:23 +00:00
82557e3f34
It seems that the version of the key/value engine can not always be detected for Hashicorp Vault. In certain cases, it is required to configure the `VAULT_BACKEND` (or `vaultBackend`) option so that a successful connection to the service can be made. The `kv-v2` is the current default for development deployments of Hashicorp Vault (what we use for automated testing). Production deployments default to version 1 for now. Signed-off-by: Niels de Vos <ndevos@redhat.com>
25 lines
573 B
YAML
25 lines
573 B
YAML
---
|
|
#
|
|
# The ServiceAccount "ceph-csi-vault-sa" should be created in the Namespace of
|
|
# the tenant that will be creating encrypted PVCs with a "vaulttenantsa" KMS
|
|
# provider.
|
|
#
|
|
apiVersion: v1
|
|
kind: ServiceAccount
|
|
metadata:
|
|
name: ceph-csi-vault-sa
|
|
---
|
|
#
|
|
# Each tenant most likely has their own VAULT_BACKEND_PATH or other
|
|
# configuration options. In this example, the tenant has its own key-value
|
|
# store at "tenant".
|
|
#
|
|
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: ceph-csi-kms-config
|
|
data:
|
|
vaultBackend: kv-v2
|
|
vaultBackendPath: tenant
|
|
vaultRole: ceph-csi-tenant
|