You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This change removes the Feature gate SetEIPForNLBIngressController from
the API.
The FG is not used anymore by cluster-ingress-operator and is not required
to be part of the code anymore.
Additionally, the FG has been enabled by default since 4.18 and can be safely
removed
Copy file name to clipboardExpand all lines: operator/v1/tests/ingresscontrollers.operator.openshift.io/AAA_ungated.yaml
+1-2Lines changed: 1 addition & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,6 @@
1
1
apiVersion: apiextensions.k8s.io/v1 # Hack because controller-gen complains if we don't have this
2
2
name: "IngressController"
3
3
crdName: ingresscontrollers.operator.openshift.io
4
-
featureGates:
5
-
- SetEIPForNLBIngressController
6
4
tests:
7
5
onCreate:
8
6
- name: Should be able to create a minimal IngressController
@@ -565,3 +563,4 @@ tests:
565
563
tuningOptions:
566
564
connectTimeout: "4 s"
567
565
expectedError: "IngressController.operator.openshift.io \"default\" is invalid: spec.tuningOptions.connectTimeout: Invalid value: \"4 s\": spec.tuningOptions.connectTimeout in body should match '^(0|([0-9]+(\\.[0-9]+)?(ns|us|µs|μs|ms|s|m|h))+)$'"
Copy file name to clipboardExpand all lines: operator/v1/tests/ingresscontrollers.operator.openshift.io/SetEIPForNLBIngressController+IngressControllerLBSubnetsAWS.yaml
-2Lines changed: 0 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,6 @@
1
1
apiVersion: apiextensions.k8s.io/v1 # Hack because controller-gen complains if we don't have this
2
2
name: "IngressController"
3
3
crdName: ingresscontrollers.operator.openshift.io
4
-
featureGates:
5
-
- SetEIPForNLBIngressController
6
4
tests:
7
5
onCreate:
8
6
- name: Should be able to create a minimal IngressController
// +openshift:validation:FeatureGateAwareXValidation:requiredFeatureGate=SetEIPForNLBIngressController,rule=`has(self.subnets) && has(self.subnets.ids) && has(self.subnets.names) && has(self.eipAllocations) ? size(self.subnets.ids + self.subnets.names) == size(self.eipAllocations) : true`,message="number of subnets must be equal to number of eipAllocations"
806
-
// +openshift:validation:FeatureGateAwareXValidation:requiredFeatureGate=SetEIPForNLBIngressController,rule=`has(self.subnets) && has(self.subnets.ids) && !has(self.subnets.names) && has(self.eipAllocations) ? size(self.subnets.ids) == size(self.eipAllocations) : true`,message="number of subnets must be equal to number of eipAllocations"
807
-
// +openshift:validation:FeatureGateAwareXValidation:requiredFeatureGate=SetEIPForNLBIngressController,rule=`has(self.subnets) && has(self.subnets.names) && !has(self.subnets.ids) && has(self.eipAllocations) ? size(self.subnets.names) == size(self.eipAllocations) : true`,message="number of subnets must be equal to number of eipAllocations"
805
+
// +kubebuilder:validation:XValidation:rule=`has(self.subnets) && has(self.subnets.ids) && has(self.subnets.names) && has(self.eipAllocations) ? size(self.subnets.ids + self.subnets.names) == size(self.eipAllocations) : true`,message="number of subnets must be equal to number of eipAllocations"
806
+
// +kubebuilder:validation:XValidation:rule=`has(self.subnets) && has(self.subnets.ids) && !has(self.subnets.names) && has(self.eipAllocations) ? size(self.subnets.ids) == size(self.eipAllocations) : true`,message="number of subnets must be equal to number of eipAllocations"
807
+
// +kubebuilder:validation:XValidation:rule=`has(self.subnets) && has(self.subnets.names) && !has(self.subnets.ids) && has(self.eipAllocations) ? size(self.subnets.names) == size(self.eipAllocations) : true`,message="number of subnets must be equal to number of eipAllocations"
808
808
typeAWSNetworkLoadBalancerParametersstruct {
809
809
// subnets specifies the subnets to which the load balancer will
810
810
// attach. The subnets may be specified by either their
@@ -835,7 +835,6 @@ type AWSNetworkLoadBalancerParameters struct {
835
835
// See https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html for general
836
836
// information about configuration, characteristics, and limitations of Elastic IP addresses.
0 commit comments