ceph-csi/internal/util
Niels de Vos d941e5abac util: make parseTenantConfig() usable for modular KMSs
parseTenantConfig() only allowed configuring a defined set of options,
and KMSs were not able to re-use the implementation. Now, the function
parses the ConfigMap from the Tenants Namespace and returns a map with
options that the KMS supports.

The map that parseTenantConfig() returns can be inspected by the KMS,
and applied to the vaultTenantConnection type by calling parseConfig().

Signed-off-by: Niels de Vos <ndevos@redhat.com>
2021-07-13 17:16:35 +00:00
..
aws_metadata_test.go cleanup: addresses paralleltest linter 2021-06-25 11:55:12 +00:00
aws_metadata.go cleanup: resolve godot linter 2021-07-13 06:50:03 +00:00
cephcmds.go util: returns actual error instead of ErrPoolNotFound 2021-06-14 14:41:32 +00:00
cephconf.go cleanup: resolve godot linter 2021-07-13 06:50:03 +00:00
conn_pool_test.go cleanup: resolve parallel test issue 2021-07-13 11:31:39 +00:00
conn_pool.go cleanup: address ifshort linter issues 2021-05-26 07:04:32 +00:00
connection.go cleanup: resolve godot linter 2021-07-13 06:50:03 +00:00
credentials.go cleanup: return error type in util.storeKey() 2020-12-09 08:35:35 +00:00
crypto_test.go cleanup: addresses paralleltest linter 2021-06-25 11:55:12 +00:00
crypto.go cleanup: resolve godot linter 2021-07-13 06:50:03 +00:00
cryptsetup.go internal: reformat long lines in internal/util package to 120 chars 2021-06-28 14:43:49 +00:00
csiconfig_test.go cleanup: addresses paralleltest linter 2021-06-25 11:55:12 +00:00
csiconfig.go cleanup: resolve godot linter 2021-07-13 06:50:03 +00:00
errors_test.go cleanup: addresses paralleltest linter 2021-06-25 11:55:12 +00:00
errors.go cleanup: fix mispell words 2020-11-29 12:47:46 +05:30
httpserver.go util: enable golang profiling 2021-05-25 10:41:22 +00:00
idlocker_test.go cleanup: addresses paralleltest linter 2021-06-25 11:55:12 +00:00
idlocker.go cleanup: resolve godot linter 2021-07-13 06:50:03 +00:00
k8s.go util: rename FatalLog to FatalLogMsg for parity 2020-08-13 09:44:12 +00:00
kms_test.go cleanup: addresses paralleltest linter 2021-06-25 11:55:12 +00:00
kms.go cleanup: resolve godot linter 2021-07-13 06:50:03 +00:00
log.go util: remove unwanted import string from module dependencies 2021-03-24 15:12:13 +00:00
pidlimit_test.go cleanup: addresses paralleltest linter 2021-06-25 11:55:12 +00:00
pidlimit.go cleanup: address godot warnings 2020-07-21 08:36:24 +00:00
secretskms_test.go cleanup: addresses paralleltest linter 2021-06-25 11:55:12 +00:00
secretskms.go cleanup: resolve godot linter 2021-07-13 06:50:03 +00:00
stripsecrets.go cleanup: move pkg/ to internal/ 2020-04-23 11:00:59 +00:00
topology_test.go cleanup: Adds t.Helper() to test helper function 2021-07-12 11:25:55 +00:00
topology.go internal: reformat long lines in internal/util package to 120 chars 2021-06-28 14:43:49 +00:00
util_test.go util: more generic kernel version parsing 2021-07-09 07:36:27 +00:00
util.go cleanup: resolve godot linter 2021-07-13 06:50:03 +00:00
validate.go internal: reformat long lines in internal/util package to 120 chars 2021-06-28 14:43:49 +00:00
vault_sa_test.go util: VaultTenantSA KMS implementation 2021-07-13 17:16:35 +00:00
vault_sa.go util: make parseTenantConfig() usable for modular KMSs 2021-07-13 17:16:35 +00:00
vault_test.go cleanup: addresses paralleltest linter 2021-06-25 11:55:12 +00:00
vault_tokens_test.go util: split vaultTenantConnection from VaultTokensKMS 2021-07-13 17:16:35 +00:00
vault_tokens.go util: make parseTenantConfig() usable for modular KMSs 2021-07-13 17:16:35 +00:00
vault.go cleanup: resolve godot linter 2021-07-13 06:50:03 +00:00
volid_test.go cleanup: addresses paralleltest linter 2021-06-25 11:55:12 +00:00
volid.go cleanup: fix mispell words 2020-11-29 12:47:46 +05:30