forked from ceph/ceph-csi
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
util: allow tenants to (re)configure VaultTokens settings
A tenant can place a ConfigMap in their Kubernetes Namespace with configuration options that differ from the global (by the Storage Admin set) values. The ConfigMap needs to be located in the Tenants namespace, as described in the documentation See-also: docs/design/proposals/encryption-with-vault-tokens.md Signed-off-by: Niels de Vos <ndevos@redhat.com>
- Loading branch information
1 parent
81061e9
commit e4b16a5
Showing
2 changed files
with
76 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
# This is an optional (re)configuration of the connection to the Vault | ||
# Service that can be created in a Kubernetes Namespace for a Tenant. | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: ceph-csi-kms-config | ||
data: | ||
vaultAddress: "http://vault.default.svc.cluster.local:8200" | ||
vaultBackendPath: "secret/" | ||
vaultTLSServerName: "vault.default.svc.cluster.local" | ||
vaultCAVerify: "false" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters