ceph-csi/internal
Madhu Rajanna c8f8272d77 rbd: set vaultAuthNamespace to vaultNamespace if empty
When we read the csi-kms-connection-details configmap
vaultAuthNamespace might not be set when we do the
conversion the vaultAuthNamespace might be set to empty
key and this commits check for the empty value of
vaultAuthNamespace and set the vaultAuthNamespace
to vaultNamespace.

setting empty value for vaultAuthNamespace happened due
to Marshalling at https://github.com/ceph/ceph-csi/blob/devel/
internal/kms/vault_tokens.go#L136-L139.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit 8c8f34cf7a)
2021-09-09 08:48:47 +00:00
..
cephfs cephfs: support selinux mount options 2021-08-05 08:37:52 +00:00
controller rbd: refractor RegenerateJournal() to take in volumeAttributes 2021-08-11 09:50:10 +00:00
csi-common cleanup: resolve nlreturn linter issues 2021-07-22 06:05:01 +00:00
journal cleanup: resolve nlreturn linter issues 2021-07-22 06:05:01 +00:00
liveness cleanup: resolve nlreturn linter issues 2021-07-22 06:05:01 +00:00
rbd util: NewK8sClient() should not panic on non-Kubernetes clusters 2021-09-02 16:50:40 +00:00
util rbd: set vaultAuthNamespace to vaultNamespace if empty 2021-09-09 08:48:47 +00:00