Skip to content

Commit 1f31002

Browse files
fad3talam0rt
authored andcommitted
✨ Add support for additionalControlPlaneIngressRule on AWSManaged… (kubernetes-sigs#4783)
* feat: add support for additionalControlPlaneIngressRule on AWSManagedControlPlane * refactor: simplify ingressrules
1 parent 57b9888 commit 1f31002

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

pkg/cloud/scope/managedcontrolplane.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -498,11 +498,6 @@ func (s *ManagedControlPlaneScope) AdditionalControlPlaneIngressRules() []infrav
498498
return s.ControlPlane.Spec.NetworkSpec.DeepCopy().AdditionalControlPlaneIngressRules
499499
}
500500

501-
// AdditionalNodeIngressRules returns the additional ingress rules for the node security group.
502-
func (s *ManagedControlPlaneScope) AdditionalNodeIngressRules() []infrav1.IngressRule {
503-
return s.ControlPlane.Spec.NetworkSpec.DeepCopy().AdditionalNodeIngressRules
504-
}
505-
506501
// UnstructuredControlPlane returns the unstructured object for the control plane, if any.
507502
// When the reference is not set, it returns an empty object.
508503
func (s *ManagedControlPlaneScope) UnstructuredControlPlane() (*unstructured.Unstructured, error) {

0 commit comments

Comments
 (0)