cleanup: deprecate the setmetadata flag#6225
Conversation
e40c136 to
74828d4
Compare
|
/test ci/centos/mini-e2e/k8s-1.35 |
74828d4 to
ac637b9
Compare
|
/test ci/centos/mini-e2e/k8s-1.35 |
|
Has the flag been removed from ceph-csi-operator too already? |
Not yet, will be removed after we remove from ceph-csi right? |
If we remove it, ceph-csi-operator deployments will still have the parameter and the containers will fail to start. We need the change in ceph-csi-operator first, otherwise our e2e will fail (k8s-external-storage deploys with ceph-csi-operator). |
|
@iPraveenParihar i think we should not remove it rather add a log stating that setting the field will have no effect so that we dont break any clusters |
Okay, we can remove the flag in two-phases?
|
yes that would be good plan |
ac637b9 to
e989738
Compare
|
This pull request now has conflicts with the target branch. Could you please resolve conflicts and force push the corrected changes? 🙏 |
a302d93 to
776ad3e
Compare
|
/test ci/centos/mini-e2e/k8s-1.35 |
✅ Branch has been successfully rebased |
|
Use |
|
@Mergifyio rebase |
Remove the SetMetadata/EnableMetadata fields and conditional checks from the RBD driver. Metadata is now always set on volumes. Signed-off-by: Praveen M <m.praveen@ibm.com>
Remove the SetMetadata/enableMetadata fields, parameters, and conditional checks from the CephFS driver, core, and store packages. Metadata is now always set on volumes. Signed-off-by: Praveen M <m.praveen@ibm.com>
The `--setmetadata` flag has been enabled by default and metadata is always set on volumes. deprecate the flag, its Config struct field, and all related from the core configuration. Signed-off-by: Praveen M <m.praveen@ibm.com>
Mark the `--setmetadata` flag as deprecated in the RBD and CephFS deployment documentation tables. Signed-off-by: Praveen M <m.praveen@ibm.com>
The `setmetadata` flag has been deprecated as metadata is now always set on images and subvolumes. Remove the `setEnableMetadata` methods and the test that verified behavior. Signed-off-by: Praveen M <m.praveen@ibm.com>
Signed-off-by: Praveen M <m.praveen@ibm.com>
82aa312 to
ebc6b88
Compare
✅ Branch has been successfully rebased |
|
/test ci/centos/k8s-e2e-external-storage/1.34 |
|
/test ci/centos/k8s-e2e-external-storage/1.35 |
|
/test ci/centos/upgrade-tests-cephfs |
|
/test ci/centos/mini-e2e-helm/k8s-1.34 |
|
/test ci/centos/mini-e2e-helm/k8s-1.35 |
|
/test ci/centos/upgrade-tests-rbd |
|
/test ci/centos/mini-e2e/k8s-1.34 |
|
/test ci/centos/mini-e2e/k8s-1.35 |
|
/test ci/centos/k8s-e2e-external-storage/1.33 |
|
/test ci/centos/mini-e2e-helm/k8s-1.33 |
|
/test ci/centos/mini-e2e/k8s-1.33 |
|
Deprecation notice: This pull request comes from a fork and was queued with |
Merge Queue Status
This pull request spent 12 seconds in the queue, including 2 seconds running CI. Required conditions to merge
|
Describe what this PR does
Fixes: #5433
Checklist:
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!)