✨ Move spec.allowAllInClusterTraffic to spec.ManagedSecurityGroups#1892
✨ Move spec.allowAllInClusterTraffic to spec.ManagedSecurityGroups#1892k8s-ci-robot merged 1 commit intokubernetes-sigs:mainfrom
spec.allowAllInClusterTraffic to spec.ManagedSecurityGroups#1892Conversation
✅ Deploy Preview for kubernetes-sigs-cluster-api-openstack ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
spec.allowAllInClusterTraffic to spec.ManagedSecurityGroups`
spec.allowAllInClusterTraffic to spec.ManagedSecurityGroups`spec.allowAllInClusterTraffic to spec.ManagedSecurityGroups
|
We need #1826 to merge first. |
|
/lgtm |
|
/lgtm |
|
/hold cancel |
| } | ||
|
|
||
| if openStackCluster.Spec.AllowAllInClusterTraffic { | ||
| if openStackCluster.Spec.ManagedSecurityGroups != nil && openStackCluster.Spec.ManagedSecurityGroups.AllowAllInClusterTraffic { |
There was a problem hiding this comment.
It seems odd that we'd be in this function if ManagedSecurityGroups was nil. Also we checked it explicitly at the top of the function.
Still, belt and braces is no bad thing when dereferencing a pointer.
There was a problem hiding this comment.
yeah I thought the same but i'm trying to avoid pointer errors later.
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: EmilienM, mdbooth The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/lgtm |
What this PR does / why we need it:
Move
OpenStackCluster.Spec.AllowAllInClusterTrafficunderOpenStackCluster.Spec.ManagedSecurityGroups.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 #1878
TODOs: