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
// +openshift:validation:FeatureGateAwareXValidation:featureGate=OnPremDNSRecords,rule="!has(self.dnsRecordsType) || self.dnsRecordsType == 'Internal' || (has(self.loadBalancer) && self.loadBalancer.type == 'UserManaged')",message="dnsRecordsType may only be set to External when loadBalancer.type is UserManaged"
1025
1037
typeBareMetalPlatformStatusstruct {
1026
1038
// apiServerInternalIP is an IP address to contact the Kubernetes API server that can be used
1027
1039
// by components inside the cluster, like kubelets using the infrastructure rather
@@ -1074,6 +1086,22 @@ type BareMetalPlatformStatus struct {
// machineNetworks are IP networks used to connect all the OpenShift cluster nodes.
1078
1106
// +listType=atomic
1079
1107
// +kubebuilder:validation:MaxItems=32
@@ -1150,6 +1178,7 @@ type OpenStackPlatformSpec struct {
1150
1178
}
1151
1179
1152
1180
// OpenStackPlatformStatus holds the current status of the OpenStack infrastructure provider.
1181
+
// +openshift:validation:FeatureGateAwareXValidation:featureGate=OnPremDNSRecords,rule="!has(self.dnsRecordsType) || self.dnsRecordsType == 'Internal' || (has(self.loadBalancer) && self.loadBalancer.type == 'UserManaged')",message="dnsRecordsType may only be set to External when loadBalancer.type is UserManaged"
1153
1182
typeOpenStackPlatformStatusstruct {
1154
1183
// apiServerInternalIP is an IP address to contact the Kubernetes API server that can be used
1155
1184
// by components inside the cluster, like kubelets using the infrastructure rather
@@ -1206,6 +1235,22 @@ type OpenStackPlatformStatus struct {
// machineNetworks are IP networks used to connect all the OpenShift cluster nodes.
1210
1255
// +listType=atomic
1211
1256
// +kubebuilder:validation:MaxItems=32
@@ -1240,6 +1285,7 @@ type OvirtPlatformLoadBalancer struct {
1240
1285
typeOvirtPlatformSpecstruct{}
1241
1286
1242
1287
// OvirtPlatformStatus holds the current status of the oVirt infrastructure provider.
1288
+
// +openshift:validation:FeatureGateAwareXValidation:featureGate=OnPremDNSRecords,rule="!has(self.dnsRecordsType) || self.dnsRecordsType == 'Internal' || (has(self.loadBalancer) && self.loadBalancer.type == 'UserManaged')",message="dnsRecordsType may only be set to External when loadBalancer.type is UserManaged"
1243
1289
typeOvirtPlatformStatusstruct {
1244
1290
// apiServerInternalIP is an IP address to contact the Kubernetes API server that can be used
1245
1291
// by components inside the cluster, like kubelets using the infrastructure rather
@@ -1286,6 +1332,22 @@ type OvirtPlatformStatus struct {
// VSpherePlatformLoadBalancer defines the load balancer used by the cluster on VSphere platform.
@@ -1683,6 +1745,7 @@ type VSpherePlatformSpec struct {
1683
1745
}
1684
1746
1685
1747
// VSpherePlatformStatus holds the current status of the vSphere infrastructure provider.
1748
+
// +openshift:validation:FeatureGateAwareXValidation:featureGate=OnPremDNSRecords,rule="!has(self.dnsRecordsType) || self.dnsRecordsType == 'Internal' || (has(self.loadBalancer) && self.loadBalancer.type == 'UserManaged')",message="dnsRecordsType may only be set to External when loadBalancer.type is UserManaged"
1686
1749
typeVSpherePlatformStatusstruct {
1687
1750
// apiServerInternalIP is an IP address to contact the Kubernetes API server that can be used
1688
1751
// by components inside the cluster, like kubelets using the infrastructure rather
@@ -1735,6 +1798,22 @@ type VSpherePlatformStatus struct {
// machineNetworks are IP networks used to connect all the OpenShift cluster nodes.
1739
1818
// +listType=atomic
1740
1819
// +kubebuilder:validation:MaxItems=32
@@ -2108,6 +2187,7 @@ type NutanixPrismElementEndpoint struct {
2108
2187
}
2109
2188
2110
2189
// NutanixPlatformStatus holds the current status of the Nutanix infrastructure provider.
2190
+
// +openshift:validation:FeatureGateAwareXValidation:featureGate=OnPremDNSRecords,rule="!has(self.dnsRecordsType) || self.dnsRecordsType == 'Internal' || (has(self.loadBalancer) && self.loadBalancer.type == 'UserManaged')",message="dnsRecordsType may only be set to External when loadBalancer.type is UserManaged"
2111
2191
typeNutanixPlatformStatusstruct {
2112
2192
// apiServerInternalIP is an IP address to contact the Kubernetes API server that can be used
2113
2193
// by components inside the cluster, like kubelets using the infrastructure rather
@@ -2151,6 +2231,22 @@ type NutanixPlatformStatus struct {
0 commit comments