Skip to content

Commit

Permalink
Merge pull request #1494 from k8s-infra-cherrypick-robot/cherry-pick-…
Browse files Browse the repository at this point in the history
…1492-to-release-0.7

[release-0.7] fix: fix typo of worker rules and controller rules
  • Loading branch information
k8s-ci-robot authored Feb 27, 2023
2 parents 8278a85 + cef7a1b commit 152c874
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cloud/services/networking/securitygroups.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ func (s *Service) generateDesiredSecGroups(openStackCluster *infrav1.OpenStackCl

if openStackCluster.Spec.Bastion != nil && openStackCluster.Spec.Bastion.Enabled {
controlPlaneRules = append(controlPlaneRules, GetSGControlPlaneSSH(secBastionGroupID)...)
controlPlaneRules = append(controlPlaneRules, GetSGWorkerSSH(secBastionGroupID)...)
workerRules = append(workerRules, GetSGWorkerSSH(secBastionGroupID)...)

desiredSecGroups[bastionSuffix] = infrav1.SecurityGroup{
Name: secGroupNames[bastionSuffix],
Expand Down

0 comments on commit 152c874

Please sign in to comment.