Skip to content

⚠️ Rename managedSecurityGroups.allNodesSecurityGroupRules#3155

Open
nikParasyr wants to merge 1 commit intokubernetes-sigs:mainfrom
nikParasyr:v1beta2_sg
Open

⚠️ Rename managedSecurityGroups.allNodesSecurityGroupRules#3155
nikParasyr wants to merge 1 commit intokubernetes-sigs:mainfrom
nikParasyr:v1beta2_sg

Conversation

@nikParasyr
Copy link
Copy Markdown
Contributor

What this PR does / why we need it:
Rename spec.managedSecurityGroups.allNodesSecurityGroupRules to spec.managedSecurityGroups.clusterNodesSecurityGroupRules to clarify that these rules apply only to cluster nodes (control plane and workers), and not to other managed resources such as the bastion host.

Which issue(s) this PR fixes:
Fixes #3055

TODOs:

  • squashed commits
  • if necessary:
    • includes documentation
    • adds unit tests

/hold

@k8s-ci-robot k8s-ci-robot added do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Apr 30, 2026
@k8s-ci-robot k8s-ci-robot requested review from EmilienM and mandre April 30, 2026 15:58
@k8s-ci-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign fabriziopandini for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 30, 2026

Deploy Preview for kubernetes-sigs-cluster-api-openstack ready!

Name Link
🔨 Latest commit 5066093
🔍 Latest deploy log https://app.netlify.com/projects/kubernetes-sigs-cluster-api-openstack/deploys/69f45067850a090008d7c80a
😎 Deploy Preview https://deploy-preview-3155--kubernetes-sigs-cluster-api-openstack.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@k8s-ci-robot k8s-ci-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Apr 30, 2026
Rename `spec.managedSecurityGroups.allNodesSecurityGroupRules` to
`spec.managedSecurityGroups.clusterNodesSecurityGroupRules` to
clarify that these rules apply only to cluster nodes (control plane
and workers), and not to other managed resources such as
the bastion host.
@nikParasyr
Copy link
Copy Markdown
Contributor Author

/retest

@nikParasyr
Copy link
Copy Markdown
Contributor Author

/cc @lentzi90 @bnallapeta

Copy link
Copy Markdown
Contributor

@bnallapeta bnallapeta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

allNodesSecurityGroupRules

  • the same rename change has to occur in e2e and docs too.

allErrs = append(allErrs, validateSecurityGroupRulesRemoteMutualExclusion(
msg.AllNodesSecurityGroupRules,
msg.ClusterNodesSecurityGroupRules,
field.NewPath("spec", "managedSecurityGroups", "allNodesSecurityGroupRules"),
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we need to replace ClusterNodesSecurityGroupRules here too?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

Status: Inbox

Development

Successfully merging this pull request may close these issues.

✨ v1beta2: Rename allNodesSecurityGroupRules to indicate that it only applies for control-plane/worker nodes

3 participants