2020-01-29 11:44:45 +00:00
|
|
|
---
|
|
|
|
apiVersion: v1
|
|
|
|
kind: ConfigMap
|
|
|
|
data:
|
|
|
|
config.json: |-
|
2020-02-06 16:23:14 +00:00
|
|
|
{
|
|
|
|
"vault-test": {
|
|
|
|
"encryptionKMSType": "vault",
|
2020-01-29 11:44:45 +00:00
|
|
|
"vaultAddress": "http://vault.default.svc.cluster.local:8200",
|
|
|
|
"vaultAuthPath": "/v1/auth/kubernetes/login",
|
|
|
|
"vaultRole": "csi-kubernetes",
|
2021-07-20 09:18:58 +00:00
|
|
|
"vaultBackend": "kv-v2",
|
2020-01-29 11:44:45 +00:00
|
|
|
"vaultPassphraseRoot": "/v1/secret",
|
|
|
|
"vaultPassphrasePath": "ceph-csi/",
|
2020-02-06 16:23:14 +00:00
|
|
|
"vaultCAVerify": "false"
|
2020-12-09 16:10:43 +00:00
|
|
|
},
|
|
|
|
"vault-tokens-test": {
|
|
|
|
"encryptionKMSType": "vaulttokens",
|
|
|
|
"vaultAddress": "http://vault.default.svc.cluster.local:8200",
|
2021-07-20 09:18:58 +00:00
|
|
|
"vaultBackend": "kv-v2",
|
2020-12-09 16:10:43 +00:00
|
|
|
"vaultBackendPath": "secret/",
|
|
|
|
"vaultTLSServerName": "vault.default.svc.cluster.local",
|
|
|
|
"vaultCAVerify": "false",
|
|
|
|
"tenantConfigName": "ceph-csi-kms-config",
|
|
|
|
"tenantTokenName": "ceph-csi-kms-token",
|
|
|
|
"tenants": {
|
|
|
|
"my-app": {
|
|
|
|
"vaultAddress": "https://vault.example.com",
|
|
|
|
"vaultCAVerify": "true"
|
|
|
|
},
|
|
|
|
"an-other-app": {
|
|
|
|
"tenantTokenName": "storage-encryption-token"
|
|
|
|
}
|
|
|
|
}
|
2021-03-04 09:23:53 +00:00
|
|
|
},
|
|
|
|
"secrets-metadata-test": {
|
|
|
|
"encryptionKMSType": "metadata"
|
|
|
|
}
|
2020-02-06 16:23:14 +00:00
|
|
|
}
|
2020-01-29 11:44:45 +00:00
|
|
|
metadata:
|
|
|
|
name: ceph-csi-encryption-kms-config
|