Add option to disable KeyRotation#659
Merged
mergify[bot] merged 2 commits intoNov 4, 2024
Merged
Conversation
Member
Author
TestingUsing RBACsUsing annotationsDisable key rotation❯ oc get encryptionkeyrotationcronjobs
NAME SCHEDULE SUSPEND ACTIVE LASTSCHEDULE AGE
rbd-pvc-1730200402 */22 * * * * 6s
❯ oc annotate sc/rook-ceph-block "keyrotation.csiaddons.openshift.io/enable=false" --overwrite
storageclass.storage.k8s.io/rook-ceph-block annotated
❯ oc get encryptionkeyrotationcronjobs
No resources found in rook-ceph namespace.Logs:Enable key rotation❯ oc annotate sc/rook-ceph-block "keyrotation.csiaddons.openshift.io/enable=true" --overwrite
storageclass.storage.k8s.io/rook-ceph-block annotated
❯ oc get encryptionkeyrotationcronjobs
NAME SCHEDULE SUSPEND ACTIVE LASTSCHEDULE AGE
rbd-pvc-1730200430 */22 * * * * 3Logs: |
Madhu-1
reviewed
Sep 3, 2024
f0e7c46 to
1f38728
Compare
Madhu-1
reviewed
Sep 16, 2024
03c777a to
b457994
Compare
nixpanic
requested changes
Oct 15, 2024
Member
|
Also don't forget to add the new annotation to the documentation! |
726852e to
cd47c4e
Compare
af0d57d to
8323b96
Compare
8323b96 to
b450029
Compare
Member
|
LGTM, @black-dragon74 please add doc for disable option. |
99e723c to
27be7bc
Compare
Member
|
@nixpanic PTAL |
Madhu-1
approved these changes
Nov 4, 2024
Member
|
@Mergifyio rebase |
This commit adds the option to disable the keyrotation by annotating the storageclasses, namespaces or PVCs with:`keyrotation.csiaddons-opneshift.io/enable: false` Signed-off-by: Niraj Yadav <niryadav@redhat.com>
Signed-off-by: Niraj Yadav <niryadav@redhat.com>
✅ Branch has been successfully rebased |
27be7bc to
54fb0a8
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This patch adds the option to disable the keyrotation
by annotating the storageclasses, namespaces or PVCs
with:
keyrotation.csiaddons-opneshift.io/enable: false