-
Notifications
You must be signed in to change notification settings - Fork 92
cleanup: remove deprecated ClusterResourceSet feature gate references #2544
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
base: main
Are you sure you want to change the base?
cleanup: remove deprecated ClusterResourceSet feature gate references #2544
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: aman4433 The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
✅ Deploy Preview for kubernetes-sigs-cluster-api-ibmcloud ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
| # Set common variables | ||
| export DOCKER_BUILDKIT=1 | ||
| export PROVIDER_ID_FORMAT=v2 | ||
| export EXP_CLUSTER_RESOURCE_SET=true |
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.
@aman4433, it would be good to test a cluster creation with this change to be sure it works fine without any issues for the infra providers.
|
I have tested my pr locally Steps taken:
Result: |
|
/test pull-cluster-api-provider-ibmcloud-verify |
|
Can you explain this step, How did you do or what command did you use? |
Since this PR only removes the deprecated flag from documentation and CI scripts (and does not modify the Go code or manager binary), I did not build a custom image. I used I confirmed that even without exporting this flag locally, the |
|
Got your point, But did you check with earlier CAPIBM/CAPI release version where when you try to create without exporting the variable , will it fail |
What this PR does / why we need it: Upstream Cluster API (CAPI) has permanently enabled the ClusterResourceSet feature and removed the associated feature gate in PR kubernetes-sigs/cluster-api#12950.
This PR cleans up our repository to align with this upstream change by removing "dead code" references:
scripts/ci-e2e.sh: Removed the unused exportEXP_CLUSTER_RESOURCE_SET=true.docs/book/src/developer/tilt.md: Removed instructions to set the feature gate in Tilt.templates/README.md&creating-a-cluster.md: Removed notes instructing users to manually enable this feature.Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)format, will close the issue(s) when PR gets merged):Fixes #
Special notes for your reviewer: I performed an impact analysis to ensure no breaking changes were introduced:
grep -r "feature.ClusterResourceSet" .returned 0 results.--feature-gates=ClusterResourceSet=trueflag to the manager binary.grep -r "feature-gates" .confirmed the flag is not currently in use./area provider/ibmcloud
Release note: