-
Notifications
You must be signed in to change notification settings - Fork 547
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
helm: Optionally set userID and userKey in cephfs chart. #4801
Conversation
6a96833
to
89861ad
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
small nit
charts/ceph-csi-cephfs/values.yaml
Outdated
@@ -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 provisioner. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# User credentials are required for the static provisioner. | |
# User credentials are required for the static provisioned PVC. |
can you please update the same above?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, I fixed this occurrence and the two others in the chart README.
Please check commitlint failure as well. |
89861ad
to
e407895
Compare
@Mergifyio queue |
🛑 The pull request has been removed from the queue
|
@Mergifyio rebase |
According to ceph#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>
✅ Branch has been successfully rebased |
@Mergifyio queue |
✅ The pull request has been merged automaticallyThe pull request has been merged automatically at 3fbe7a8 |
/test ci/centos/upgrade-tests-cephfs |
/test ci/centos/upgrade-tests-rbd |
/test ci/centos/k8s-e2e-external-storage/1.30 |
/test ci/centos/mini-e2e-helm/k8s-1.30 |
/test ci/centos/k8s-e2e-external-storage/1.31 |
/test ci/centos/mini-e2e/k8s-1.30 |
/test ci/centos/mini-e2e-helm/k8s-1.31 |
/test ci/centos/k8s-e2e-external-storage/1.29 |
/test ci/centos/mini-e2e/k8s-1.31 |
/test ci/centos/mini-e2e-helm/k8s-1.29 |
/test ci/centos/mini-e2e/k8s-1.29 |
The cephfs static provisioner expect userID and userKey in the credential secret. This PR adds these values to the helm chart so that they are only included in the templated yaml if the values are non-empty.
Describe what this PR does
This PR adds userID and userKey to the cephfs provisioner helm chart. These credentials are required for static provisioning. The userID and userKey are optional values in values.yaml. If they are not provided, they are excluded from the secret.
Is the change backward compatible? Yes
Are there concerns around backward compatibility? No
Related issues
#4467
Future concerns
None
Checklist:
guidelines in the developer
guide.
Request
notes
updated with breaking and/or notable changes for the next major release.
Show available bot commands
These commands are normally not required, but in case of issues, leave any of
the following bot commands in an otherwise empty comment in this PR:
/retest ci/centos/<job-name>
: retest the<job-name>
after unrelatedfailure (please report the failure too!)