examples: Ceph FS fscrypt / KMS additions

Add encryption configuration to Ceph FS examples

Signed-off-by: Marcel Lauhoff <marcel.lauhoff@suse.com>
This commit is contained in:
Marcel Lauhoff 2022-08-19 16:51:49 +02:00 committed by mergify[bot]
parent 0e66c3211a
commit cd42ad67b2
3 changed files with 15 additions and 1 deletions

View File

@ -12,3 +12,6 @@ stringData:
# Required for dynamically provisioned volumes # Required for dynamically provisioned volumes
adminID: <plaintext ID> adminID: <plaintext ID>
adminKey: <Ceph auth key corresponding to ID above> adminKey: <Ceph auth key corresponding to ID above>
# Encryption passphrase
encryptionPassphrase: test_passphrase

View File

@ -52,6 +52,17 @@ parameters:
# (defaults to `false`) # (defaults to `false`)
# backingSnapshot: "true" # backingSnapshot: "true"
# (optional) Instruct the plugin it has to encrypt the volume
# By default it is disabled. Valid values are "true" or "false".
# A string is expected here, i.e. "true", not true.
# encrypted: "true"
# (optional) Use external key management system for encryption passphrases by
# specifying a unique ID matching KMS ConfigMap. The ID is only used for
# correlation to configmap entry.
# encryptionKMSID: <kms-config-id>
reclaimPolicy: Delete reclaimPolicy: Delete
allowVolumeExpansion: true allowVolumeExpansion: true
mountOptions: mountOptions:

View File

@ -169,7 +169,7 @@ spec:
- name: PLUGIN_ROLE - name: PLUGIN_ROLE
value: csi-kubernetes value: csi-kubernetes
- name: SERVICE_ACCOUNTS - name: SERVICE_ACCOUNTS
value: rbd-csi-nodeplugin,rbd-csi-provisioner,csi-rbdplugin,csi-rbdplugin-provisioner value: rbd-csi-nodeplugin,rbd-csi-provisioner,csi-rbdplugin,csi-rbdplugin-provisioner,cephfs-csi-nodeplugin,cephfs-csi-provisioner,csi-cephfsplugin,csi-cephfsplugin-provisioner
- name: SERVICE_ACCOUNTS_NAMESPACE - name: SERVICE_ACCOUNTS_NAMESPACE
value: default value: default
- name: VAULT_ADDR - name: VAULT_ADDR