helm: optionally set userID and userKey in cephfs chart

According to https://github.com/ceph/ceph-csi/issues/4467 the cephfs
static provisioner expect userID and userKey in the credential secret.
Add these values to the helm chart so that they are only included in the
templated yaml if the values are non-empty.

Signed-off-by: james-choncholas <jim@choncholas.com>
This commit is contained in:
james-choncholas
2024-08-25 18:17:45 -04:00
committed by mergify[bot]
parent 689498e66a
commit 3fbe7a8c77
3 changed files with 12 additions and 1 deletions

View File

@ -331,6 +331,9 @@ secret:
# specified in the storage class
adminID: <plaintext ID>
adminKey: <Ceph auth key corresponding to ID above>
# User credentials are required for the static provisioned PVC.
userID: ""
userKey: ""
# This is a sample configmap that helps define a Ceph configuration as required
# by the CSI plugins.