-
Notifications
You must be signed in to change notification settings - Fork 184
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
rbd: Allow user to disable key rotation #2817
rbd: Allow user to disable key rotation #2817
Conversation
e1b9a4c
to
59c091c
Compare
59c091c
to
288a026
Compare
288a026
to
cde359c
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.
I think we dont have code that updates the storageclass, can you please check/test what happens if we add/remove the annotation?
cde359c
to
1485170
Compare
Right. I have updated the PR to recreate the storage class in cases where the existing StorageClass does not have the annotation present. |
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.
LGTM
576727f
to
a08a279
Compare
a08a279
to
0605696
Compare
0605696
to
0c7c5ad
Compare
fd36a22
to
220f333
Compare
/assign @iamniting |
This patch allows user to disable automatic key rotation by annotating StorageCluster with `keyrotation.csiaddons.openshift.io/enable=false` Signed-off-by: Niraj Yadav <[email protected]>
220f333
to
b8a742e
Compare
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: black-dragon74, iamniting, Madhu-1 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@black-dragon74 Have you tested it? If not pls add a hold on the PR and test it before it gets merged. |
I tested an older version of this PR. The core implementation did not change. I am putting a hold, will cancel it once I test it out. /hold |
Thanks |
Tested with the latest set of changes. Everything is working as expected. /hold cancel |
a568b2a
into
red-hat-storage:main
This patch allows user to disable automatic
key rotation by annotating StorageCluster
with
keyrotation.csiaddons.openshift.io/enable=false