From 387147c7f768746027d1b5b27a934a2b21eb755b Mon Sep 17 00:00:00 2001 From: Ben Nemec Date: Tue, 5 Aug 2025 15:55:52 -0500 Subject: [PATCH 01/11] Add dnsRecordsType field This will be used to control the DNS records configured in the on-prem IPI coredns instance. --- config/v1/types_infrastructure.go | 22 + ...1_infrastructures-CustomNoUpgrade.crd.yaml | 16 + ...frastructures-DevPreviewNoUpgrade.crd.yaml | 16 + ...rastructures-TechPreviewNoUpgrade.crd.yaml | 16 + ..._generated.featuregated-crd-manifests.yaml | 1 + .../OnPremDNSRecords.yaml | 2231 +++++++++++++ .../v1/zz_generated.swagger_doc_generated.go | 1 + features.md | 1 + features/features.go | 7 + ...controllerconfigs-CustomNoUpgrade.crd.yaml | 16 + ...rollerconfigs-DevPreviewNoUpgrade.crd.yaml | 16 + ...ollerconfigs-TechPreviewNoUpgrade.crd.yaml | 16 + ..._generated.featuregated-crd-manifests.yaml | 1 + .../OnPremDNSRecords.yaml | 2776 +++++++++++++++++ .../generated_openapi/zz_generated.openapi.go | 7 + openapi/openapi.json | 4 + ...1_infrastructures-CustomNoUpgrade.crd.yaml | 16 + ...frastructures-DevPreviewNoUpgrade.crd.yaml | 16 + ...rastructures-TechPreviewNoUpgrade.crd.yaml | 16 + ...controllerconfigs-CustomNoUpgrade.crd.yaml | 16 + ...rollerconfigs-DevPreviewNoUpgrade.crd.yaml | 16 + ...ollerconfigs-TechPreviewNoUpgrade.crd.yaml | 16 + .../featureGate-Hypershift-Default.yaml | 3 + ...reGate-Hypershift-DevPreviewNoUpgrade.yaml | 3 + ...eGate-Hypershift-TechPreviewNoUpgrade.yaml | 3 + .../featureGate-SelfManagedHA-Default.yaml | 3 + ...ate-SelfManagedHA-DevPreviewNoUpgrade.yaml | 3 + ...te-SelfManagedHA-TechPreviewNoUpgrade.yaml | 3 + 28 files changed, 5261 insertions(+) create mode 100644 config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/OnPremDNSRecords.yaml create mode 100644 machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/OnPremDNSRecords.yaml diff --git a/config/v1/types_infrastructure.go b/config/v1/types_infrastructure.go index 005702e9932..bafaa3641eb 100644 --- a/config/v1/types_infrastructure.go +++ b/config/v1/types_infrastructure.go @@ -183,6 +183,13 @@ const ( LoadBalancerTypeOpenShiftManagedDefault PlatformLoadBalancerType = "OpenShiftManagedDefault" ) +type DNSRecordsType string + +const ( + DNSRecordsTypeExternal DNSRecordsType = "External" + DNSRecordsTypeInternal DNSRecordsType = "Internal" +) + // PlatformType is a specific supported infrastructure provider. // +kubebuilder:validation:Enum="";AWS;Azure;BareMetal;GCP;Libvirt;OpenStack;None;VSphere;oVirt;IBMCloud;KubeVirt;EquinixMetal;PowerVS;AlibabaCloud;Nutanix;External type PlatformType string @@ -1074,6 +1081,21 @@ type BareMetalPlatformStatus struct { // +optional LoadBalancer *BareMetalPlatformLoadBalancer `json:"loadBalancer,omitempty"` + // dnsRecordsType determines whether records for api, api-int, and ingress + // are provided by the internal DNS service or externally. + // Allowed values are `Internal`, `External`, and omitted. + // When set to `Internal`, records are provided by the internal infrastructure + // When set to `External`, records are not provided by the internal infrastructure + // and must be configured by the user. This value may only be set when a + // user-managed loadbalancer is configured. + // When omitted, this means the user has no opinion and the platform is left + // to choose reasonable defaults. These defaults are subject to change over time. + // The current default is `Internal`. + // +kubebuilder:validation:Enum=Internal;External + // +openshift:enable:FeatureGate=OnPremDNSRecords + // +optional + DNSRecordsType DNSRecordsType `json:"dnsRecordsType,omitempty"` + // machineNetworks are IP networks used to connect all the OpenShift cluster nodes. // +listType=atomic // +kubebuilder:validation:MaxItems=32 diff --git a/config/v1/zz_generated.crd-manifests/0000_10_config-operator_01_infrastructures-CustomNoUpgrade.crd.yaml b/config/v1/zz_generated.crd-manifests/0000_10_config-operator_01_infrastructures-CustomNoUpgrade.crd.yaml index a6bbab43696..133e718f3a4 100644 --- a/config/v1/zz_generated.crd-manifests/0000_10_config-operator_01_infrastructures-CustomNoUpgrade.crd.yaml +++ b/config/v1/zz_generated.crd-manifests/0000_10_config-operator_01_infrastructures-CustomNoUpgrade.crd.yaml @@ -1670,6 +1670,22 @@ spec: rule: 'self == oldSelf || (size(self) == 2 && isIP(self[0]) && isIP(self[1]) ? ip(self[0]).family() != ip(self[1]).family() : true)' + dnsRecordsType: + description: |- + dnsRecordsType determines whether records for api, api-int, and ingress + are provided by the internal DNS service or externally. + Allowed values are `Internal`, `External`, and omitted. + When set to `Internal`, records are provided by the internal infrastructure + When set to `External`, records are not provided by the internal infrastructure + and must be configured by the user. This value may only be set when a + user-managed loadbalancer is configured. + When omitted, this means the user has no opinion and the platform is left + to choose reasonable defaults. These defaults are subject to change over time. + The current default is `Internal`. + enum: + - Internal + - External + type: string ingressIP: description: |- ingressIP is an external IP which routes to the default ingress controller. diff --git a/config/v1/zz_generated.crd-manifests/0000_10_config-operator_01_infrastructures-DevPreviewNoUpgrade.crd.yaml b/config/v1/zz_generated.crd-manifests/0000_10_config-operator_01_infrastructures-DevPreviewNoUpgrade.crd.yaml index 206ffb86c1c..670315e3ba0 100644 --- a/config/v1/zz_generated.crd-manifests/0000_10_config-operator_01_infrastructures-DevPreviewNoUpgrade.crd.yaml +++ b/config/v1/zz_generated.crd-manifests/0000_10_config-operator_01_infrastructures-DevPreviewNoUpgrade.crd.yaml @@ -1670,6 +1670,22 @@ spec: rule: 'self == oldSelf || (size(self) == 2 && isIP(self[0]) && isIP(self[1]) ? ip(self[0]).family() != ip(self[1]).family() : true)' + dnsRecordsType: + description: |- + dnsRecordsType determines whether records for api, api-int, and ingress + are provided by the internal DNS service or externally. + Allowed values are `Internal`, `External`, and omitted. + When set to `Internal`, records are provided by the internal infrastructure + When set to `External`, records are not provided by the internal infrastructure + and must be configured by the user. This value may only be set when a + user-managed loadbalancer is configured. + When omitted, this means the user has no opinion and the platform is left + to choose reasonable defaults. These defaults are subject to change over time. + The current default is `Internal`. + enum: + - Internal + - External + type: string ingressIP: description: |- ingressIP is an external IP which routes to the default ingress controller. diff --git a/config/v1/zz_generated.crd-manifests/0000_10_config-operator_01_infrastructures-TechPreviewNoUpgrade.crd.yaml b/config/v1/zz_generated.crd-manifests/0000_10_config-operator_01_infrastructures-TechPreviewNoUpgrade.crd.yaml index c14a9811012..90f29034a3c 100644 --- a/config/v1/zz_generated.crd-manifests/0000_10_config-operator_01_infrastructures-TechPreviewNoUpgrade.crd.yaml +++ b/config/v1/zz_generated.crd-manifests/0000_10_config-operator_01_infrastructures-TechPreviewNoUpgrade.crd.yaml @@ -1670,6 +1670,22 @@ spec: rule: 'self == oldSelf || (size(self) == 2 && isIP(self[0]) && isIP(self[1]) ? ip(self[0]).family() != ip(self[1]).family() : true)' + dnsRecordsType: + description: |- + dnsRecordsType determines whether records for api, api-int, and ingress + are provided by the internal DNS service or externally. + Allowed values are `Internal`, `External`, and omitted. + When set to `Internal`, records are provided by the internal infrastructure + When set to `External`, records are not provided by the internal infrastructure + and must be configured by the user. This value may only be set when a + user-managed loadbalancer is configured. + When omitted, this means the user has no opinion and the platform is left + to choose reasonable defaults. These defaults are subject to change over time. + The current default is `Internal`. + enum: + - Internal + - External + type: string ingressIP: description: |- ingressIP is an external IP which routes to the default ingress controller. diff --git a/config/v1/zz_generated.featuregated-crd-manifests.yaml b/config/v1/zz_generated.featuregated-crd-manifests.yaml index 03b091ead53..a1d37f65d00 100644 --- a/config/v1/zz_generated.featuregated-crd-manifests.yaml +++ b/config/v1/zz_generated.featuregated-crd-manifests.yaml @@ -372,6 +372,7 @@ infrastructures.config.openshift.io: - HighlyAvailableArbiter - HighlyAvailableArbiter+DualReplica - NutanixMultiSubnets + - OnPremDNSRecords - VSphereHostVMGroupZonal - VSphereMultiNetworks FilenameOperatorName: config-operator diff --git a/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/OnPremDNSRecords.yaml b/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/OnPremDNSRecords.yaml new file mode 100644 index 00000000000..ed4b508d0ed --- /dev/null +++ b/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/OnPremDNSRecords.yaml @@ -0,0 +1,2231 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + api-approved.openshift.io: https://github.com/openshift/api/pull/470 + api.openshift.io/filename-cvo-runlevel: "0000_10" + api.openshift.io/filename-operator: config-operator + api.openshift.io/filename-ordering: "01" + feature-gate.release.openshift.io/OnPremDNSRecords: "true" + release.openshift.io/bootstrap-required: "true" + name: infrastructures.config.openshift.io +spec: + group: config.openshift.io + names: + kind: Infrastructure + listKind: InfrastructureList + plural: infrastructures + singular: infrastructure + scope: Cluster + versions: + - name: v1 + schema: + openAPIV3Schema: + description: |- + Infrastructure holds cluster-wide information about Infrastructure. The canonical name is `cluster` + + Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer). + properties: + apiVersion: + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + type: string + kind: + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + type: string + metadata: + type: object + spec: + description: spec holds user settable values for configuration + properties: + cloudConfig: + description: |- + cloudConfig is a reference to a ConfigMap containing the cloud provider configuration file. + This configuration file is used to configure the Kubernetes cloud provider integration + when using the built-in cloud provider integration or the external cloud controller manager. + The namespace for this config map is openshift-config. + + cloudConfig should only be consumed by the kube_cloud_config controller. + The controller is responsible for using the user configuration in the spec + for various platforms and combining that with the user provided ConfigMap in this field + to create a stitched kube cloud config. + The controller generates a ConfigMap `kube-cloud-config` in `openshift-config-managed` namespace + with the kube cloud config is stored in `cloud.conf` key. + All the clients are expected to use the generated ConfigMap only. + properties: + key: + description: key allows pointing to a specific key/value inside + of the configmap. This is useful for logical file references. + type: string + name: + type: string + type: object + platformSpec: + description: |- + platformSpec holds desired information specific to the underlying + infrastructure provider. + properties: + alibabaCloud: + description: alibabaCloud contains settings specific to the Alibaba + Cloud infrastructure provider. + type: object + aws: + description: aws contains settings specific to the Amazon Web + Services infrastructure provider. + properties: + serviceEndpoints: + description: |- + serviceEndpoints list contains custom endpoints which will override default + service endpoint of AWS Services. + There must be only one ServiceEndpoint for a service. + items: + description: |- + AWSServiceEndpoint store the configuration of a custom url to + override existing defaults of AWS Services. + properties: + name: + description: |- + name is the name of the AWS service. + The list of all the service names can be found at https://docs.aws.amazon.com/general/latest/gr/aws-service-information.html + This must be provided and cannot be empty. + pattern: ^[a-z0-9-]+$ + type: string + url: + description: |- + url is fully qualified URI with scheme https, that overrides the default generated + endpoint for a client. + This must be provided and cannot be empty. + pattern: ^https:// + type: string + type: object + type: array + x-kubernetes-list-type: atomic + type: object + azure: + description: azure contains settings specific to the Azure infrastructure + provider. + type: object + baremetal: + description: baremetal contains settings specific to the BareMetal + platform. + properties: + apiServerInternalIPs: + description: |- + apiServerInternalIPs are the IP addresses to contact the Kubernetes API + server that can be used by components inside the cluster, like kubelets + using the infrastructure rather than Kubernetes networking. These are the + IPs for a self-hosted load balancer in front of the API servers. + In dual stack clusters this list contains two IP addresses, one from IPv4 + family and one from IPv6. + In single stack clusters a single IP address is expected. + When omitted, values from the status.apiServerInternalIPs will be used. + Once set, the list cannot be completely removed (but its second entry can). + items: + description: IP is an IP address (for example, "10.0.0.0" + or "fd00::"). + maxLength: 39 + minLength: 1 + type: string + x-kubernetes-validations: + - message: value must be a valid IP address + rule: isIP(self) + maxItems: 2 + type: array + x-kubernetes-list-type: atomic + x-kubernetes-validations: + - message: apiServerInternalIPs must contain at most one IPv4 + address and at most one IPv6 address + rule: 'size(self) == 2 && isIP(self[0]) && isIP(self[1]) + ? ip(self[0]).family() != ip(self[1]).family() : true' + ingressIPs: + description: |- + ingressIPs are the external IPs which route to the default ingress + controller. The IPs are suitable targets of a wildcard DNS record used to + resolve default route host names. + In dual stack clusters this list contains two IP addresses, one from IPv4 + family and one from IPv6. + In single stack clusters a single IP address is expected. + When omitted, values from the status.ingressIPs will be used. + Once set, the list cannot be completely removed (but its second entry can). + items: + description: IP is an IP address (for example, "10.0.0.0" + or "fd00::"). + maxLength: 39 + minLength: 1 + type: string + x-kubernetes-validations: + - message: value must be a valid IP address + rule: isIP(self) + maxItems: 2 + type: array + x-kubernetes-list-type: atomic + x-kubernetes-validations: + - message: ingressIPs must contain at most one IPv4 address + and at most one IPv6 address + rule: 'size(self) == 2 && isIP(self[0]) && isIP(self[1]) + ? ip(self[0]).family() != ip(self[1]).family() : true' + machineNetworks: + description: |- + machineNetworks are IP networks used to connect all the OpenShift cluster + nodes. Each network is provided in the CIDR format and should be IPv4 or IPv6, + for example "10.0.0.0/8" or "fd00::/8". + items: + description: CIDR is an IP address range in CIDR notation + (for example, "10.0.0.0/8" or "fd00::/8"). + maxLength: 43 + minLength: 1 + type: string + x-kubernetes-validations: + - message: value must be a valid CIDR network address + rule: isCIDR(self) + maxItems: 32 + type: array + x-kubernetes-list-type: atomic + x-kubernetes-validations: + - rule: self.all(x, self.exists_one(y, x == y)) + type: object + x-kubernetes-validations: + - message: apiServerInternalIPs list is required once set + rule: '!has(oldSelf.apiServerInternalIPs) || has(self.apiServerInternalIPs)' + - message: ingressIPs list is required once set + rule: '!has(oldSelf.ingressIPs) || has(self.ingressIPs)' + equinixMetal: + description: equinixMetal contains settings specific to the Equinix + Metal infrastructure provider. + type: object + external: + description: |- + ExternalPlatformType represents generic infrastructure provider. + Platform-specific components should be supplemented separately. + properties: + platformName: + default: Unknown + description: |- + platformName holds the arbitrary string representing the infrastructure provider name, expected to be set at the installation time. + This field is solely for informational and reporting purposes and is not expected to be used for decision-making. + type: string + x-kubernetes-validations: + - message: platform name cannot be changed once set + rule: oldSelf == 'Unknown' || self == oldSelf + type: object + gcp: + description: gcp contains settings specific to the Google Cloud + Platform infrastructure provider. + type: object + ibmcloud: + description: ibmcloud contains settings specific to the IBMCloud + infrastructure provider. + type: object + kubevirt: + description: kubevirt contains settings specific to the kubevirt + infrastructure provider. + type: object + nutanix: + description: nutanix contains settings specific to the Nutanix + infrastructure provider. + properties: + failureDomains: + description: |- + failureDomains configures failure domains information for the Nutanix platform. + When set, the failure domains defined here may be used to spread Machines across + prism element clusters to improve fault tolerance of the cluster. + items: + description: NutanixFailureDomain configures failure domain + information for the Nutanix platform. + properties: + cluster: + description: |- + cluster is to identify the cluster (the Prism Element under management of the Prism Central), + in which the Machine's VM will be created. The cluster identifier (uuid or name) can be obtained + from the Prism Central console or using the prism_central API. + properties: + name: + description: name is the resource name in the PC. + It cannot be empty if the type is Name. + type: string + type: + description: type is the identifier type to use + for this resource. + enum: + - UUID + - Name + type: string + uuid: + description: uuid is the UUID of the resource in + the PC. It cannot be empty if the type is UUID. + type: string + required: + - type + type: object + x-kubernetes-validations: + - message: uuid configuration is required when type + is UUID, and forbidden otherwise + rule: 'has(self.type) && self.type == ''UUID'' ? has(self.uuid) + : !has(self.uuid)' + - message: name configuration is required when type + is Name, and forbidden otherwise + rule: 'has(self.type) && self.type == ''Name'' ? has(self.name) + : !has(self.name)' + name: + description: |- + name defines the unique name of a failure domain. + Name is required and must be at most 64 characters in length. + It must consist of only lower case alphanumeric characters and hyphens (-). + It must start and end with an alphanumeric character. + This value is arbitrary and is used to identify the failure domain within the platform. + maxLength: 64 + minLength: 1 + pattern: '[a-z0-9]([-a-z0-9]*[a-z0-9])?' + type: string + subnets: + description: |- + subnets holds a list of identifiers (one or more) of the cluster's network subnets + If the feature gate NutanixMultiSubnets is enabled, up to 32 subnets may be configured. + for the Machine's VM to connect to. The subnet identifiers (uuid or name) can be + obtained from the Prism Central console or using the prism_central API. + items: + description: NutanixResourceIdentifier holds the identity + of a Nutanix PC resource (cluster, image, subnet, + etc.) + properties: + name: + description: name is the resource name in the + PC. It cannot be empty if the type is Name. + type: string + type: + description: type is the identifier type to use + for this resource. + enum: + - UUID + - Name + type: string + uuid: + description: uuid is the UUID of the resource + in the PC. It cannot be empty if the type is + UUID. + type: string + required: + - type + type: object + x-kubernetes-validations: + - message: uuid configuration is required when type + is UUID, and forbidden otherwise + rule: 'has(self.type) && self.type == ''UUID'' ? has(self.uuid) + : !has(self.uuid)' + - message: name configuration is required when type + is Name, and forbidden otherwise + rule: 'has(self.type) && self.type == ''Name'' ? has(self.name) + : !has(self.name)' + minItems: 1 + type: array + x-kubernetes-list-type: atomic + required: + - cluster + - name + - subnets + type: object + type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map + prismCentral: + description: |- + prismCentral holds the endpoint address and port to access the Nutanix Prism Central. + When a cluster-wide proxy is installed, by default, this endpoint will be accessed via the proxy. + Should you wish for communication with this endpoint not to be proxied, please add the endpoint to the + proxy spec.noProxy list. + properties: + address: + description: address is the endpoint address (DNS name + or IP address) of the Nutanix Prism Central or Element + (cluster) + maxLength: 256 + type: string + port: + description: port is the port number to access the Nutanix + Prism Central or Element (cluster) + format: int32 + maximum: 65535 + minimum: 1 + type: integer + required: + - address + - port + type: object + prismElements: + description: |- + prismElements holds one or more endpoint address and port data to access the Nutanix + Prism Elements (clusters) of the Nutanix Prism Central. Currently we only support one + Prism Element (cluster) for an OpenShift cluster, where all the Nutanix resources (VMs, subnets, volumes, etc.) + used in the OpenShift cluster are located. In the future, we may support Nutanix resources (VMs, etc.) + spread over multiple Prism Elements (clusters) of the Prism Central. + items: + description: NutanixPrismElementEndpoint holds the name + and endpoint data for a Prism Element (cluster) + properties: + endpoint: + description: |- + endpoint holds the endpoint address and port data of the Prism Element (cluster). + When a cluster-wide proxy is installed, by default, this endpoint will be accessed via the proxy. + Should you wish for communication with this endpoint not to be proxied, please add the endpoint to the + proxy spec.noProxy list. + properties: + address: + description: address is the endpoint address (DNS + name or IP address) of the Nutanix Prism Central + or Element (cluster) + maxLength: 256 + type: string + port: + description: port is the port number to access the + Nutanix Prism Central or Element (cluster) + format: int32 + maximum: 65535 + minimum: 1 + type: integer + required: + - address + - port + type: object + name: + description: |- + name is the name of the Prism Element (cluster). This value will correspond with + the cluster field configured on other resources (eg Machines, PVCs, etc). + maxLength: 256 + type: string + required: + - endpoint + - name + type: object + type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map + required: + - prismCentral + - prismElements + type: object + openstack: + description: openstack contains settings specific to the OpenStack + infrastructure provider. + properties: + apiServerInternalIPs: + description: |- + apiServerInternalIPs are the IP addresses to contact the Kubernetes API + server that can be used by components inside the cluster, like kubelets + using the infrastructure rather than Kubernetes networking. These are the + IPs for a self-hosted load balancer in front of the API servers. + In dual stack clusters this list contains two IP addresses, one from IPv4 + family and one from IPv6. + In single stack clusters a single IP address is expected. + When omitted, values from the status.apiServerInternalIPs will be used. + Once set, the list cannot be completely removed (but its second entry can). + items: + description: IP is an IP address (for example, "10.0.0.0" + or "fd00::"). + maxLength: 39 + minLength: 1 + type: string + x-kubernetes-validations: + - message: value must be a valid IP address + rule: isIP(self) + maxItems: 2 + type: array + x-kubernetes-list-type: atomic + x-kubernetes-validations: + - message: apiServerInternalIPs must contain at most one IPv4 + address and at most one IPv6 address + rule: 'size(self) == 2 && isIP(self[0]) && isIP(self[1]) + ? ip(self[0]).family() != ip(self[1]).family() : true' + ingressIPs: + description: |- + ingressIPs are the external IPs which route to the default ingress + controller. The IPs are suitable targets of a wildcard DNS record used to + resolve default route host names. + In dual stack clusters this list contains two IP addresses, one from IPv4 + family and one from IPv6. + In single stack clusters a single IP address is expected. + When omitted, values from the status.ingressIPs will be used. + Once set, the list cannot be completely removed (but its second entry can). + items: + description: IP is an IP address (for example, "10.0.0.0" + or "fd00::"). + maxLength: 39 + minLength: 1 + type: string + x-kubernetes-validations: + - message: value must be a valid IP address + rule: isIP(self) + maxItems: 2 + type: array + x-kubernetes-list-type: atomic + x-kubernetes-validations: + - message: ingressIPs must contain at most one IPv4 address + and at most one IPv6 address + rule: 'size(self) == 2 && isIP(self[0]) && isIP(self[1]) + ? ip(self[0]).family() != ip(self[1]).family() : true' + machineNetworks: + description: |- + machineNetworks are IP networks used to connect all the OpenShift cluster + nodes. Each network is provided in the CIDR format and should be IPv4 or IPv6, + for example "10.0.0.0/8" or "fd00::/8". + items: + description: CIDR is an IP address range in CIDR notation + (for example, "10.0.0.0/8" or "fd00::/8"). + maxLength: 43 + minLength: 1 + type: string + x-kubernetes-validations: + - message: value must be a valid CIDR network address + rule: isCIDR(self) + maxItems: 32 + type: array + x-kubernetes-list-type: atomic + x-kubernetes-validations: + - rule: self.all(x, self.exists_one(y, x == y)) + type: object + x-kubernetes-validations: + - message: apiServerInternalIPs list is required once set + rule: '!has(oldSelf.apiServerInternalIPs) || has(self.apiServerInternalIPs)' + - message: ingressIPs list is required once set + rule: '!has(oldSelf.ingressIPs) || has(self.ingressIPs)' + ovirt: + description: ovirt contains settings specific to the oVirt infrastructure + provider. + type: object + powervs: + description: powervs contains settings specific to the IBM Power + Systems Virtual Servers infrastructure provider. + properties: + serviceEndpoints: + description: |- + serviceEndpoints is a list of custom endpoints which will override the default + service endpoints of a Power VS service. + items: + description: |- + PowervsServiceEndpoint stores the configuration of a custom url to + override existing defaults of PowerVS Services. + properties: + name: + description: |- + name is the name of the Power VS service. + Few of the services are + IAM - https://cloud.ibm.com/apidocs/iam-identity-token-api + ResourceController - https://cloud.ibm.com/apidocs/resource-controller/resource-controller + Power Cloud - https://cloud.ibm.com/apidocs/power-cloud + enum: + - CIS + - COS + - COSConfig + - DNSServices + - GlobalCatalog + - GlobalSearch + - GlobalTagging + - HyperProtect + - IAM + - KeyProtect + - Power + - ResourceController + - ResourceManager + - VPC + type: string + url: + description: |- + url is fully qualified URI with scheme https, that overrides the default generated + endpoint for a client. + This must be provided and cannot be empty. + format: uri + pattern: ^https:// + type: string + required: + - name + - url + type: object + type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map + type: object + type: + description: |- + type is the underlying infrastructure provider for the cluster. This + value controls whether infrastructure automation such as service load + balancers, dynamic volume provisioning, machine creation and deletion, and + other integrations are enabled. If None, no infrastructure automation is + enabled. Allowed values are "AWS", "Azure", "BareMetal", "GCP", "Libvirt", + "OpenStack", "VSphere", "oVirt", "KubeVirt", "EquinixMetal", "PowerVS", + "AlibabaCloud", "Nutanix" and "None". Individual components may not support all platforms, + and must handle unrecognized platforms as None if they do not support that platform. + enum: + - "" + - AWS + - Azure + - BareMetal + - GCP + - Libvirt + - OpenStack + - None + - VSphere + - oVirt + - IBMCloud + - KubeVirt + - EquinixMetal + - PowerVS + - AlibabaCloud + - Nutanix + - External + type: string + vsphere: + description: vsphere contains settings specific to the VSphere + infrastructure provider. + properties: + apiServerInternalIPs: + description: |- + apiServerInternalIPs are the IP addresses to contact the Kubernetes API + server that can be used by components inside the cluster, like kubelets + using the infrastructure rather than Kubernetes networking. These are the + IPs for a self-hosted load balancer in front of the API servers. + In dual stack clusters this list contains two IP addresses, one from IPv4 + family and one from IPv6. + In single stack clusters a single IP address is expected. + When omitted, values from the status.apiServerInternalIPs will be used. + Once set, the list cannot be completely removed (but its second entry can). + items: + description: IP is an IP address (for example, "10.0.0.0" + or "fd00::"). + maxLength: 39 + minLength: 1 + type: string + x-kubernetes-validations: + - message: value must be a valid IP address + rule: isIP(self) + maxItems: 2 + type: array + x-kubernetes-list-type: atomic + x-kubernetes-validations: + - message: apiServerInternalIPs must contain at most one IPv4 + address and at most one IPv6 address + rule: 'size(self) == 2 && isIP(self[0]) && isIP(self[1]) + ? ip(self[0]).family() != ip(self[1]).family() : true' + failureDomains: + description: |- + failureDomains contains the definition of region, zone and the vCenter topology. + If this is omitted failure domains (regions and zones) will not be used. + items: + description: VSpherePlatformFailureDomainSpec holds the + region and zone failure domain and the vCenter topology + of that failure domain. + properties: + name: + description: |- + name defines the arbitrary but unique name + of a failure domain. + maxLength: 256 + minLength: 1 + type: string + region: + description: |- + region defines the name of a region tag that will + be attached to a vCenter datacenter. The tag + category in vCenter must be named openshift-region. + maxLength: 80 + minLength: 1 + type: string + regionAffinity: + description: |- + regionAffinity holds the type of region, Datacenter or ComputeCluster. + When set to Datacenter, this means the region is a vCenter Datacenter as defined in topology. + When set to ComputeCluster, this means the region is a vCenter Cluster as defined in topology. + properties: + type: + description: |- + type determines the vSphere object type for a region within this failure domain. + Available types are Datacenter and ComputeCluster. + When set to Datacenter, this means the vCenter Datacenter defined is the region. + When set to ComputeCluster, this means the vCenter cluster defined is the region. + enum: + - ComputeCluster + - Datacenter + type: string + required: + - type + type: object + server: + description: server is the fully-qualified domain name + or the IP address of the vCenter server. + maxLength: 255 + minLength: 1 + type: string + topology: + description: topology describes a given failure domain + using vSphere constructs + properties: + computeCluster: + description: |- + computeCluster the absolute path of the vCenter cluster + in which virtual machine will be located. + The absolute path is of the form //host/. + The maximum length of the path is 2048 characters. + maxLength: 2048 + pattern: ^/.*?/host/.*? + type: string + datacenter: + description: |- + datacenter is the name of vCenter datacenter in which virtual machines will be located. + The maximum length of the datacenter name is 80 characters. + maxLength: 80 + type: string + datastore: + description: |- + datastore is the absolute path of the datastore in which the + virtual machine is located. + The absolute path is of the form //datastore/ + The maximum length of the path is 2048 characters. + maxLength: 2048 + pattern: ^/.*?/datastore/.*? + type: string + folder: + description: |- + folder is the absolute path of the folder where + virtual machines are located. The absolute path + is of the form //vm/. + The maximum length of the path is 2048 characters. + maxLength: 2048 + pattern: ^/.*?/vm/.*? + type: string + networks: + description: |- + networks is the list of port group network names within this failure domain. + If feature gate VSphereMultiNetworks is enabled, up to 10 network adapters may be defined. + 10 is the maximum number of virtual network devices which may be attached to a VM as defined by: + https://configmax.esp.vmware.com/guest?vmwareproduct=vSphere&release=vSphere%208.0&categories=1-0 + The available networks (port groups) can be listed using + `govc ls 'network/*'` + Networks should be in the form of an absolute path: + //network/. + items: + type: string + minItems: 1 + type: array + x-kubernetes-list-type: atomic + resourcePool: + description: |- + resourcePool is the absolute path of the resource pool where virtual machines will be + created. The absolute path is of the form //host//Resources/. + The maximum length of the path is 2048 characters. + maxLength: 2048 + pattern: ^/.*?/host/.*?/Resources.* + type: string + template: + description: |- + template is the full inventory path of the virtual machine or template + that will be cloned when creating new machines in this failure domain. + The maximum length of the path is 2048 characters. + + When omitted, the template will be calculated by the control plane + machineset operator based on the region and zone defined in + VSpherePlatformFailureDomainSpec. + For example, for zone=zonea, region=region1, and infrastructure name=test, + the template path would be calculated as //vm/test-rhcos-region1-zonea. + maxLength: 2048 + minLength: 1 + pattern: ^/.*?/vm/.*? + type: string + required: + - computeCluster + - datacenter + - datastore + - networks + type: object + zone: + description: |- + zone defines the name of a zone tag that will + be attached to a vCenter cluster. The tag + category in vCenter must be named openshift-zone. + maxLength: 80 + minLength: 1 + type: string + zoneAffinity: + description: |- + zoneAffinity holds the type of the zone and the hostGroup which + vmGroup and the hostGroup names in vCenter corresponds to + a vm-host group of type Virtual Machine and Host respectively. Is also + contains the vmHostRule which is an affinity vm-host rule in vCenter. + properties: + hostGroup: + description: |- + hostGroup holds the vmGroup and the hostGroup names in vCenter + corresponds to a vm-host group of type Virtual Machine and Host respectively. Is also + contains the vmHostRule which is an affinity vm-host rule in vCenter. + properties: + hostGroup: + description: |- + hostGroup is the name of the vm-host group of type host within vCenter for this failure domain. + hostGroup is limited to 80 characters. + This field is required when the VSphereFailureDomain ZoneType is HostGroup + maxLength: 80 + minLength: 1 + type: string + vmGroup: + description: |- + vmGroup is the name of the vm-host group of type virtual machine within vCenter for this failure domain. + vmGroup is limited to 80 characters. + This field is required when the VSphereFailureDomain ZoneType is HostGroup + maxLength: 80 + minLength: 1 + type: string + vmHostRule: + description: |- + vmHostRule is the name of the affinity vm-host rule within vCenter for this failure domain. + vmHostRule is limited to 80 characters. + This field is required when the VSphereFailureDomain ZoneType is HostGroup + maxLength: 80 + minLength: 1 + type: string + required: + - hostGroup + - vmGroup + - vmHostRule + type: object + type: + description: |- + type determines the vSphere object type for a zone within this failure domain. + Available types are ComputeCluster and HostGroup. + When set to ComputeCluster, this means the vCenter cluster defined is the zone. + When set to HostGroup, hostGroup must be configured with hostGroup, vmGroup and vmHostRule and + this means the zone is defined by the grouping of those fields. + enum: + - HostGroup + - ComputeCluster + type: string + required: + - type + type: object + x-kubernetes-validations: + - message: hostGroup is required when type is HostGroup, + and forbidden otherwise + rule: 'has(self.type) && self.type == ''HostGroup'' + ? has(self.hostGroup) : !has(self.hostGroup)' + required: + - name + - region + - server + - topology + - zone + type: object + type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map + ingressIPs: + description: |- + ingressIPs are the external IPs which route to the default ingress + controller. The IPs are suitable targets of a wildcard DNS record used to + resolve default route host names. + In dual stack clusters this list contains two IP addresses, one from IPv4 + family and one from IPv6. + In single stack clusters a single IP address is expected. + When omitted, values from the status.ingressIPs will be used. + Once set, the list cannot be completely removed (but its second entry can). + items: + description: IP is an IP address (for example, "10.0.0.0" + or "fd00::"). + maxLength: 39 + minLength: 1 + type: string + x-kubernetes-validations: + - message: value must be a valid IP address + rule: isIP(self) + maxItems: 2 + type: array + x-kubernetes-list-type: atomic + x-kubernetes-validations: + - message: ingressIPs must contain at most one IPv4 address + and at most one IPv6 address + rule: 'size(self) == 2 && isIP(self[0]) && isIP(self[1]) + ? ip(self[0]).family() != ip(self[1]).family() : true' + machineNetworks: + description: |- + machineNetworks are IP networks used to connect all the OpenShift cluster + nodes. Each network is provided in the CIDR format and should be IPv4 or IPv6, + for example "10.0.0.0/8" or "fd00::/8". + items: + description: CIDR is an IP address range in CIDR notation + (for example, "10.0.0.0/8" or "fd00::/8"). + maxLength: 43 + minLength: 1 + type: string + x-kubernetes-validations: + - message: value must be a valid CIDR network address + rule: isCIDR(self) + maxItems: 32 + type: array + x-kubernetes-list-type: atomic + x-kubernetes-validations: + - rule: self.all(x, self.exists_one(y, x == y)) + nodeNetworking: + description: |- + nodeNetworking contains the definition of internal and external network constraints for + assigning the node's networking. + If this field is omitted, networking defaults to the legacy + address selection behavior which is to only support a single address and + return the first one found. + properties: + external: + description: external represents the network configuration + of the node that is externally routable. + properties: + excludeNetworkSubnetCidr: + description: |- + excludeNetworkSubnetCidr IP addresses in subnet ranges will be excluded when selecting + the IP address from the VirtualMachine's VM for use in the status.addresses fields. + items: + type: string + type: array + x-kubernetes-list-type: atomic + network: + description: |- + network VirtualMachine's VM Network names that will be used to when searching + for status.addresses fields. Note that if internal.networkSubnetCIDR and + external.networkSubnetCIDR are not set, then the vNIC associated to this network must + only have a single IP address assigned to it. + The available networks (port groups) can be listed using + `govc ls 'network/*'` + type: string + networkSubnetCidr: + description: |- + networkSubnetCidr IP address on VirtualMachine's network interfaces included in the fields' CIDRs + that will be used in respective status.addresses fields. + items: + type: string + type: array + x-kubernetes-list-type: set + type: object + internal: + description: internal represents the network configuration + of the node that is routable only within the cluster. + properties: + excludeNetworkSubnetCidr: + description: |- + excludeNetworkSubnetCidr IP addresses in subnet ranges will be excluded when selecting + the IP address from the VirtualMachine's VM for use in the status.addresses fields. + items: + type: string + type: array + x-kubernetes-list-type: atomic + network: + description: |- + network VirtualMachine's VM Network names that will be used to when searching + for status.addresses fields. Note that if internal.networkSubnetCIDR and + external.networkSubnetCIDR are not set, then the vNIC associated to this network must + only have a single IP address assigned to it. + The available networks (port groups) can be listed using + `govc ls 'network/*'` + type: string + networkSubnetCidr: + description: |- + networkSubnetCidr IP address on VirtualMachine's network interfaces included in the fields' CIDRs + that will be used in respective status.addresses fields. + items: + type: string + type: array + x-kubernetes-list-type: set + type: object + type: object + vcenters: + description: |- + vcenters holds the connection details for services to communicate with vCenter. + Currently, only a single vCenter is supported, but in tech preview 3 vCenters are supported. + Once the cluster has been installed, you are unable to change the current number of defined + vCenters except in the case where the cluster has been upgraded from a version of OpenShift + where the vsphere platform spec was not present. You may make modifications to the existing + vCenters that are defined in the vcenters list in order to match with any added or modified + failure domains. + items: + description: |- + VSpherePlatformVCenterSpec stores the vCenter connection fields. + This is used by the vSphere CCM. + properties: + datacenters: + description: |- + The vCenter Datacenters in which the RHCOS + vm guests are located. This field will + be used by the Cloud Controller Manager. + Each datacenter listed here should be used within + a topology. + items: + type: string + minItems: 1 + type: array + x-kubernetes-list-type: set + port: + description: |- + port is the TCP port that will be used to communicate to + the vCenter endpoint. + When omitted, this means the user has no opinion and + it is up to the platform to choose a sensible default, + which is subject to change over time. + format: int32 + maximum: 32767 + minimum: 1 + type: integer + server: + description: server is the fully-qualified domain name + or the IP address of the vCenter server. + maxLength: 255 + type: string + required: + - datacenters + - server + type: object + maxItems: 3 + minItems: 0 + type: array + x-kubernetes-list-type: atomic + x-kubernetes-validations: + - message: vcenters cannot be added or removed once set + rule: 'size(self) != size(oldSelf) ? size(oldSelf) == 0 + && size(self) < 2 : true' + type: object + x-kubernetes-validations: + - message: apiServerInternalIPs list is required once set + rule: '!has(oldSelf.apiServerInternalIPs) || has(self.apiServerInternalIPs)' + - message: ingressIPs list is required once set + rule: '!has(oldSelf.ingressIPs) || has(self.ingressIPs)' + - message: vcenters can have at most 1 item when configured post-install + rule: '!has(oldSelf.vcenters) && has(self.vcenters) ? size(self.vcenters) + < 2 : true' + type: object + x-kubernetes-validations: + - message: vcenters can have at most 1 item when configured post-install + rule: '!has(oldSelf.vsphere) && has(self.vsphere) ? size(self.vsphere.vcenters) + < 2 : true' + type: object + status: + description: status holds observed values from the cluster. They may not + be overridden. + properties: + apiServerInternalURI: + description: |- + apiServerInternalURL is a valid URI with scheme 'https', + address and optionally a port (defaulting to 443). apiServerInternalURL can be used by components + like kubelets, to contact the Kubernetes API server using the + infrastructure provider rather than Kubernetes networking. + type: string + apiServerURL: + description: |- + apiServerURL is a valid URI with scheme 'https', address and + optionally a port (defaulting to 443). apiServerURL can be used by components like the web console + to tell users where to find the Kubernetes API. + type: string + controlPlaneTopology: + default: HighlyAvailable + description: |- + controlPlaneTopology expresses the expectations for operands that normally run on control nodes. + The default is 'HighlyAvailable', which represents the behavior operators have in a "normal" cluster. + The 'SingleReplica' mode will be used in single-node deployments + and the operators should not configure the operand for highly-available operation + The 'External' mode indicates that the control plane is hosted externally to the cluster and that + its components are not visible within the cluster. + type: string + cpuPartitioning: + default: None + description: |- + cpuPartitioning expresses if CPU partitioning is a currently enabled feature in the cluster. + CPU Partitioning means that this cluster can support partitioning workloads to specific CPU Sets. + Valid values are "None" and "AllNodes". When omitted, the default value is "None". + The default value of "None" indicates that no nodes will be setup with CPU partitioning. + The "AllNodes" value indicates that all nodes have been setup with CPU partitioning, + and can then be further configured via the PerformanceProfile API. + enum: + - None + - AllNodes + type: string + etcdDiscoveryDomain: + description: |- + etcdDiscoveryDomain is the domain used to fetch the SRV records for discovering + etcd servers and clients. + For more info: https://github.com/etcd-io/etcd/blob/329be66e8b3f9e2e6af83c123ff89297e49ebd15/Documentation/op-guide/clustering.md#dns-discovery + deprecated: as of 4.7, this field is no longer set or honored. It will be removed in a future release. + type: string + infrastructureName: + description: |- + infrastructureName uniquely identifies a cluster with a human friendly name. + Once set it should not be changed. Must be of max length 27 and must have only + alphanumeric or hyphen characters. + type: string + infrastructureTopology: + default: HighlyAvailable + description: |- + infrastructureTopology expresses the expectations for infrastructure services that do not run on control + plane nodes, usually indicated by a node selector for a `role` value + other than `master`. + The default is 'HighlyAvailable', which represents the behavior operators have in a "normal" cluster. + The 'SingleReplica' mode will be used in single-node deployments + and the operators should not configure the operand for highly-available operation + NOTE: External topology mode is not applicable for this field. + enum: + - HighlyAvailable + - SingleReplica + type: string + platform: + description: |- + platform is the underlying infrastructure provider for the cluster. + + Deprecated: Use platformStatus.type instead. + enum: + - "" + - AWS + - Azure + - BareMetal + - GCP + - Libvirt + - OpenStack + - None + - VSphere + - oVirt + - IBMCloud + - KubeVirt + - EquinixMetal + - PowerVS + - AlibabaCloud + - Nutanix + - External + type: string + platformStatus: + description: |- + platformStatus holds status information specific to the underlying + infrastructure provider. + properties: + alibabaCloud: + description: alibabaCloud contains settings specific to the Alibaba + Cloud infrastructure provider. + properties: + region: + description: region specifies the region for Alibaba Cloud + resources created for the cluster. + pattern: ^[0-9A-Za-z-]+$ + type: string + resourceGroupID: + description: resourceGroupID is the ID of the resource group + for the cluster. + pattern: ^(rg-[0-9A-Za-z]+)?$ + type: string + resourceTags: + description: resourceTags is a list of additional tags to + apply to Alibaba Cloud resources created for the cluster. + items: + description: AlibabaCloudResourceTag is the set of tags + to add to apply to resources. + properties: + key: + description: key is the key of the tag. + maxLength: 128 + minLength: 1 + type: string + value: + description: value is the value of the tag. + maxLength: 128 + minLength: 1 + type: string + required: + - key + - value + type: object + maxItems: 20 + type: array + x-kubernetes-list-map-keys: + - key + x-kubernetes-list-type: map + required: + - region + type: object + aws: + description: aws contains settings specific to the Amazon Web + Services infrastructure provider. + properties: + region: + description: region holds the default AWS region for new AWS + resources created by the cluster. + type: string + resourceTags: + description: |- + resourceTags is a list of additional tags to apply to AWS resources created for the cluster. + See https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html for information on tagging AWS resources. + AWS supports a maximum of 50 tags per resource. OpenShift reserves 25 tags for its use, leaving 25 tags + available for the user. + items: + description: AWSResourceTag is a tag to apply to AWS resources + created for the cluster. + properties: + key: + description: |- + key sets the key of the AWS resource tag key-value pair. Key is required when defining an AWS resource tag. + Key should consist of between 1 and 128 characters, and may + contain only the set of alphanumeric characters, space (' '), '_', '.', '/', '=', '+', '-', ':', and '@'. + maxLength: 128 + minLength: 1 + type: string + x-kubernetes-validations: + - message: invalid AWS resource tag key. The string + can contain only the set of alphanumeric characters, + space (' '), '_', '.', '/', '=', '+', '-', ':', + '@' + rule: self.matches('^[0-9A-Za-z_.:/=+-@ ]+$') + value: + description: |- + value sets the value of the AWS resource tag key-value pair. Value is required when defining an AWS resource tag. + Value should consist of between 1 and 256 characters, and may + contain only the set of alphanumeric characters, space (' '), '_', '.', '/', '=', '+', '-', ':', and '@'. + Some AWS service do not support empty values. Since tags are added to resources in many services, the + length of the tag value must meet the requirements of all services. + maxLength: 256 + minLength: 1 + type: string + x-kubernetes-validations: + - message: invalid AWS resource tag value. The string + can contain only the set of alphanumeric characters, + space (' '), '_', '.', '/', '=', '+', '-', ':', + '@' + rule: self.matches('^[0-9A-Za-z_.:/=+-@ ]+$') + required: + - key + - value + type: object + maxItems: 25 + type: array + x-kubernetes-list-type: atomic + serviceEndpoints: + description: |- + serviceEndpoints list contains custom endpoints which will override default + service endpoint of AWS Services. + There must be only one ServiceEndpoint for a service. + items: + description: |- + AWSServiceEndpoint store the configuration of a custom url to + override existing defaults of AWS Services. + properties: + name: + description: |- + name is the name of the AWS service. + The list of all the service names can be found at https://docs.aws.amazon.com/general/latest/gr/aws-service-information.html + This must be provided and cannot be empty. + pattern: ^[a-z0-9-]+$ + type: string + url: + description: |- + url is fully qualified URI with scheme https, that overrides the default generated + endpoint for a client. + This must be provided and cannot be empty. + pattern: ^https:// + type: string + type: object + type: array + x-kubernetes-list-type: atomic + type: object + azure: + description: azure contains settings specific to the Azure infrastructure + provider. + properties: + armEndpoint: + description: armEndpoint specifies a URL to use for resource + management in non-soverign clouds such as Azure Stack. + type: string + cloudName: + description: |- + cloudName is the name of the Azure cloud environment which can be used to configure the Azure SDK + with the appropriate Azure API endpoints. + If empty, the value is equal to `AzurePublicCloud`. + enum: + - "" + - AzurePublicCloud + - AzureUSGovernmentCloud + - AzureChinaCloud + - AzureGermanCloud + - AzureStackCloud + type: string + networkResourceGroupName: + description: |- + networkResourceGroupName is the Resource Group for network resources like the Virtual Network and Subnets used by the cluster. + If empty, the value is same as ResourceGroupName. + type: string + resourceGroupName: + description: resourceGroupName is the Resource Group for new + Azure resources created for the cluster. + type: string + resourceTags: + description: |- + resourceTags is a list of additional tags to apply to Azure resources created for the cluster. + See https://docs.microsoft.com/en-us/rest/api/resources/tags for information on tagging Azure resources. + Due to limitations on Automation, Content Delivery Network, DNS Azure resources, a maximum of 15 tags + may be applied. OpenShift reserves 5 tags for internal use, allowing 10 tags for user configuration. + items: + description: AzureResourceTag is a tag to apply to Azure + resources created for the cluster. + properties: + key: + description: |- + key is the key part of the tag. A tag key can have a maximum of 128 characters and cannot be empty. Key + must begin with a letter, end with a letter, number or underscore, and must contain only alphanumeric + characters and the following special characters `_ . -`. + maxLength: 128 + minLength: 1 + pattern: ^[a-zA-Z]([0-9A-Za-z_.-]*[0-9A-Za-z_])?$ + type: string + value: + description: |- + value is the value part of the tag. A tag value can have a maximum of 256 characters and cannot be empty. Value + must contain only alphanumeric characters and the following special characters `_ + , - . / : ; < = > ? @`. + maxLength: 256 + minLength: 1 + pattern: ^[0-9A-Za-z_.=+-@]+$ + type: string + required: + - key + - value + type: object + maxItems: 10 + type: array + x-kubernetes-list-type: atomic + x-kubernetes-validations: + - message: resourceTags are immutable and may only be configured + during installation + rule: self.all(x, x in oldSelf) && oldSelf.all(x, x in self) + type: object + x-kubernetes-validations: + - message: resourceTags may only be configured during installation + rule: '!has(oldSelf.resourceTags) && !has(self.resourceTags) + || has(oldSelf.resourceTags) && has(self.resourceTags)' + baremetal: + description: baremetal contains settings specific to the BareMetal + platform. + properties: + apiServerInternalIP: + description: |- + apiServerInternalIP is an IP address to contact the Kubernetes API server that can be used + by components inside the cluster, like kubelets using the infrastructure rather + than Kubernetes networking. It is the IP that the Infrastructure.status.apiServerInternalURI + points to. It is the IP for a self-hosted load balancer in front of the API servers. + + Deprecated: Use APIServerInternalIPs instead. + type: string + apiServerInternalIPs: + description: |- + apiServerInternalIPs are the IP addresses to contact the Kubernetes API + server that can be used by components inside the cluster, like kubelets + using the infrastructure rather than Kubernetes networking. These are the + IPs for a self-hosted load balancer in front of the API servers. In dual + stack clusters this list contains two IPs otherwise only one. + format: ip + items: + type: string + maxItems: 2 + type: array + x-kubernetes-list-type: atomic + x-kubernetes-validations: + - message: apiServerInternalIPs must contain at most one IPv4 + address and at most one IPv6 address + rule: 'self == oldSelf || (size(self) == 2 && isIP(self[0]) + && isIP(self[1]) ? ip(self[0]).family() != ip(self[1]).family() + : true)' + dnsRecordsType: + description: |- + dnsRecordsType determines whether records for api, api-int, and ingress + are provided by the internal DNS service or externally. + Allowed values are `Internal`, `External`, and omitted. + When set to `Internal`, records are provided by the internal infrastructure + When set to `External`, records are not provided by the internal infrastructure + and must be configured by the user. This value may only be set when a + user-managed loadbalancer is configured. + When omitted, this means the user has no opinion and the platform is left + to choose reasonable defaults. These defaults are subject to change over time. + The current default is `Internal`. + enum: + - Internal + - External + type: string + ingressIP: + description: |- + ingressIP is an external IP which routes to the default ingress controller. + The IP is a suitable target of a wildcard DNS record used to resolve default route host names. + + Deprecated: Use IngressIPs instead. + type: string + ingressIPs: + description: |- + ingressIPs are the external IPs which route to the default ingress + controller. The IPs are suitable targets of a wildcard DNS record used to + resolve default route host names. In dual stack clusters this list + contains two IPs otherwise only one. + format: ip + items: + type: string + maxItems: 2 + type: array + x-kubernetes-list-type: atomic + x-kubernetes-validations: + - message: ingressIPs must contain at most one IPv4 address + and at most one IPv6 address + rule: 'self == oldSelf || (size(self) == 2 && isIP(self[0]) + && isIP(self[1]) ? ip(self[0]).family() != ip(self[1]).family() + : true)' + loadBalancer: + default: + type: OpenShiftManagedDefault + description: loadBalancer defines how the load balancer used + by the cluster is configured. + properties: + type: + default: OpenShiftManagedDefault + description: |- + type defines the type of load balancer used by the cluster on BareMetal platform + which can be a user-managed or openshift-managed load balancer + that is to be used for the OpenShift API and Ingress endpoints. + When set to OpenShiftManagedDefault the static pods in charge of API and Ingress traffic load-balancing + defined in the machine config operator will be deployed. + When set to UserManaged these static pods will not be deployed and it is expected that + the load balancer is configured out of band by the deployer. + When omitted, this means no opinion and the platform is left to choose a reasonable default. + The default value is OpenShiftManagedDefault. + enum: + - OpenShiftManagedDefault + - UserManaged + type: string + x-kubernetes-validations: + - message: type is immutable once set + rule: oldSelf == '' || self == oldSelf + type: object + machineNetworks: + description: machineNetworks are IP networks used to connect + all the OpenShift cluster nodes. + items: + description: CIDR is an IP address range in CIDR notation + (for example, "10.0.0.0/8" or "fd00::/8"). + maxLength: 43 + minLength: 1 + type: string + x-kubernetes-validations: + - message: value must be a valid CIDR network address + rule: isCIDR(self) + maxItems: 32 + type: array + x-kubernetes-list-type: atomic + x-kubernetes-validations: + - rule: self.all(x, self.exists_one(y, x == y)) + nodeDNSIP: + description: |- + nodeDNSIP is the IP address for the internal DNS used by the + nodes. Unlike the one managed by the DNS operator, `NodeDNSIP` + provides name resolution for the nodes themselves. There is no DNS-as-a-service for + BareMetal deployments. In order to minimize necessary changes to the + datacenter DNS, a DNS service is hosted as a static pod to serve those hostnames + to the nodes in the cluster. + type: string + type: object + equinixMetal: + description: equinixMetal contains settings specific to the Equinix + Metal infrastructure provider. + properties: + apiServerInternalIP: + description: |- + apiServerInternalIP is an IP address to contact the Kubernetes API server that can be used + by components inside the cluster, like kubelets using the infrastructure rather + than Kubernetes networking. It is the IP that the Infrastructure.status.apiServerInternalURI + points to. It is the IP for a self-hosted load balancer in front of the API servers. + type: string + ingressIP: + description: |- + ingressIP is an external IP which routes to the default ingress controller. + The IP is a suitable target of a wildcard DNS record used to resolve default route host names. + type: string + type: object + external: + description: external contains settings specific to the generic + External infrastructure provider. + properties: + cloudControllerManager: + description: |- + cloudControllerManager contains settings specific to the external Cloud Controller Manager (a.k.a. CCM or CPI). + When omitted, new nodes will be not tainted + and no extra initialization from the cloud controller manager is expected. + properties: + state: + description: |- + state determines whether or not an external Cloud Controller Manager is expected to + be installed within the cluster. + https://kubernetes.io/docs/tasks/administer-cluster/running-cloud-controller/#running-cloud-controller-manager + + Valid values are "External", "None" and omitted. + When set to "External", new nodes will be tainted as uninitialized when created, + preventing them from running workloads until they are initialized by the cloud controller manager. + When omitted or set to "None", new nodes will be not tainted + and no extra initialization from the cloud controller manager is expected. + enum: + - "" + - External + - None + type: string + x-kubernetes-validations: + - message: state is immutable once set + rule: self == oldSelf + type: object + x-kubernetes-validations: + - message: state may not be added or removed once set + rule: (has(self.state) == has(oldSelf.state)) || (!has(oldSelf.state) + && self.state != "External") + type: object + x-kubernetes-validations: + - message: cloudControllerManager may not be added or removed + once set + rule: has(self.cloudControllerManager) == has(oldSelf.cloudControllerManager) + gcp: + description: gcp contains settings specific to the Google Cloud + Platform infrastructure provider. + properties: + projectID: + description: resourceGroupName is the Project ID for new GCP + resources created for the cluster. + type: string + region: + description: region holds the region for new GCP resources + created for the cluster. + type: string + resourceLabels: + description: |- + resourceLabels is a list of additional labels to apply to GCP resources created for the cluster. + See https://cloud.google.com/compute/docs/labeling-resources for information on labeling GCP resources. + GCP supports a maximum of 64 labels per resource. OpenShift reserves 32 labels for internal use, + allowing 32 labels for user configuration. + items: + description: GCPResourceLabel is a label to apply to GCP + resources created for the cluster. + properties: + key: + description: |- + key is the key part of the label. A label key can have a maximum of 63 characters and cannot be empty. + Label key must begin with a lowercase letter, and must contain only lowercase letters, numeric characters, + and the following special characters `_-`. Label key must not have the reserved prefixes `kubernetes-io` + and `openshift-io`. + maxLength: 63 + minLength: 1 + pattern: ^[a-z][0-9a-z_-]{0,62}$ + type: string + x-kubernetes-validations: + - message: label keys must not start with either `openshift-io` + or `kubernetes-io` + rule: '!self.startsWith(''openshift-io'') && !self.startsWith(''kubernetes-io'')' + value: + description: |- + value is the value part of the label. A label value can have a maximum of 63 characters and cannot be empty. + Value must contain only lowercase letters, numeric characters, and the following special characters `_-`. + maxLength: 63 + minLength: 1 + pattern: ^[0-9a-z_-]{1,63}$ + type: string + required: + - key + - value + type: object + maxItems: 32 + type: array + x-kubernetes-list-map-keys: + - key + x-kubernetes-list-type: map + x-kubernetes-validations: + - message: resourceLabels are immutable and may only be configured + during installation + rule: self.all(x, x in oldSelf) && oldSelf.all(x, x in self) + resourceTags: + description: |- + resourceTags is a list of additional tags to apply to GCP resources created for the cluster. + See https://cloud.google.com/resource-manager/docs/tags/tags-overview for information on + tagging GCP resources. GCP supports a maximum of 50 tags per resource. + items: + description: GCPResourceTag is a tag to apply to GCP resources + created for the cluster. + properties: + key: + description: |- + key is the key part of the tag. A tag key can have a maximum of 63 characters and cannot be empty. + Tag key must begin and end with an alphanumeric character, and must contain only uppercase, lowercase + alphanumeric characters, and the following special characters `._-`. + maxLength: 63 + minLength: 1 + pattern: ^[a-zA-Z0-9]([0-9A-Za-z_.-]{0,61}[a-zA-Z0-9])?$ + type: string + parentID: + description: |- + parentID is the ID of the hierarchical resource where the tags are defined, + e.g. at the Organization or the Project level. To find the Organization or Project ID refer to the following pages: + https://cloud.google.com/resource-manager/docs/creating-managing-organization#retrieving_your_organization_id, + https://cloud.google.com/resource-manager/docs/creating-managing-projects#identifying_projects. + An OrganizationID must consist of decimal numbers, and cannot have leading zeroes. + A ProjectID must be 6 to 30 characters in length, can only contain lowercase letters, numbers, + and hyphens, and must start with a letter, and cannot end with a hyphen. + maxLength: 32 + minLength: 1 + pattern: (^[1-9][0-9]{0,31}$)|(^[a-z][a-z0-9-]{4,28}[a-z0-9]$) + type: string + value: + description: |- + value is the value part of the tag. A tag value can have a maximum of 63 characters and cannot be empty. + Tag value must begin and end with an alphanumeric character, and must contain only uppercase, lowercase + alphanumeric characters, and the following special characters `_-.@%=+:,*#&(){}[]` and spaces. + maxLength: 63 + minLength: 1 + pattern: ^[a-zA-Z0-9]([0-9A-Za-z_.@%=+:,*#&()\[\]{}\-\s]{0,61}[a-zA-Z0-9])?$ + type: string + required: + - key + - parentID + - value + type: object + maxItems: 50 + type: array + x-kubernetes-list-map-keys: + - key + x-kubernetes-list-type: map + x-kubernetes-validations: + - message: resourceTags are immutable and may only be configured + during installation + rule: self.all(x, x in oldSelf) && oldSelf.all(x, x in self) + type: object + x-kubernetes-validations: + - message: resourceLabels may only be configured during installation + rule: '!has(oldSelf.resourceLabels) && !has(self.resourceLabels) + || has(oldSelf.resourceLabels) && has(self.resourceLabels)' + - message: resourceTags may only be configured during installation + rule: '!has(oldSelf.resourceTags) && !has(self.resourceTags) + || has(oldSelf.resourceTags) && has(self.resourceTags)' + ibmcloud: + description: ibmcloud contains settings specific to the IBMCloud + infrastructure provider. + properties: + cisInstanceCRN: + description: |- + cisInstanceCRN is the CRN of the Cloud Internet Services instance managing + the DNS zone for the cluster's base domain + type: string + dnsInstanceCRN: + description: |- + dnsInstanceCRN is the CRN of the DNS Services instance managing the DNS zone + for the cluster's base domain + type: string + location: + description: location is where the cluster has been deployed + type: string + providerType: + description: providerType indicates the type of cluster that + was created + type: string + resourceGroupName: + description: resourceGroupName is the Resource Group for new + IBMCloud resources created for the cluster. + type: string + serviceEndpoints: + description: |- + serviceEndpoints is a list of custom endpoints which will override the default + service endpoints of an IBM service. These endpoints are used by components + within the cluster when trying to reach the IBM Cloud Services that have been + overridden. The CCCMO reads in the IBMCloudPlatformSpec and validates each + endpoint is resolvable. Once validated, the cloud config and IBMCloudPlatformStatus + are updated to reflect the same custom endpoints. + items: + description: |- + IBMCloudServiceEndpoint stores the configuration of a custom url to + override existing defaults of IBM Cloud Services. + properties: + name: + description: |- + name is the name of the IBM Cloud service. + Possible values are: CIS, COS, COSConfig, DNSServices, GlobalCatalog, GlobalSearch, GlobalTagging, HyperProtect, IAM, KeyProtect, ResourceController, ResourceManager, or VPC. + For example, the IBM Cloud Private IAM service could be configured with the + service `name` of `IAM` and `url` of `https://private.iam.cloud.ibm.com` + Whereas the IBM Cloud Private VPC service for US South (Dallas) could be configured + with the service `name` of `VPC` and `url` of `https://us.south.private.iaas.cloud.ibm.com` + enum: + - CIS + - COS + - COSConfig + - DNSServices + - GlobalCatalog + - GlobalSearch + - GlobalTagging + - HyperProtect + - IAM + - KeyProtect + - ResourceController + - ResourceManager + - VPC + type: string + url: + description: |- + url is fully qualified URI with scheme https, that overrides the default generated + endpoint for a client. + This must be provided and cannot be empty. The path must follow the pattern + /v[0,9]+ or /api/v[0,9]+ + maxLength: 300 + type: string + x-kubernetes-validations: + - message: url must be a valid absolute URL + rule: isURL(self) + required: + - name + - url + type: object + type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map + type: object + kubevirt: + description: kubevirt contains settings specific to the kubevirt + infrastructure provider. + properties: + apiServerInternalIP: + description: |- + apiServerInternalIP is an IP address to contact the Kubernetes API server that can be used + by components inside the cluster, like kubelets using the infrastructure rather + than Kubernetes networking. It is the IP that the Infrastructure.status.apiServerInternalURI + points to. It is the IP for a self-hosted load balancer in front of the API servers. + type: string + ingressIP: + description: |- + ingressIP is an external IP which routes to the default ingress controller. + The IP is a suitable target of a wildcard DNS record used to resolve default route host names. + type: string + type: object + nutanix: + description: nutanix contains settings specific to the Nutanix + infrastructure provider. + properties: + apiServerInternalIP: + description: |- + apiServerInternalIP is an IP address to contact the Kubernetes API server that can be used + by components inside the cluster, like kubelets using the infrastructure rather + than Kubernetes networking. It is the IP that the Infrastructure.status.apiServerInternalURI + points to. It is the IP for a self-hosted load balancer in front of the API servers. + + Deprecated: Use APIServerInternalIPs instead. + type: string + apiServerInternalIPs: + description: |- + apiServerInternalIPs are the IP addresses to contact the Kubernetes API + server that can be used by components inside the cluster, like kubelets + using the infrastructure rather than Kubernetes networking. These are the + IPs for a self-hosted load balancer in front of the API servers. In dual + stack clusters this list contains two IPs otherwise only one. + format: ip + items: + type: string + maxItems: 2 + type: array + x-kubernetes-list-type: set + x-kubernetes-validations: + - message: apiServerInternalIPs must contain at most one IPv4 + address and at most one IPv6 address + rule: 'self == oldSelf || (size(self) == 2 && isIP(self[0]) + && isIP(self[1]) ? ip(self[0]).family() != ip(self[1]).family() + : true)' + ingressIP: + description: |- + ingressIP is an external IP which routes to the default ingress controller. + The IP is a suitable target of a wildcard DNS record used to resolve default route host names. + + Deprecated: Use IngressIPs instead. + type: string + ingressIPs: + description: |- + ingressIPs are the external IPs which route to the default ingress + controller. The IPs are suitable targets of a wildcard DNS record used to + resolve default route host names. In dual stack clusters this list + contains two IPs otherwise only one. + format: ip + items: + type: string + maxItems: 2 + type: array + x-kubernetes-list-type: set + x-kubernetes-validations: + - message: ingressIPs must contain at most one IPv4 address + and at most one IPv6 address + rule: 'self == oldSelf || (size(self) == 2 && isIP(self[0]) + && isIP(self[1]) ? ip(self[0]).family() != ip(self[1]).family() + : true)' + loadBalancer: + default: + type: OpenShiftManagedDefault + description: loadBalancer defines how the load balancer used + by the cluster is configured. + properties: + type: + default: OpenShiftManagedDefault + description: |- + type defines the type of load balancer used by the cluster on Nutanix platform + which can be a user-managed or openshift-managed load balancer + that is to be used for the OpenShift API and Ingress endpoints. + When set to OpenShiftManagedDefault the static pods in charge of API and Ingress traffic load-balancing + defined in the machine config operator will be deployed. + When set to UserManaged these static pods will not be deployed and it is expected that + the load balancer is configured out of band by the deployer. + When omitted, this means no opinion and the platform is left to choose a reasonable default. + The default value is OpenShiftManagedDefault. + enum: + - OpenShiftManagedDefault + - UserManaged + type: string + x-kubernetes-validations: + - message: type is immutable once set + rule: oldSelf == '' || self == oldSelf + type: object + type: object + openstack: + description: openstack contains settings specific to the OpenStack + infrastructure provider. + properties: + apiServerInternalIP: + description: |- + apiServerInternalIP is an IP address to contact the Kubernetes API server that can be used + by components inside the cluster, like kubelets using the infrastructure rather + than Kubernetes networking. It is the IP that the Infrastructure.status.apiServerInternalURI + points to. It is the IP for a self-hosted load balancer in front of the API servers. + + Deprecated: Use APIServerInternalIPs instead. + type: string + apiServerInternalIPs: + description: |- + apiServerInternalIPs are the IP addresses to contact the Kubernetes API + server that can be used by components inside the cluster, like kubelets + using the infrastructure rather than Kubernetes networking. These are the + IPs for a self-hosted load balancer in front of the API servers. In dual + stack clusters this list contains two IPs otherwise only one. + format: ip + items: + type: string + maxItems: 2 + type: array + x-kubernetes-list-type: atomic + x-kubernetes-validations: + - message: apiServerInternalIPs must contain at most one IPv4 + address and at most one IPv6 address + rule: 'self == oldSelf || (size(self) == 2 && isIP(self[0]) + && isIP(self[1]) ? ip(self[0]).family() != ip(self[1]).family() + : true)' + cloudName: + description: |- + cloudName is the name of the desired OpenStack cloud in the + client configuration file (`clouds.yaml`). + type: string + ingressIP: + description: |- + ingressIP is an external IP which routes to the default ingress controller. + The IP is a suitable target of a wildcard DNS record used to resolve default route host names. + + Deprecated: Use IngressIPs instead. + type: string + ingressIPs: + description: |- + ingressIPs are the external IPs which route to the default ingress + controller. The IPs are suitable targets of a wildcard DNS record used to + resolve default route host names. In dual stack clusters this list + contains two IPs otherwise only one. + format: ip + items: + type: string + maxItems: 2 + type: array + x-kubernetes-list-type: atomic + x-kubernetes-validations: + - message: ingressIPs must contain at most one IPv4 address + and at most one IPv6 address + rule: 'self == oldSelf || (size(self) == 2 && isIP(self[0]) + && isIP(self[1]) ? ip(self[0]).family() != ip(self[1]).family() + : true)' + loadBalancer: + default: + type: OpenShiftManagedDefault + description: loadBalancer defines how the load balancer used + by the cluster is configured. + properties: + type: + default: OpenShiftManagedDefault + description: |- + type defines the type of load balancer used by the cluster on OpenStack platform + which can be a user-managed or openshift-managed load balancer + that is to be used for the OpenShift API and Ingress endpoints. + When set to OpenShiftManagedDefault the static pods in charge of API and Ingress traffic load-balancing + defined in the machine config operator will be deployed. + When set to UserManaged these static pods will not be deployed and it is expected that + the load balancer is configured out of band by the deployer. + When omitted, this means no opinion and the platform is left to choose a reasonable default. + The default value is OpenShiftManagedDefault. + enum: + - OpenShiftManagedDefault + - UserManaged + type: string + x-kubernetes-validations: + - message: type is immutable once set + rule: oldSelf == '' || self == oldSelf + type: object + machineNetworks: + description: machineNetworks are IP networks used to connect + all the OpenShift cluster nodes. + items: + description: CIDR is an IP address range in CIDR notation + (for example, "10.0.0.0/8" or "fd00::/8"). + maxLength: 43 + minLength: 1 + type: string + x-kubernetes-validations: + - message: value must be a valid CIDR network address + rule: isCIDR(self) + maxItems: 32 + type: array + x-kubernetes-list-type: atomic + x-kubernetes-validations: + - rule: self.all(x, self.exists_one(y, x == y)) + nodeDNSIP: + description: |- + nodeDNSIP is the IP address for the internal DNS used by the + nodes. Unlike the one managed by the DNS operator, `NodeDNSIP` + provides name resolution for the nodes themselves. There is no DNS-as-a-service for + OpenStack deployments. In order to minimize necessary changes to the + datacenter DNS, a DNS service is hosted as a static pod to serve those hostnames + to the nodes in the cluster. + type: string + type: object + ovirt: + description: ovirt contains settings specific to the oVirt infrastructure + provider. + properties: + apiServerInternalIP: + description: |- + apiServerInternalIP is an IP address to contact the Kubernetes API server that can be used + by components inside the cluster, like kubelets using the infrastructure rather + than Kubernetes networking. It is the IP that the Infrastructure.status.apiServerInternalURI + points to. It is the IP for a self-hosted load balancer in front of the API servers. + + Deprecated: Use APIServerInternalIPs instead. + type: string + apiServerInternalIPs: + description: |- + apiServerInternalIPs are the IP addresses to contact the Kubernetes API + server that can be used by components inside the cluster, like kubelets + using the infrastructure rather than Kubernetes networking. These are the + IPs for a self-hosted load balancer in front of the API servers. In dual + stack clusters this list contains two IPs otherwise only one. + format: ip + items: + type: string + maxItems: 2 + type: array + x-kubernetes-list-type: set + x-kubernetes-validations: + - message: apiServerInternalIPs must contain at most one IPv4 + address and at most one IPv6 address + rule: 'self == oldSelf || (size(self) == 2 && isIP(self[0]) + && isIP(self[1]) ? ip(self[0]).family() != ip(self[1]).family() + : true)' + ingressIP: + description: |- + ingressIP is an external IP which routes to the default ingress controller. + The IP is a suitable target of a wildcard DNS record used to resolve default route host names. + + Deprecated: Use IngressIPs instead. + type: string + ingressIPs: + description: |- + ingressIPs are the external IPs which route to the default ingress + controller. The IPs are suitable targets of a wildcard DNS record used to + resolve default route host names. In dual stack clusters this list + contains two IPs otherwise only one. + format: ip + items: + type: string + maxItems: 2 + type: array + x-kubernetes-list-type: set + x-kubernetes-validations: + - message: ingressIPs must contain at most one IPv4 address + and at most one IPv6 address + rule: 'self == oldSelf || (size(self) == 2 && isIP(self[0]) + && isIP(self[1]) ? ip(self[0]).family() != ip(self[1]).family() + : true)' + loadBalancer: + default: + type: OpenShiftManagedDefault + description: loadBalancer defines how the load balancer used + by the cluster is configured. + properties: + type: + default: OpenShiftManagedDefault + description: |- + type defines the type of load balancer used by the cluster on Ovirt platform + which can be a user-managed or openshift-managed load balancer + that is to be used for the OpenShift API and Ingress endpoints. + When set to OpenShiftManagedDefault the static pods in charge of API and Ingress traffic load-balancing + defined in the machine config operator will be deployed. + When set to UserManaged these static pods will not be deployed and it is expected that + the load balancer is configured out of band by the deployer. + When omitted, this means no opinion and the platform is left to choose a reasonable default. + The default value is OpenShiftManagedDefault. + enum: + - OpenShiftManagedDefault + - UserManaged + type: string + x-kubernetes-validations: + - message: type is immutable once set + rule: oldSelf == '' || self == oldSelf + type: object + nodeDNSIP: + description: 'deprecated: as of 4.6, this field is no longer + set or honored. It will be removed in a future release.' + type: string + type: object + powervs: + description: powervs contains settings specific to the Power Systems + Virtual Servers infrastructure provider. + properties: + cisInstanceCRN: + description: |- + cisInstanceCRN is the CRN of the Cloud Internet Services instance managing + the DNS zone for the cluster's base domain + type: string + dnsInstanceCRN: + description: |- + dnsInstanceCRN is the CRN of the DNS Services instance managing the DNS zone + for the cluster's base domain + type: string + region: + description: region holds the default Power VS region for + new Power VS resources created by the cluster. + type: string + resourceGroup: + description: |- + resourceGroup is the resource group name for new IBMCloud resources created for a cluster. + The resource group specified here will be used by cluster-image-registry-operator to set up a COS Instance in IBMCloud for the cluster registry. + More about resource groups can be found here: https://cloud.ibm.com/docs/account?topic=account-rgs. + When omitted, the image registry operator won't be able to configure storage, + which results in the image registry cluster operator not being in an available state. + maxLength: 40 + pattern: ^[a-zA-Z0-9-_ ]+$ + type: string + x-kubernetes-validations: + - message: resourceGroup is immutable once set + rule: oldSelf == '' || self == oldSelf + serviceEndpoints: + description: |- + serviceEndpoints is a list of custom endpoints which will override the default + service endpoints of a Power VS service. + items: + description: |- + PowervsServiceEndpoint stores the configuration of a custom url to + override existing defaults of PowerVS Services. + properties: + name: + description: |- + name is the name of the Power VS service. + Few of the services are + IAM - https://cloud.ibm.com/apidocs/iam-identity-token-api + ResourceController - https://cloud.ibm.com/apidocs/resource-controller/resource-controller + Power Cloud - https://cloud.ibm.com/apidocs/power-cloud + enum: + - CIS + - COS + - COSConfig + - DNSServices + - GlobalCatalog + - GlobalSearch + - GlobalTagging + - HyperProtect + - IAM + - KeyProtect + - Power + - ResourceController + - ResourceManager + - VPC + type: string + url: + description: |- + url is fully qualified URI with scheme https, that overrides the default generated + endpoint for a client. + This must be provided and cannot be empty. + format: uri + pattern: ^https:// + type: string + required: + - name + - url + type: object + type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map + zone: + description: |- + zone holds the default zone for the new Power VS resources created by the cluster. + Note: Currently only single-zone OCP clusters are supported + type: string + type: object + x-kubernetes-validations: + - message: cannot unset resourceGroup once set + rule: '!has(oldSelf.resourceGroup) || has(self.resourceGroup)' + type: + description: |- + type is the underlying infrastructure provider for the cluster. This + value controls whether infrastructure automation such as service load + balancers, dynamic volume provisioning, machine creation and deletion, and + other integrations are enabled. If None, no infrastructure automation is + enabled. Allowed values are "AWS", "Azure", "BareMetal", "GCP", "Libvirt", + "OpenStack", "VSphere", "oVirt", "EquinixMetal", "PowerVS", "AlibabaCloud", "Nutanix" and "None". + Individual components may not support all platforms, and must handle + unrecognized platforms as None if they do not support that platform. + + This value will be synced with to the `status.platform` and `status.platformStatus.type`. + Currently this value cannot be changed once set. + enum: + - "" + - AWS + - Azure + - BareMetal + - GCP + - Libvirt + - OpenStack + - None + - VSphere + - oVirt + - IBMCloud + - KubeVirt + - EquinixMetal + - PowerVS + - AlibabaCloud + - Nutanix + - External + type: string + vsphere: + description: vsphere contains settings specific to the VSphere + infrastructure provider. + properties: + apiServerInternalIP: + description: |- + apiServerInternalIP is an IP address to contact the Kubernetes API server that can be used + by components inside the cluster, like kubelets using the infrastructure rather + than Kubernetes networking. It is the IP that the Infrastructure.status.apiServerInternalURI + points to. It is the IP for a self-hosted load balancer in front of the API servers. + + Deprecated: Use APIServerInternalIPs instead. + type: string + apiServerInternalIPs: + description: |- + apiServerInternalIPs are the IP addresses to contact the Kubernetes API + server that can be used by components inside the cluster, like kubelets + using the infrastructure rather than Kubernetes networking. These are the + IPs for a self-hosted load balancer in front of the API servers. In dual + stack clusters this list contains two IPs otherwise only one. + format: ip + items: + type: string + maxItems: 2 + type: array + x-kubernetes-list-type: atomic + x-kubernetes-validations: + - message: apiServerInternalIPs must contain at most one IPv4 + address and at most one IPv6 address + rule: 'self == oldSelf || (size(self) == 2 && isIP(self[0]) + && isIP(self[1]) ? ip(self[0]).family() != ip(self[1]).family() + : true)' + ingressIP: + description: |- + ingressIP is an external IP which routes to the default ingress controller. + The IP is a suitable target of a wildcard DNS record used to resolve default route host names. + + Deprecated: Use IngressIPs instead. + type: string + ingressIPs: + description: |- + ingressIPs are the external IPs which route to the default ingress + controller. The IPs are suitable targets of a wildcard DNS record used to + resolve default route host names. In dual stack clusters this list + contains two IPs otherwise only one. + format: ip + items: + type: string + maxItems: 2 + type: array + x-kubernetes-list-type: atomic + x-kubernetes-validations: + - message: ingressIPs must contain at most one IPv4 address + and at most one IPv6 address + rule: 'self == oldSelf || (size(self) == 2 && isIP(self[0]) + && isIP(self[1]) ? ip(self[0]).family() != ip(self[1]).family() + : true)' + loadBalancer: + default: + type: OpenShiftManagedDefault + description: loadBalancer defines how the load balancer used + by the cluster is configured. + properties: + type: + default: OpenShiftManagedDefault + description: |- + type defines the type of load balancer used by the cluster on VSphere platform + which can be a user-managed or openshift-managed load balancer + that is to be used for the OpenShift API and Ingress endpoints. + When set to OpenShiftManagedDefault the static pods in charge of API and Ingress traffic load-balancing + defined in the machine config operator will be deployed. + When set to UserManaged these static pods will not be deployed and it is expected that + the load balancer is configured out of band by the deployer. + When omitted, this means no opinion and the platform is left to choose a reasonable default. + The default value is OpenShiftManagedDefault. + enum: + - OpenShiftManagedDefault + - UserManaged + type: string + x-kubernetes-validations: + - message: type is immutable once set + rule: oldSelf == '' || self == oldSelf + type: object + machineNetworks: + description: machineNetworks are IP networks used to connect + all the OpenShift cluster nodes. + items: + description: CIDR is an IP address range in CIDR notation + (for example, "10.0.0.0/8" or "fd00::/8"). + maxLength: 43 + minLength: 1 + type: string + x-kubernetes-validations: + - message: value must be a valid CIDR network address + rule: isCIDR(self) + maxItems: 32 + type: array + x-kubernetes-list-type: atomic + x-kubernetes-validations: + - rule: self.all(x, self.exists_one(y, x == y)) + nodeDNSIP: + description: |- + nodeDNSIP is the IP address for the internal DNS used by the + nodes. Unlike the one managed by the DNS operator, `NodeDNSIP` + provides name resolution for the nodes themselves. There is no DNS-as-a-service for + vSphere deployments. In order to minimize necessary changes to the + datacenter DNS, a DNS service is hosted as a static pod to serve those hostnames + to the nodes in the cluster. + type: string + type: object + type: object + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} diff --git a/config/v1/zz_generated.swagger_doc_generated.go b/config/v1/zz_generated.swagger_doc_generated.go index be7d462a507..da9559b98ae 100644 --- a/config/v1/zz_generated.swagger_doc_generated.go +++ b/config/v1/zz_generated.swagger_doc_generated.go @@ -1527,6 +1527,7 @@ var map_BareMetalPlatformStatus = map[string]string{ "ingressIPs": "ingressIPs are the external IPs which route to the default ingress controller. The IPs are suitable targets of a wildcard DNS record used to resolve default route host names. In dual stack clusters this list contains two IPs otherwise only one.", "nodeDNSIP": "nodeDNSIP is the IP address for the internal DNS used by the nodes. Unlike the one managed by the DNS operator, `NodeDNSIP` provides name resolution for the nodes themselves. There is no DNS-as-a-service for BareMetal deployments. In order to minimize necessary changes to the datacenter DNS, a DNS service is hosted as a static pod to serve those hostnames to the nodes in the cluster.", "loadBalancer": "loadBalancer defines how the load balancer used by the cluster is configured.", + "dnsRecordsType": "dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. When set to `Internal`, records are provided by the internal infrastructure When set to `External`, records are not provided by the internal infrastructure and must be configured by the user. This value may only be set when a user-managed loadbalancer is configured. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`.", "machineNetworks": "machineNetworks are IP networks used to connect all the OpenShift cluster nodes.", } diff --git a/features.md b/features.md index df45c853f3a..8a7ea080266 100644 --- a/features.md +++ b/features.md @@ -64,6 +64,7 @@ | NutanixMultiSubnets| | | Enabled | Enabled | Enabled | Enabled | | OSStreams| | | Enabled | Enabled | Enabled | Enabled | | OVNObservability| | | Enabled | Enabled | Enabled | Enabled | +| OnPremDNSRecords| | | Enabled | Enabled | Enabled | Enabled | | SELinuxMount| | | Enabled | Enabled | Enabled | Enabled | | SignatureStores| | | Enabled | Enabled | Enabled | Enabled | | SigstoreImageVerificationPKI| | | Enabled | Enabled | Enabled | Enabled | diff --git a/features/features.go b/features/features.go index 910cabc5fa1..e6bf9d6c9a3 100644 --- a/features/features.go +++ b/features/features.go @@ -916,4 +916,11 @@ var ( enhancementPR("https://github.com/openshift/enhancements/pull/1845"). enableIn(configv1.DevPreviewNoUpgrade, configv1.TechPreviewNoUpgrade). mustRegister() + FeatureGateOnPremDNSRecords = newFeatureGate("OnPremDNSRecords"). + reportProblemsToJiraComponent("Networking / On-Prem DNS"). + contactPerson("bnemec"). + productScope(ocpSpecific). + enhancementPR("https://github.com/openshift/enhancements/pull/1803"). + enableIn(configv1.DevPreviewNoUpgrade, configv1.TechPreviewNoUpgrade). + mustRegister() ) diff --git a/machineconfiguration/v1/zz_generated.crd-manifests/0000_80_machine-config_01_controllerconfigs-CustomNoUpgrade.crd.yaml b/machineconfiguration/v1/zz_generated.crd-manifests/0000_80_machine-config_01_controllerconfigs-CustomNoUpgrade.crd.yaml index e8fd35e1922..9e2a5769ebf 100644 --- a/machineconfiguration/v1/zz_generated.crd-manifests/0000_80_machine-config_01_controllerconfigs-CustomNoUpgrade.crd.yaml +++ b/machineconfiguration/v1/zz_generated.crd-manifests/0000_80_machine-config_01_controllerconfigs-CustomNoUpgrade.crd.yaml @@ -1959,6 +1959,22 @@ spec: rule: 'self == oldSelf || (size(self) == 2 && isIP(self[0]) && isIP(self[1]) ? ip(self[0]).family() != ip(self[1]).family() : true)' + dnsRecordsType: + description: |- + dnsRecordsType determines whether records for api, api-int, and ingress + are provided by the internal DNS service or externally. + Allowed values are `Internal`, `External`, and omitted. + When set to `Internal`, records are provided by the internal infrastructure + When set to `External`, records are not provided by the internal infrastructure + and must be configured by the user. This value may only be set when a + user-managed loadbalancer is configured. + When omitted, this means the user has no opinion and the platform is left + to choose reasonable defaults. These defaults are subject to change over time. + The current default is `Internal`. + enum: + - Internal + - External + type: string ingressIP: description: |- ingressIP is an external IP which routes to the default ingress controller. diff --git a/machineconfiguration/v1/zz_generated.crd-manifests/0000_80_machine-config_01_controllerconfigs-DevPreviewNoUpgrade.crd.yaml b/machineconfiguration/v1/zz_generated.crd-manifests/0000_80_machine-config_01_controllerconfigs-DevPreviewNoUpgrade.crd.yaml index 887362393aa..da56fa59361 100644 --- a/machineconfiguration/v1/zz_generated.crd-manifests/0000_80_machine-config_01_controllerconfigs-DevPreviewNoUpgrade.crd.yaml +++ b/machineconfiguration/v1/zz_generated.crd-manifests/0000_80_machine-config_01_controllerconfigs-DevPreviewNoUpgrade.crd.yaml @@ -1959,6 +1959,22 @@ spec: rule: 'self == oldSelf || (size(self) == 2 && isIP(self[0]) && isIP(self[1]) ? ip(self[0]).family() != ip(self[1]).family() : true)' + dnsRecordsType: + description: |- + dnsRecordsType determines whether records for api, api-int, and ingress + are provided by the internal DNS service or externally. + Allowed values are `Internal`, `External`, and omitted. + When set to `Internal`, records are provided by the internal infrastructure + When set to `External`, records are not provided by the internal infrastructure + and must be configured by the user. This value may only be set when a + user-managed loadbalancer is configured. + When omitted, this means the user has no opinion and the platform is left + to choose reasonable defaults. These defaults are subject to change over time. + The current default is `Internal`. + enum: + - Internal + - External + type: string ingressIP: description: |- ingressIP is an external IP which routes to the default ingress controller. diff --git a/machineconfiguration/v1/zz_generated.crd-manifests/0000_80_machine-config_01_controllerconfigs-TechPreviewNoUpgrade.crd.yaml b/machineconfiguration/v1/zz_generated.crd-manifests/0000_80_machine-config_01_controllerconfigs-TechPreviewNoUpgrade.crd.yaml index 17395eba6e0..a34e44a22af 100644 --- a/machineconfiguration/v1/zz_generated.crd-manifests/0000_80_machine-config_01_controllerconfigs-TechPreviewNoUpgrade.crd.yaml +++ b/machineconfiguration/v1/zz_generated.crd-manifests/0000_80_machine-config_01_controllerconfigs-TechPreviewNoUpgrade.crd.yaml @@ -1959,6 +1959,22 @@ spec: rule: 'self == oldSelf || (size(self) == 2 && isIP(self[0]) && isIP(self[1]) ? ip(self[0]).family() != ip(self[1]).family() : true)' + dnsRecordsType: + description: |- + dnsRecordsType determines whether records for api, api-int, and ingress + are provided by the internal DNS service or externally. + Allowed values are `Internal`, `External`, and omitted. + When set to `Internal`, records are provided by the internal infrastructure + When set to `External`, records are not provided by the internal infrastructure + and must be configured by the user. This value may only be set when a + user-managed loadbalancer is configured. + When omitted, this means the user has no opinion and the platform is left + to choose reasonable defaults. These defaults are subject to change over time. + The current default is `Internal`. + enum: + - Internal + - External + type: string ingressIP: description: |- ingressIP is an external IP which routes to the default ingress controller. diff --git a/machineconfiguration/v1/zz_generated.featuregated-crd-manifests.yaml b/machineconfiguration/v1/zz_generated.featuregated-crd-manifests.yaml index fe5a8fd8af3..85289209ef2 100644 --- a/machineconfiguration/v1/zz_generated.featuregated-crd-manifests.yaml +++ b/machineconfiguration/v1/zz_generated.featuregated-crd-manifests.yaml @@ -41,6 +41,7 @@ controllerconfigs.machineconfiguration.openshift.io: - NutanixMultiSubnets - VSphereHostVMGroupZonal - VSphereMultiNetworks + - OnPremDNSRecords FilenameOperatorName: machine-config FilenameOperatorOrdering: "01" FilenameRunLevel: "0000_80" diff --git a/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/OnPremDNSRecords.yaml b/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/OnPremDNSRecords.yaml new file mode 100644 index 00000000000..4795a388967 --- /dev/null +++ b/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/OnPremDNSRecords.yaml @@ -0,0 +1,2776 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + api-approved.openshift.io: https://github.com/openshift/api/pull/1453 + api.openshift.io/filename-cvo-runlevel: "0000_80" + api.openshift.io/filename-operator: machine-config + api.openshift.io/filename-ordering: "01" + feature-gate.release.openshift.io/OnPremDNSRecords: "true" + labels: + openshift.io/operator-managed: "" + name: controllerconfigs.machineconfiguration.openshift.io +spec: + group: machineconfiguration.openshift.io + names: + kind: ControllerConfig + listKind: ControllerConfigList + plural: controllerconfigs + singular: controllerconfig + scope: Cluster + versions: + - name: v1 + schema: + openAPIV3Schema: + description: |- + ControllerConfig describes configuration for MachineConfigController. + This is currently only used to drive the MachineConfig objects generated by the TemplateController. + + Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer). + properties: + apiVersion: + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + type: string + kind: + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + type: string + metadata: + type: object + spec: + description: spec contains the desired controller config configuration. + properties: + additionalTrustBundle: + description: |- + additionalTrustBundle is a certificate bundle that will be added to the nodes + trusted certificate store. + format: byte + nullable: true + type: string + baseOSContainerImage: + description: baseOSContainerImage is the new-format container image + for operating system updates. + type: string + baseOSExtensionsContainerImage: + description: baseOSExtensionsContainerImage is the matching extensions + container for the new-format container + type: string + cloudProviderCAData: + description: cloudProviderCAData specifies the cloud provider CA data + format: byte + nullable: true + type: string + cloudProviderConfig: + description: cloudProviderConfig is the configuration for the given + cloud provider + type: string + clusterDNSIP: + description: clusterDNSIP is the cluster DNS IP address + type: string + dns: + description: dns holds the cluster dns details + nullable: true + properties: + apiVersion: + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + type: string + kind: + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + type: string + metadata: + description: |- + metadata is the standard object's metadata. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata + type: object + spec: + description: spec holds user settable values for configuration + properties: + baseDomain: + description: |- + baseDomain is the base domain of the cluster. All managed DNS records will + be sub-domains of this base. + + For example, given the base domain `openshift.example.com`, an API server + DNS record may be created for `cluster-api.openshift.example.com`. + + Once set, this field cannot be changed. + type: string + platform: + description: |- + platform holds configuration specific to the underlying + infrastructure provider for DNS. + When omitted, this means the user has no opinion and the platform is left + to choose reasonable defaults. These defaults are subject to change over time. + properties: + aws: + description: aws contains DNS configuration specific to + the Amazon Web Services cloud provider. + properties: + privateZoneIAMRole: + description: |- + privateZoneIAMRole contains the ARN of an IAM role that should be assumed when performing + operations on the cluster's private hosted zone specified in the cluster DNS config. + When left empty, no role should be assumed. + pattern: ^arn:(aws|aws-cn|aws-us-gov):iam::[0-9]{12}:role\/.*$ + type: string + type: object + type: + description: |- + type is the underlying infrastructure provider for the cluster. + Allowed values: "", "AWS". + + Individual components may not support all platforms, + and must handle unrecognized platforms with best-effort defaults. + enum: + - "" + - AWS + - Azure + - BareMetal + - GCP + - Libvirt + - OpenStack + - None + - VSphere + - oVirt + - IBMCloud + - KubeVirt + - EquinixMetal + - PowerVS + - AlibabaCloud + - Nutanix + - External + type: string + x-kubernetes-validations: + - message: allowed values are '' and 'AWS' + rule: self in ['','AWS'] + required: + - type + type: object + x-kubernetes-validations: + - message: aws configuration is required when platform is + AWS, and forbidden otherwise + rule: 'has(self.type) && self.type == ''AWS'' ? has(self.aws) + : !has(self.aws)' + privateZone: + description: |- + privateZone is the location where all the DNS records that are only available internally + to the cluster exist. + + If this field is nil, no private records should be created. + + Once set, this field cannot be changed. + properties: + id: + description: |- + id is the identifier that can be used to find the DNS hosted zone. + + on AWS zone can be fetched using `ID` as id in [1] + on Azure zone can be fetched using `ID` as a pre-determined name in [2], + on GCP zone can be fetched using `ID` as a pre-determined name in [3]. + + [1]: https://docs.aws.amazon.com/cli/latest/reference/route53/get-hosted-zone.html#options + [2]: https://docs.microsoft.com/en-us/cli/azure/network/dns/zone?view=azure-cli-latest#az-network-dns-zone-show + [3]: https://cloud.google.com/dns/docs/reference/v1/managedZones/get + type: string + tags: + additionalProperties: + type: string + description: |- + tags can be used to query the DNS hosted zone. + + on AWS, resourcegroupstaggingapi [1] can be used to fetch a zone using `Tags` as tag-filters, + + [1]: https://docs.aws.amazon.com/cli/latest/reference/resourcegroupstaggingapi/get-resources.html#options + type: object + type: object + publicZone: + description: |- + publicZone is the location where all the DNS records that are publicly accessible to + the internet exist. + + If this field is nil, no public records should be created. + + Once set, this field cannot be changed. + properties: + id: + description: |- + id is the identifier that can be used to find the DNS hosted zone. + + on AWS zone can be fetched using `ID` as id in [1] + on Azure zone can be fetched using `ID` as a pre-determined name in [2], + on GCP zone can be fetched using `ID` as a pre-determined name in [3]. + + [1]: https://docs.aws.amazon.com/cli/latest/reference/route53/get-hosted-zone.html#options + [2]: https://docs.microsoft.com/en-us/cli/azure/network/dns/zone?view=azure-cli-latest#az-network-dns-zone-show + [3]: https://cloud.google.com/dns/docs/reference/v1/managedZones/get + type: string + tags: + additionalProperties: + type: string + description: |- + tags can be used to query the DNS hosted zone. + + on AWS, resourcegroupstaggingapi [1] can be used to fetch a zone using `Tags` as tag-filters, + + [1]: https://docs.aws.amazon.com/cli/latest/reference/resourcegroupstaggingapi/get-resources.html#options + type: object + type: object + type: object + status: + description: status holds observed values from the cluster. They + may not be overridden. + type: object + required: + - spec + type: object + x-kubernetes-embedded-resource: true + etcdDiscoveryDomain: + description: etcdDiscoveryDomain is deprecated, use Infra.Status.EtcdDiscoveryDomain + instead + type: string + imageRegistryBundleData: + description: imageRegistryBundleData is the ImageRegistryData + items: + description: ImageRegistryBundle contains information for writing + image registry certificates + properties: + data: + description: data holds the contents of the bundle that will + be written to the file location + format: byte + type: string + file: + description: file holds the name of the file where the bundle + will be written to disk + type: string + required: + - data + - file + type: object + type: array + x-kubernetes-list-type: atomic + imageRegistryBundleUserData: + description: imageRegistryBundleUserData is Image Registry Data provided + by the user + items: + description: ImageRegistryBundle contains information for writing + image registry certificates + properties: + data: + description: data holds the contents of the bundle that will + be written to the file location + format: byte + type: string + file: + description: file holds the name of the file where the bundle + will be written to disk + type: string + required: + - data + - file + type: object + type: array + x-kubernetes-list-type: atomic + images: + additionalProperties: + type: string + description: images is map of images that are used by the controller + to render templates under ./templates/ + type: object + infra: + description: infra holds the infrastructure details + nullable: true + properties: + apiVersion: + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + type: string + kind: + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + type: string + metadata: + description: |- + metadata is the standard object's metadata. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata + type: object + spec: + description: spec holds user settable values for configuration + properties: + cloudConfig: + description: |- + cloudConfig is a reference to a ConfigMap containing the cloud provider configuration file. + This configuration file is used to configure the Kubernetes cloud provider integration + when using the built-in cloud provider integration or the external cloud controller manager. + The namespace for this config map is openshift-config. + + cloudConfig should only be consumed by the kube_cloud_config controller. + The controller is responsible for using the user configuration in the spec + for various platforms and combining that with the user provided ConfigMap in this field + to create a stitched kube cloud config. + The controller generates a ConfigMap `kube-cloud-config` in `openshift-config-managed` namespace + with the kube cloud config is stored in `cloud.conf` key. + All the clients are expected to use the generated ConfigMap only. + properties: + key: + description: key allows pointing to a specific key/value + inside of the configmap. This is useful for logical + file references. + type: string + name: + type: string + type: object + platformSpec: + description: |- + platformSpec holds desired information specific to the underlying + infrastructure provider. + properties: + alibabaCloud: + description: alibabaCloud contains settings specific to + the Alibaba Cloud infrastructure provider. + type: object + aws: + description: aws contains settings specific to the Amazon + Web Services infrastructure provider. + properties: + serviceEndpoints: + description: |- + serviceEndpoints list contains custom endpoints which will override default + service endpoint of AWS Services. + There must be only one ServiceEndpoint for a service. + items: + description: |- + AWSServiceEndpoint store the configuration of a custom url to + override existing defaults of AWS Services. + properties: + name: + description: |- + name is the name of the AWS service. + The list of all the service names can be found at https://docs.aws.amazon.com/general/latest/gr/aws-service-information.html + This must be provided and cannot be empty. + pattern: ^[a-z0-9-]+$ + type: string + url: + description: |- + url is fully qualified URI with scheme https, that overrides the default generated + endpoint for a client. + This must be provided and cannot be empty. + pattern: ^https:// + type: string + type: object + type: array + x-kubernetes-list-type: atomic + type: object + azure: + description: azure contains settings specific to the Azure + infrastructure provider. + type: object + baremetal: + description: baremetal contains settings specific to the + BareMetal platform. + properties: + apiServerInternalIPs: + description: |- + apiServerInternalIPs are the IP addresses to contact the Kubernetes API + server that can be used by components inside the cluster, like kubelets + using the infrastructure rather than Kubernetes networking. These are the + IPs for a self-hosted load balancer in front of the API servers. + In dual stack clusters this list contains two IP addresses, one from IPv4 + family and one from IPv6. + In single stack clusters a single IP address is expected. + When omitted, values from the status.apiServerInternalIPs will be used. + Once set, the list cannot be completely removed (but its second entry can). + items: + description: IP is an IP address (for example, "10.0.0.0" + or "fd00::"). + maxLength: 39 + minLength: 1 + type: string + x-kubernetes-validations: + - message: value must be a valid IP address + rule: isIP(self) + maxItems: 2 + type: array + x-kubernetes-list-type: atomic + x-kubernetes-validations: + - message: apiServerInternalIPs must contain at most + one IPv4 address and at most one IPv6 address + rule: 'size(self) == 2 && isIP(self[0]) && isIP(self[1]) + ? ip(self[0]).family() != ip(self[1]).family() + : true' + ingressIPs: + description: |- + ingressIPs are the external IPs which route to the default ingress + controller. The IPs are suitable targets of a wildcard DNS record used to + resolve default route host names. + In dual stack clusters this list contains two IP addresses, one from IPv4 + family and one from IPv6. + In single stack clusters a single IP address is expected. + When omitted, values from the status.ingressIPs will be used. + Once set, the list cannot be completely removed (but its second entry can). + items: + description: IP is an IP address (for example, "10.0.0.0" + or "fd00::"). + maxLength: 39 + minLength: 1 + type: string + x-kubernetes-validations: + - message: value must be a valid IP address + rule: isIP(self) + maxItems: 2 + type: array + x-kubernetes-list-type: atomic + x-kubernetes-validations: + - message: ingressIPs must contain at most one IPv4 + address and at most one IPv6 address + rule: 'size(self) == 2 && isIP(self[0]) && isIP(self[1]) + ? ip(self[0]).family() != ip(self[1]).family() + : true' + machineNetworks: + description: |- + machineNetworks are IP networks used to connect all the OpenShift cluster + nodes. Each network is provided in the CIDR format and should be IPv4 or IPv6, + for example "10.0.0.0/8" or "fd00::/8". + items: + description: CIDR is an IP address range in CIDR + notation (for example, "10.0.0.0/8" or "fd00::/8"). + maxLength: 43 + minLength: 1 + type: string + x-kubernetes-validations: + - message: value must be a valid CIDR network address + rule: isCIDR(self) + maxItems: 32 + type: array + x-kubernetes-list-type: atomic + x-kubernetes-validations: + - rule: self.all(x, self.exists_one(y, x == y)) + type: object + x-kubernetes-validations: + - message: apiServerInternalIPs list is required once + set + rule: '!has(oldSelf.apiServerInternalIPs) || has(self.apiServerInternalIPs)' + - message: ingressIPs list is required once set + rule: '!has(oldSelf.ingressIPs) || has(self.ingressIPs)' + equinixMetal: + description: equinixMetal contains settings specific to + the Equinix Metal infrastructure provider. + type: object + external: + description: |- + ExternalPlatformType represents generic infrastructure provider. + Platform-specific components should be supplemented separately. + properties: + platformName: + default: Unknown + description: |- + platformName holds the arbitrary string representing the infrastructure provider name, expected to be set at the installation time. + This field is solely for informational and reporting purposes and is not expected to be used for decision-making. + type: string + x-kubernetes-validations: + - message: platform name cannot be changed once set + rule: oldSelf == 'Unknown' || self == oldSelf + type: object + gcp: + description: gcp contains settings specific to the Google + Cloud Platform infrastructure provider. + type: object + ibmcloud: + description: ibmcloud contains settings specific to the + IBMCloud infrastructure provider. + type: object + kubevirt: + description: kubevirt contains settings specific to the + kubevirt infrastructure provider. + type: object + nutanix: + description: nutanix contains settings specific to the + Nutanix infrastructure provider. + properties: + failureDomains: + description: |- + failureDomains configures failure domains information for the Nutanix platform. + When set, the failure domains defined here may be used to spread Machines across + prism element clusters to improve fault tolerance of the cluster. + items: + description: NutanixFailureDomain configures failure + domain information for the Nutanix platform. + properties: + cluster: + description: |- + cluster is to identify the cluster (the Prism Element under management of the Prism Central), + in which the Machine's VM will be created. The cluster identifier (uuid or name) can be obtained + from the Prism Central console or using the prism_central API. + properties: + name: + description: name is the resource name in + the PC. It cannot be empty if the type + is Name. + type: string + type: + description: type is the identifier type + to use for this resource. + enum: + - UUID + - Name + type: string + uuid: + description: uuid is the UUID of the resource + in the PC. It cannot be empty if the type + is UUID. + type: string + required: + - type + type: object + x-kubernetes-validations: + - message: uuid configuration is required when + type is UUID, and forbidden otherwise + rule: 'has(self.type) && self.type == ''UUID'' + ? has(self.uuid) : !has(self.uuid)' + - message: name configuration is required when + type is Name, and forbidden otherwise + rule: 'has(self.type) && self.type == ''Name'' + ? has(self.name) : !has(self.name)' + name: + description: |- + name defines the unique name of a failure domain. + Name is required and must be at most 64 characters in length. + It must consist of only lower case alphanumeric characters and hyphens (-). + It must start and end with an alphanumeric character. + This value is arbitrary and is used to identify the failure domain within the platform. + maxLength: 64 + minLength: 1 + pattern: '[a-z0-9]([-a-z0-9]*[a-z0-9])?' + type: string + subnets: + description: |- + subnets holds a list of identifiers (one or more) of the cluster's network subnets + If the feature gate NutanixMultiSubnets is enabled, up to 32 subnets may be configured. + for the Machine's VM to connect to. The subnet identifiers (uuid or name) can be + obtained from the Prism Central console or using the prism_central API. + items: + description: NutanixResourceIdentifier holds + the identity of a Nutanix PC resource (cluster, + image, subnet, etc.) + properties: + name: + description: name is the resource name + in the PC. It cannot be empty if the + type is Name. + type: string + type: + description: type is the identifier type + to use for this resource. + enum: + - UUID + - Name + type: string + uuid: + description: uuid is the UUID of the resource + in the PC. It cannot be empty if the + type is UUID. + type: string + required: + - type + type: object + x-kubernetes-validations: + - message: uuid configuration is required + when type is UUID, and forbidden otherwise + rule: 'has(self.type) && self.type == ''UUID'' + ? has(self.uuid) : !has(self.uuid)' + - message: name configuration is required + when type is Name, and forbidden otherwise + rule: 'has(self.type) && self.type == ''Name'' + ? has(self.name) : !has(self.name)' + minItems: 1 + type: array + x-kubernetes-list-type: atomic + required: + - cluster + - name + - subnets + type: object + type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map + prismCentral: + description: |- + prismCentral holds the endpoint address and port to access the Nutanix Prism Central. + When a cluster-wide proxy is installed, by default, this endpoint will be accessed via the proxy. + Should you wish for communication with this endpoint not to be proxied, please add the endpoint to the + proxy spec.noProxy list. + properties: + address: + description: address is the endpoint address (DNS + name or IP address) of the Nutanix Prism Central + or Element (cluster) + maxLength: 256 + type: string + port: + description: port is the port number to access + the Nutanix Prism Central or Element (cluster) + format: int32 + maximum: 65535 + minimum: 1 + type: integer + required: + - address + - port + type: object + prismElements: + description: |- + prismElements holds one or more endpoint address and port data to access the Nutanix + Prism Elements (clusters) of the Nutanix Prism Central. Currently we only support one + Prism Element (cluster) for an OpenShift cluster, where all the Nutanix resources (VMs, subnets, volumes, etc.) + used in the OpenShift cluster are located. In the future, we may support Nutanix resources (VMs, etc.) + spread over multiple Prism Elements (clusters) of the Prism Central. + items: + description: NutanixPrismElementEndpoint holds the + name and endpoint data for a Prism Element (cluster) + properties: + endpoint: + description: |- + endpoint holds the endpoint address and port data of the Prism Element (cluster). + When a cluster-wide proxy is installed, by default, this endpoint will be accessed via the proxy. + Should you wish for communication with this endpoint not to be proxied, please add the endpoint to the + proxy spec.noProxy list. + properties: + address: + description: address is the endpoint address + (DNS name or IP address) of the Nutanix + Prism Central or Element (cluster) + maxLength: 256 + type: string + port: + description: port is the port number to + access the Nutanix Prism Central or Element + (cluster) + format: int32 + maximum: 65535 + minimum: 1 + type: integer + required: + - address + - port + type: object + name: + description: |- + name is the name of the Prism Element (cluster). This value will correspond with + the cluster field configured on other resources (eg Machines, PVCs, etc). + maxLength: 256 + type: string + required: + - endpoint + - name + type: object + type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map + required: + - prismCentral + - prismElements + type: object + openstack: + description: openstack contains settings specific to the + OpenStack infrastructure provider. + properties: + apiServerInternalIPs: + description: |- + apiServerInternalIPs are the IP addresses to contact the Kubernetes API + server that can be used by components inside the cluster, like kubelets + using the infrastructure rather than Kubernetes networking. These are the + IPs for a self-hosted load balancer in front of the API servers. + In dual stack clusters this list contains two IP addresses, one from IPv4 + family and one from IPv6. + In single stack clusters a single IP address is expected. + When omitted, values from the status.apiServerInternalIPs will be used. + Once set, the list cannot be completely removed (but its second entry can). + items: + description: IP is an IP address (for example, "10.0.0.0" + or "fd00::"). + maxLength: 39 + minLength: 1 + type: string + x-kubernetes-validations: + - message: value must be a valid IP address + rule: isIP(self) + maxItems: 2 + type: array + x-kubernetes-list-type: atomic + x-kubernetes-validations: + - message: apiServerInternalIPs must contain at most + one IPv4 address and at most one IPv6 address + rule: 'size(self) == 2 && isIP(self[0]) && isIP(self[1]) + ? ip(self[0]).family() != ip(self[1]).family() + : true' + ingressIPs: + description: |- + ingressIPs are the external IPs which route to the default ingress + controller. The IPs are suitable targets of a wildcard DNS record used to + resolve default route host names. + In dual stack clusters this list contains two IP addresses, one from IPv4 + family and one from IPv6. + In single stack clusters a single IP address is expected. + When omitted, values from the status.ingressIPs will be used. + Once set, the list cannot be completely removed (but its second entry can). + items: + description: IP is an IP address (for example, "10.0.0.0" + or "fd00::"). + maxLength: 39 + minLength: 1 + type: string + x-kubernetes-validations: + - message: value must be a valid IP address + rule: isIP(self) + maxItems: 2 + type: array + x-kubernetes-list-type: atomic + x-kubernetes-validations: + - message: ingressIPs must contain at most one IPv4 + address and at most one IPv6 address + rule: 'size(self) == 2 && isIP(self[0]) && isIP(self[1]) + ? ip(self[0]).family() != ip(self[1]).family() + : true' + machineNetworks: + description: |- + machineNetworks are IP networks used to connect all the OpenShift cluster + nodes. Each network is provided in the CIDR format and should be IPv4 or IPv6, + for example "10.0.0.0/8" or "fd00::/8". + items: + description: CIDR is an IP address range in CIDR + notation (for example, "10.0.0.0/8" or "fd00::/8"). + maxLength: 43 + minLength: 1 + type: string + x-kubernetes-validations: + - message: value must be a valid CIDR network address + rule: isCIDR(self) + maxItems: 32 + type: array + x-kubernetes-list-type: atomic + x-kubernetes-validations: + - rule: self.all(x, self.exists_one(y, x == y)) + type: object + x-kubernetes-validations: + - message: apiServerInternalIPs list is required once + set + rule: '!has(oldSelf.apiServerInternalIPs) || has(self.apiServerInternalIPs)' + - message: ingressIPs list is required once set + rule: '!has(oldSelf.ingressIPs) || has(self.ingressIPs)' + ovirt: + description: ovirt contains settings specific to the oVirt + infrastructure provider. + type: object + powervs: + description: powervs contains settings specific to the + IBM Power Systems Virtual Servers infrastructure provider. + properties: + serviceEndpoints: + description: |- + serviceEndpoints is a list of custom endpoints which will override the default + service endpoints of a Power VS service. + items: + description: |- + PowervsServiceEndpoint stores the configuration of a custom url to + override existing defaults of PowerVS Services. + properties: + name: + description: |- + name is the name of the Power VS service. + Few of the services are + IAM - https://cloud.ibm.com/apidocs/iam-identity-token-api + ResourceController - https://cloud.ibm.com/apidocs/resource-controller/resource-controller + Power Cloud - https://cloud.ibm.com/apidocs/power-cloud + enum: + - CIS + - COS + - COSConfig + - DNSServices + - GlobalCatalog + - GlobalSearch + - GlobalTagging + - HyperProtect + - IAM + - KeyProtect + - Power + - ResourceController + - ResourceManager + - VPC + type: string + url: + description: |- + url is fully qualified URI with scheme https, that overrides the default generated + endpoint for a client. + This must be provided and cannot be empty. + format: uri + pattern: ^https:// + type: string + required: + - name + - url + type: object + type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map + type: object + type: + description: |- + type is the underlying infrastructure provider for the cluster. This + value controls whether infrastructure automation such as service load + balancers, dynamic volume provisioning, machine creation and deletion, and + other integrations are enabled. If None, no infrastructure automation is + enabled. Allowed values are "AWS", "Azure", "BareMetal", "GCP", "Libvirt", + "OpenStack", "VSphere", "oVirt", "KubeVirt", "EquinixMetal", "PowerVS", + "AlibabaCloud", "Nutanix" and "None". Individual components may not support all platforms, + and must handle unrecognized platforms as None if they do not support that platform. + enum: + - "" + - AWS + - Azure + - BareMetal + - GCP + - Libvirt + - OpenStack + - None + - VSphere + - oVirt + - IBMCloud + - KubeVirt + - EquinixMetal + - PowerVS + - AlibabaCloud + - Nutanix + - External + type: string + vsphere: + description: vsphere contains settings specific to the + VSphere infrastructure provider. + properties: + apiServerInternalIPs: + description: |- + apiServerInternalIPs are the IP addresses to contact the Kubernetes API + server that can be used by components inside the cluster, like kubelets + using the infrastructure rather than Kubernetes networking. These are the + IPs for a self-hosted load balancer in front of the API servers. + In dual stack clusters this list contains two IP addresses, one from IPv4 + family and one from IPv6. + In single stack clusters a single IP address is expected. + When omitted, values from the status.apiServerInternalIPs will be used. + Once set, the list cannot be completely removed (but its second entry can). + items: + description: IP is an IP address (for example, "10.0.0.0" + or "fd00::"). + maxLength: 39 + minLength: 1 + type: string + x-kubernetes-validations: + - message: value must be a valid IP address + rule: isIP(self) + maxItems: 2 + type: array + x-kubernetes-list-type: atomic + x-kubernetes-validations: + - message: apiServerInternalIPs must contain at most + one IPv4 address and at most one IPv6 address + rule: 'size(self) == 2 && isIP(self[0]) && isIP(self[1]) + ? ip(self[0]).family() != ip(self[1]).family() + : true' + failureDomains: + description: |- + failureDomains contains the definition of region, zone and the vCenter topology. + If this is omitted failure domains (regions and zones) will not be used. + items: + description: VSpherePlatformFailureDomainSpec holds + the region and zone failure domain and the vCenter + topology of that failure domain. + properties: + name: + description: |- + name defines the arbitrary but unique name + of a failure domain. + maxLength: 256 + minLength: 1 + type: string + region: + description: |- + region defines the name of a region tag that will + be attached to a vCenter datacenter. The tag + category in vCenter must be named openshift-region. + maxLength: 80 + minLength: 1 + type: string + regionAffinity: + description: |- + regionAffinity holds the type of region, Datacenter or ComputeCluster. + When set to Datacenter, this means the region is a vCenter Datacenter as defined in topology. + When set to ComputeCluster, this means the region is a vCenter Cluster as defined in topology. + properties: + type: + description: |- + type determines the vSphere object type for a region within this failure domain. + Available types are Datacenter and ComputeCluster. + When set to Datacenter, this means the vCenter Datacenter defined is the region. + When set to ComputeCluster, this means the vCenter cluster defined is the region. + enum: + - ComputeCluster + - Datacenter + type: string + required: + - type + type: object + server: + description: server is the fully-qualified domain + name or the IP address of the vCenter server. + maxLength: 255 + minLength: 1 + type: string + topology: + description: topology describes a given failure + domain using vSphere constructs + properties: + computeCluster: + description: |- + computeCluster the absolute path of the vCenter cluster + in which virtual machine will be located. + The absolute path is of the form //host/. + The maximum length of the path is 2048 characters. + maxLength: 2048 + pattern: ^/.*?/host/.*? + type: string + datacenter: + description: |- + datacenter is the name of vCenter datacenter in which virtual machines will be located. + The maximum length of the datacenter name is 80 characters. + maxLength: 80 + type: string + datastore: + description: |- + datastore is the absolute path of the datastore in which the + virtual machine is located. + The absolute path is of the form //datastore/ + The maximum length of the path is 2048 characters. + maxLength: 2048 + pattern: ^/.*?/datastore/.*? + type: string + folder: + description: |- + folder is the absolute path of the folder where + virtual machines are located. The absolute path + is of the form //vm/. + The maximum length of the path is 2048 characters. + maxLength: 2048 + pattern: ^/.*?/vm/.*? + type: string + networks: + description: |- + networks is the list of port group network names within this failure domain. + If feature gate VSphereMultiNetworks is enabled, up to 10 network adapters may be defined. + 10 is the maximum number of virtual network devices which may be attached to a VM as defined by: + https://configmax.esp.vmware.com/guest?vmwareproduct=vSphere&release=vSphere%208.0&categories=1-0 + The available networks (port groups) can be listed using + `govc ls 'network/*'` + Networks should be in the form of an absolute path: + //network/. + items: + type: string + minItems: 1 + type: array + x-kubernetes-list-type: atomic + resourcePool: + description: |- + resourcePool is the absolute path of the resource pool where virtual machines will be + created. The absolute path is of the form //host//Resources/. + The maximum length of the path is 2048 characters. + maxLength: 2048 + pattern: ^/.*?/host/.*?/Resources.* + type: string + template: + description: |- + template is the full inventory path of the virtual machine or template + that will be cloned when creating new machines in this failure domain. + The maximum length of the path is 2048 characters. + + When omitted, the template will be calculated by the control plane + machineset operator based on the region and zone defined in + VSpherePlatformFailureDomainSpec. + For example, for zone=zonea, region=region1, and infrastructure name=test, + the template path would be calculated as //vm/test-rhcos-region1-zonea. + maxLength: 2048 + minLength: 1 + pattern: ^/.*?/vm/.*? + type: string + required: + - computeCluster + - datacenter + - datastore + - networks + type: object + zone: + description: |- + zone defines the name of a zone tag that will + be attached to a vCenter cluster. The tag + category in vCenter must be named openshift-zone. + maxLength: 80 + minLength: 1 + type: string + zoneAffinity: + description: |- + zoneAffinity holds the type of the zone and the hostGroup which + vmGroup and the hostGroup names in vCenter corresponds to + a vm-host group of type Virtual Machine and Host respectively. Is also + contains the vmHostRule which is an affinity vm-host rule in vCenter. + properties: + hostGroup: + description: |- + hostGroup holds the vmGroup and the hostGroup names in vCenter + corresponds to a vm-host group of type Virtual Machine and Host respectively. Is also + contains the vmHostRule which is an affinity vm-host rule in vCenter. + properties: + hostGroup: + description: |- + hostGroup is the name of the vm-host group of type host within vCenter for this failure domain. + hostGroup is limited to 80 characters. + This field is required when the VSphereFailureDomain ZoneType is HostGroup + maxLength: 80 + minLength: 1 + type: string + vmGroup: + description: |- + vmGroup is the name of the vm-host group of type virtual machine within vCenter for this failure domain. + vmGroup is limited to 80 characters. + This field is required when the VSphereFailureDomain ZoneType is HostGroup + maxLength: 80 + minLength: 1 + type: string + vmHostRule: + description: |- + vmHostRule is the name of the affinity vm-host rule within vCenter for this failure domain. + vmHostRule is limited to 80 characters. + This field is required when the VSphereFailureDomain ZoneType is HostGroup + maxLength: 80 + minLength: 1 + type: string + required: + - hostGroup + - vmGroup + - vmHostRule + type: object + type: + description: |- + type determines the vSphere object type for a zone within this failure domain. + Available types are ComputeCluster and HostGroup. + When set to ComputeCluster, this means the vCenter cluster defined is the zone. + When set to HostGroup, hostGroup must be configured with hostGroup, vmGroup and vmHostRule and + this means the zone is defined by the grouping of those fields. + enum: + - HostGroup + - ComputeCluster + type: string + required: + - type + type: object + x-kubernetes-validations: + - message: hostGroup is required when type is + HostGroup, and forbidden otherwise + rule: 'has(self.type) && self.type == ''HostGroup'' + ? has(self.hostGroup) : !has(self.hostGroup)' + required: + - name + - region + - server + - topology + - zone + type: object + type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map + ingressIPs: + description: |- + ingressIPs are the external IPs which route to the default ingress + controller. The IPs are suitable targets of a wildcard DNS record used to + resolve default route host names. + In dual stack clusters this list contains two IP addresses, one from IPv4 + family and one from IPv6. + In single stack clusters a single IP address is expected. + When omitted, values from the status.ingressIPs will be used. + Once set, the list cannot be completely removed (but its second entry can). + items: + description: IP is an IP address (for example, "10.0.0.0" + or "fd00::"). + maxLength: 39 + minLength: 1 + type: string + x-kubernetes-validations: + - message: value must be a valid IP address + rule: isIP(self) + maxItems: 2 + type: array + x-kubernetes-list-type: atomic + x-kubernetes-validations: + - message: ingressIPs must contain at most one IPv4 + address and at most one IPv6 address + rule: 'size(self) == 2 && isIP(self[0]) && isIP(self[1]) + ? ip(self[0]).family() != ip(self[1]).family() + : true' + machineNetworks: + description: |- + machineNetworks are IP networks used to connect all the OpenShift cluster + nodes. Each network is provided in the CIDR format and should be IPv4 or IPv6, + for example "10.0.0.0/8" or "fd00::/8". + items: + description: CIDR is an IP address range in CIDR + notation (for example, "10.0.0.0/8" or "fd00::/8"). + maxLength: 43 + minLength: 1 + type: string + x-kubernetes-validations: + - message: value must be a valid CIDR network address + rule: isCIDR(self) + maxItems: 32 + type: array + x-kubernetes-list-type: atomic + x-kubernetes-validations: + - rule: self.all(x, self.exists_one(y, x == y)) + nodeNetworking: + description: |- + nodeNetworking contains the definition of internal and external network constraints for + assigning the node's networking. + If this field is omitted, networking defaults to the legacy + address selection behavior which is to only support a single address and + return the first one found. + properties: + external: + description: external represents the network configuration + of the node that is externally routable. + properties: + excludeNetworkSubnetCidr: + description: |- + excludeNetworkSubnetCidr IP addresses in subnet ranges will be excluded when selecting + the IP address from the VirtualMachine's VM for use in the status.addresses fields. + items: + type: string + type: array + x-kubernetes-list-type: atomic + network: + description: |- + network VirtualMachine's VM Network names that will be used to when searching + for status.addresses fields. Note that if internal.networkSubnetCIDR and + external.networkSubnetCIDR are not set, then the vNIC associated to this network must + only have a single IP address assigned to it. + The available networks (port groups) can be listed using + `govc ls 'network/*'` + type: string + networkSubnetCidr: + description: |- + networkSubnetCidr IP address on VirtualMachine's network interfaces included in the fields' CIDRs + that will be used in respective status.addresses fields. + items: + type: string + type: array + x-kubernetes-list-type: set + type: object + internal: + description: internal represents the network configuration + of the node that is routable only within the + cluster. + properties: + excludeNetworkSubnetCidr: + description: |- + excludeNetworkSubnetCidr IP addresses in subnet ranges will be excluded when selecting + the IP address from the VirtualMachine's VM for use in the status.addresses fields. + items: + type: string + type: array + x-kubernetes-list-type: atomic + network: + description: |- + network VirtualMachine's VM Network names that will be used to when searching + for status.addresses fields. Note that if internal.networkSubnetCIDR and + external.networkSubnetCIDR are not set, then the vNIC associated to this network must + only have a single IP address assigned to it. + The available networks (port groups) can be listed using + `govc ls 'network/*'` + type: string + networkSubnetCidr: + description: |- + networkSubnetCidr IP address on VirtualMachine's network interfaces included in the fields' CIDRs + that will be used in respective status.addresses fields. + items: + type: string + type: array + x-kubernetes-list-type: set + type: object + type: object + vcenters: + description: |- + vcenters holds the connection details for services to communicate with vCenter. + Currently, only a single vCenter is supported, but in tech preview 3 vCenters are supported. + Once the cluster has been installed, you are unable to change the current number of defined + vCenters except in the case where the cluster has been upgraded from a version of OpenShift + where the vsphere platform spec was not present. You may make modifications to the existing + vCenters that are defined in the vcenters list in order to match with any added or modified + failure domains. + items: + description: |- + VSpherePlatformVCenterSpec stores the vCenter connection fields. + This is used by the vSphere CCM. + properties: + datacenters: + description: |- + The vCenter Datacenters in which the RHCOS + vm guests are located. This field will + be used by the Cloud Controller Manager. + Each datacenter listed here should be used within + a topology. + items: + type: string + minItems: 1 + type: array + x-kubernetes-list-type: set + port: + description: |- + port is the TCP port that will be used to communicate to + the vCenter endpoint. + When omitted, this means the user has no opinion and + it is up to the platform to choose a sensible default, + which is subject to change over time. + format: int32 + maximum: 32767 + minimum: 1 + type: integer + server: + description: server is the fully-qualified domain + name or the IP address of the vCenter server. + maxLength: 255 + type: string + required: + - datacenters + - server + type: object + maxItems: 3 + minItems: 0 + type: array + x-kubernetes-list-type: atomic + x-kubernetes-validations: + - message: vcenters cannot be added or removed once + set + rule: 'size(self) != size(oldSelf) ? size(oldSelf) + == 0 && size(self) < 2 : true' + type: object + x-kubernetes-validations: + - message: apiServerInternalIPs list is required once + set + rule: '!has(oldSelf.apiServerInternalIPs) || has(self.apiServerInternalIPs)' + - message: ingressIPs list is required once set + rule: '!has(oldSelf.ingressIPs) || has(self.ingressIPs)' + - message: vcenters can have at most 1 item when configured + post-install + rule: '!has(oldSelf.vcenters) && has(self.vcenters) + ? size(self.vcenters) < 2 : true' + type: object + x-kubernetes-validations: + - message: vcenters can have at most 1 item when configured + post-install + rule: '!has(oldSelf.vsphere) && has(self.vsphere) ? size(self.vsphere.vcenters) + < 2 : true' + type: object + status: + description: status holds observed values from the cluster. They + may not be overridden. + properties: + apiServerInternalURI: + description: |- + apiServerInternalURL is a valid URI with scheme 'https', + address and optionally a port (defaulting to 443). apiServerInternalURL can be used by components + like kubelets, to contact the Kubernetes API server using the + infrastructure provider rather than Kubernetes networking. + type: string + apiServerURL: + description: |- + apiServerURL is a valid URI with scheme 'https', address and + optionally a port (defaulting to 443). apiServerURL can be used by components like the web console + to tell users where to find the Kubernetes API. + type: string + controlPlaneTopology: + default: HighlyAvailable + description: |- + controlPlaneTopology expresses the expectations for operands that normally run on control nodes. + The default is 'HighlyAvailable', which represents the behavior operators have in a "normal" cluster. + The 'SingleReplica' mode will be used in single-node deployments + and the operators should not configure the operand for highly-available operation + The 'External' mode indicates that the control plane is hosted externally to the cluster and that + its components are not visible within the cluster. + type: string + cpuPartitioning: + default: None + description: |- + cpuPartitioning expresses if CPU partitioning is a currently enabled feature in the cluster. + CPU Partitioning means that this cluster can support partitioning workloads to specific CPU Sets. + Valid values are "None" and "AllNodes". When omitted, the default value is "None". + The default value of "None" indicates that no nodes will be setup with CPU partitioning. + The "AllNodes" value indicates that all nodes have been setup with CPU partitioning, + and can then be further configured via the PerformanceProfile API. + enum: + - None + - AllNodes + type: string + etcdDiscoveryDomain: + description: |- + etcdDiscoveryDomain is the domain used to fetch the SRV records for discovering + etcd servers and clients. + For more info: https://github.com/etcd-io/etcd/blob/329be66e8b3f9e2e6af83c123ff89297e49ebd15/Documentation/op-guide/clustering.md#dns-discovery + deprecated: as of 4.7, this field is no longer set or honored. It will be removed in a future release. + type: string + infrastructureName: + description: |- + infrastructureName uniquely identifies a cluster with a human friendly name. + Once set it should not be changed. Must be of max length 27 and must have only + alphanumeric or hyphen characters. + type: string + infrastructureTopology: + default: HighlyAvailable + description: |- + infrastructureTopology expresses the expectations for infrastructure services that do not run on control + plane nodes, usually indicated by a node selector for a `role` value + other than `master`. + The default is 'HighlyAvailable', which represents the behavior operators have in a "normal" cluster. + The 'SingleReplica' mode will be used in single-node deployments + and the operators should not configure the operand for highly-available operation + NOTE: External topology mode is not applicable for this field. + enum: + - HighlyAvailable + - SingleReplica + type: string + platform: + description: |- + platform is the underlying infrastructure provider for the cluster. + + Deprecated: Use platformStatus.type instead. + enum: + - "" + - AWS + - Azure + - BareMetal + - GCP + - Libvirt + - OpenStack + - None + - VSphere + - oVirt + - IBMCloud + - KubeVirt + - EquinixMetal + - PowerVS + - AlibabaCloud + - Nutanix + - External + type: string + platformStatus: + description: |- + platformStatus holds status information specific to the underlying + infrastructure provider. + properties: + alibabaCloud: + description: alibabaCloud contains settings specific to + the Alibaba Cloud infrastructure provider. + properties: + region: + description: region specifies the region for Alibaba + Cloud resources created for the cluster. + pattern: ^[0-9A-Za-z-]+$ + type: string + resourceGroupID: + description: resourceGroupID is the ID of the resource + group for the cluster. + pattern: ^(rg-[0-9A-Za-z]+)?$ + type: string + resourceTags: + description: resourceTags is a list of additional + tags to apply to Alibaba Cloud resources created + for the cluster. + items: + description: AlibabaCloudResourceTag is the set + of tags to add to apply to resources. + properties: + key: + description: key is the key of the tag. + maxLength: 128 + minLength: 1 + type: string + value: + description: value is the value of the tag. + maxLength: 128 + minLength: 1 + type: string + required: + - key + - value + type: object + maxItems: 20 + type: array + x-kubernetes-list-map-keys: + - key + x-kubernetes-list-type: map + required: + - region + type: object + aws: + description: aws contains settings specific to the Amazon + Web Services infrastructure provider. + properties: + region: + description: region holds the default AWS region for + new AWS resources created by the cluster. + type: string + resourceTags: + description: |- + resourceTags is a list of additional tags to apply to AWS resources created for the cluster. + See https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html for information on tagging AWS resources. + AWS supports a maximum of 50 tags per resource. OpenShift reserves 25 tags for its use, leaving 25 tags + available for the user. + items: + description: AWSResourceTag is a tag to apply to + AWS resources created for the cluster. + properties: + key: + description: |- + key sets the key of the AWS resource tag key-value pair. Key is required when defining an AWS resource tag. + Key should consist of between 1 and 128 characters, and may + contain only the set of alphanumeric characters, space (' '), '_', '.', '/', '=', '+', '-', ':', and '@'. + maxLength: 128 + minLength: 1 + type: string + x-kubernetes-validations: + - message: invalid AWS resource tag key. The + string can contain only the set of alphanumeric + characters, space (' '), '_', '.', '/', + '=', '+', '-', ':', '@' + rule: self.matches('^[0-9A-Za-z_.:/=+-@ ]+$') + value: + description: |- + value sets the value of the AWS resource tag key-value pair. Value is required when defining an AWS resource tag. + Value should consist of between 1 and 256 characters, and may + contain only the set of alphanumeric characters, space (' '), '_', '.', '/', '=', '+', '-', ':', and '@'. + Some AWS service do not support empty values. Since tags are added to resources in many services, the + length of the tag value must meet the requirements of all services. + maxLength: 256 + minLength: 1 + type: string + x-kubernetes-validations: + - message: invalid AWS resource tag value. The + string can contain only the set of alphanumeric + characters, space (' '), '_', '.', '/', + '=', '+', '-', ':', '@' + rule: self.matches('^[0-9A-Za-z_.:/=+-@ ]+$') + required: + - key + - value + type: object + maxItems: 25 + type: array + x-kubernetes-list-type: atomic + serviceEndpoints: + description: |- + serviceEndpoints list contains custom endpoints which will override default + service endpoint of AWS Services. + There must be only one ServiceEndpoint for a service. + items: + description: |- + AWSServiceEndpoint store the configuration of a custom url to + override existing defaults of AWS Services. + properties: + name: + description: |- + name is the name of the AWS service. + The list of all the service names can be found at https://docs.aws.amazon.com/general/latest/gr/aws-service-information.html + This must be provided and cannot be empty. + pattern: ^[a-z0-9-]+$ + type: string + url: + description: |- + url is fully qualified URI with scheme https, that overrides the default generated + endpoint for a client. + This must be provided and cannot be empty. + pattern: ^https:// + type: string + type: object + type: array + x-kubernetes-list-type: atomic + type: object + azure: + description: azure contains settings specific to the Azure + infrastructure provider. + properties: + armEndpoint: + description: armEndpoint specifies a URL to use for + resource management in non-soverign clouds such + as Azure Stack. + type: string + cloudName: + description: |- + cloudName is the name of the Azure cloud environment which can be used to configure the Azure SDK + with the appropriate Azure API endpoints. + If empty, the value is equal to `AzurePublicCloud`. + enum: + - "" + - AzurePublicCloud + - AzureUSGovernmentCloud + - AzureChinaCloud + - AzureGermanCloud + - AzureStackCloud + type: string + networkResourceGroupName: + description: |- + networkResourceGroupName is the Resource Group for network resources like the Virtual Network and Subnets used by the cluster. + If empty, the value is same as ResourceGroupName. + type: string + resourceGroupName: + description: resourceGroupName is the Resource Group + for new Azure resources created for the cluster. + type: string + resourceTags: + description: |- + resourceTags is a list of additional tags to apply to Azure resources created for the cluster. + See https://docs.microsoft.com/en-us/rest/api/resources/tags for information on tagging Azure resources. + Due to limitations on Automation, Content Delivery Network, DNS Azure resources, a maximum of 15 tags + may be applied. OpenShift reserves 5 tags for internal use, allowing 10 tags for user configuration. + items: + description: AzureResourceTag is a tag to apply + to Azure resources created for the cluster. + properties: + key: + description: |- + key is the key part of the tag. A tag key can have a maximum of 128 characters and cannot be empty. Key + must begin with a letter, end with a letter, number or underscore, and must contain only alphanumeric + characters and the following special characters `_ . -`. + maxLength: 128 + minLength: 1 + pattern: ^[a-zA-Z]([0-9A-Za-z_.-]*[0-9A-Za-z_])?$ + type: string + value: + description: |- + value is the value part of the tag. A tag value can have a maximum of 256 characters and cannot be empty. Value + must contain only alphanumeric characters and the following special characters `_ + , - . / : ; < = > ? @`. + maxLength: 256 + minLength: 1 + pattern: ^[0-9A-Za-z_.=+-@]+$ + type: string + required: + - key + - value + type: object + maxItems: 10 + type: array + x-kubernetes-list-type: atomic + x-kubernetes-validations: + - message: resourceTags are immutable and may only + be configured during installation + rule: self.all(x, x in oldSelf) && oldSelf.all(x, + x in self) + type: object + x-kubernetes-validations: + - message: resourceTags may only be configured during + installation + rule: '!has(oldSelf.resourceTags) && !has(self.resourceTags) + || has(oldSelf.resourceTags) && has(self.resourceTags)' + baremetal: + description: baremetal contains settings specific to the + BareMetal platform. + properties: + apiServerInternalIP: + description: |- + apiServerInternalIP is an IP address to contact the Kubernetes API server that can be used + by components inside the cluster, like kubelets using the infrastructure rather + than Kubernetes networking. It is the IP that the Infrastructure.status.apiServerInternalURI + points to. It is the IP for a self-hosted load balancer in front of the API servers. + + Deprecated: Use APIServerInternalIPs instead. + type: string + apiServerInternalIPs: + description: |- + apiServerInternalIPs are the IP addresses to contact the Kubernetes API + server that can be used by components inside the cluster, like kubelets + using the infrastructure rather than Kubernetes networking. These are the + IPs for a self-hosted load balancer in front of the API servers. In dual + stack clusters this list contains two IPs otherwise only one. + format: ip + items: + type: string + maxItems: 2 + type: array + x-kubernetes-list-type: atomic + x-kubernetes-validations: + - message: apiServerInternalIPs must contain at most + one IPv4 address and at most one IPv6 address + rule: 'self == oldSelf || (size(self) == 2 && isIP(self[0]) + && isIP(self[1]) ? ip(self[0]).family() != ip(self[1]).family() + : true)' + dnsRecordsType: + description: |- + dnsRecordsType determines whether records for api, api-int, and ingress + are provided by the internal DNS service or externally. + Allowed values are `Internal`, `External`, and omitted. + When set to `Internal`, records are provided by the internal infrastructure + When set to `External`, records are not provided by the internal infrastructure + and must be configured by the user. This value may only be set when a + user-managed loadbalancer is configured. + When omitted, this means the user has no opinion and the platform is left + to choose reasonable defaults. These defaults are subject to change over time. + The current default is `Internal`. + enum: + - Internal + - External + type: string + ingressIP: + description: |- + ingressIP is an external IP which routes to the default ingress controller. + The IP is a suitable target of a wildcard DNS record used to resolve default route host names. + + Deprecated: Use IngressIPs instead. + type: string + ingressIPs: + description: |- + ingressIPs are the external IPs which route to the default ingress + controller. The IPs are suitable targets of a wildcard DNS record used to + resolve default route host names. In dual stack clusters this list + contains two IPs otherwise only one. + format: ip + items: + type: string + maxItems: 2 + type: array + x-kubernetes-list-type: atomic + x-kubernetes-validations: + - message: ingressIPs must contain at most one IPv4 + address and at most one IPv6 address + rule: 'self == oldSelf || (size(self) == 2 && isIP(self[0]) + && isIP(self[1]) ? ip(self[0]).family() != ip(self[1]).family() + : true)' + loadBalancer: + default: + type: OpenShiftManagedDefault + description: loadBalancer defines how the load balancer + used by the cluster is configured. + properties: + type: + default: OpenShiftManagedDefault + description: |- + type defines the type of load balancer used by the cluster on BareMetal platform + which can be a user-managed or openshift-managed load balancer + that is to be used for the OpenShift API and Ingress endpoints. + When set to OpenShiftManagedDefault the static pods in charge of API and Ingress traffic load-balancing + defined in the machine config operator will be deployed. + When set to UserManaged these static pods will not be deployed and it is expected that + the load balancer is configured out of band by the deployer. + When omitted, this means no opinion and the platform is left to choose a reasonable default. + The default value is OpenShiftManagedDefault. + enum: + - OpenShiftManagedDefault + - UserManaged + type: string + x-kubernetes-validations: + - message: type is immutable once set + rule: oldSelf == '' || self == oldSelf + type: object + machineNetworks: + description: machineNetworks are IP networks used + to connect all the OpenShift cluster nodes. + items: + description: CIDR is an IP address range in CIDR + notation (for example, "10.0.0.0/8" or "fd00::/8"). + maxLength: 43 + minLength: 1 + type: string + x-kubernetes-validations: + - message: value must be a valid CIDR network address + rule: isCIDR(self) + maxItems: 32 + type: array + x-kubernetes-list-type: atomic + x-kubernetes-validations: + - rule: self.all(x, self.exists_one(y, x == y)) + nodeDNSIP: + description: |- + nodeDNSIP is the IP address for the internal DNS used by the + nodes. Unlike the one managed by the DNS operator, `NodeDNSIP` + provides name resolution for the nodes themselves. There is no DNS-as-a-service for + BareMetal deployments. In order to minimize necessary changes to the + datacenter DNS, a DNS service is hosted as a static pod to serve those hostnames + to the nodes in the cluster. + type: string + type: object + equinixMetal: + description: equinixMetal contains settings specific to + the Equinix Metal infrastructure provider. + properties: + apiServerInternalIP: + description: |- + apiServerInternalIP is an IP address to contact the Kubernetes API server that can be used + by components inside the cluster, like kubelets using the infrastructure rather + than Kubernetes networking. It is the IP that the Infrastructure.status.apiServerInternalURI + points to. It is the IP for a self-hosted load balancer in front of the API servers. + type: string + ingressIP: + description: |- + ingressIP is an external IP which routes to the default ingress controller. + The IP is a suitable target of a wildcard DNS record used to resolve default route host names. + type: string + type: object + external: + description: external contains settings specific to the + generic External infrastructure provider. + properties: + cloudControllerManager: + description: |- + cloudControllerManager contains settings specific to the external Cloud Controller Manager (a.k.a. CCM or CPI). + When omitted, new nodes will be not tainted + and no extra initialization from the cloud controller manager is expected. + properties: + state: + description: |- + state determines whether or not an external Cloud Controller Manager is expected to + be installed within the cluster. + https://kubernetes.io/docs/tasks/administer-cluster/running-cloud-controller/#running-cloud-controller-manager + + Valid values are "External", "None" and omitted. + When set to "External", new nodes will be tainted as uninitialized when created, + preventing them from running workloads until they are initialized by the cloud controller manager. + When omitted or set to "None", new nodes will be not tainted + and no extra initialization from the cloud controller manager is expected. + enum: + - "" + - External + - None + type: string + x-kubernetes-validations: + - message: state is immutable once set + rule: self == oldSelf + type: object + x-kubernetes-validations: + - message: state may not be added or removed once + set + rule: (has(self.state) == has(oldSelf.state)) || + (!has(oldSelf.state) && self.state != "External") + type: object + x-kubernetes-validations: + - message: cloudControllerManager may not be added or + removed once set + rule: has(self.cloudControllerManager) == has(oldSelf.cloudControllerManager) + gcp: + description: gcp contains settings specific to the Google + Cloud Platform infrastructure provider. + properties: + projectID: + description: resourceGroupName is the Project ID for + new GCP resources created for the cluster. + type: string + region: + description: region holds the region for new GCP resources + created for the cluster. + type: string + resourceLabels: + description: |- + resourceLabels is a list of additional labels to apply to GCP resources created for the cluster. + See https://cloud.google.com/compute/docs/labeling-resources for information on labeling GCP resources. + GCP supports a maximum of 64 labels per resource. OpenShift reserves 32 labels for internal use, + allowing 32 labels for user configuration. + items: + description: GCPResourceLabel is a label to apply + to GCP resources created for the cluster. + properties: + key: + description: |- + key is the key part of the label. A label key can have a maximum of 63 characters and cannot be empty. + Label key must begin with a lowercase letter, and must contain only lowercase letters, numeric characters, + and the following special characters `_-`. Label key must not have the reserved prefixes `kubernetes-io` + and `openshift-io`. + maxLength: 63 + minLength: 1 + pattern: ^[a-z][0-9a-z_-]{0,62}$ + type: string + x-kubernetes-validations: + - message: label keys must not start with either + `openshift-io` or `kubernetes-io` + rule: '!self.startsWith(''openshift-io'') + && !self.startsWith(''kubernetes-io'')' + value: + description: |- + value is the value part of the label. A label value can have a maximum of 63 characters and cannot be empty. + Value must contain only lowercase letters, numeric characters, and the following special characters `_-`. + maxLength: 63 + minLength: 1 + pattern: ^[0-9a-z_-]{1,63}$ + type: string + required: + - key + - value + type: object + maxItems: 32 + type: array + x-kubernetes-list-map-keys: + - key + x-kubernetes-list-type: map + x-kubernetes-validations: + - message: resourceLabels are immutable and may only + be configured during installation + rule: self.all(x, x in oldSelf) && oldSelf.all(x, + x in self) + resourceTags: + description: |- + resourceTags is a list of additional tags to apply to GCP resources created for the cluster. + See https://cloud.google.com/resource-manager/docs/tags/tags-overview for information on + tagging GCP resources. GCP supports a maximum of 50 tags per resource. + items: + description: GCPResourceTag is a tag to apply to + GCP resources created for the cluster. + properties: + key: + description: |- + key is the key part of the tag. A tag key can have a maximum of 63 characters and cannot be empty. + Tag key must begin and end with an alphanumeric character, and must contain only uppercase, lowercase + alphanumeric characters, and the following special characters `._-`. + maxLength: 63 + minLength: 1 + pattern: ^[a-zA-Z0-9]([0-9A-Za-z_.-]{0,61}[a-zA-Z0-9])?$ + type: string + parentID: + description: |- + parentID is the ID of the hierarchical resource where the tags are defined, + e.g. at the Organization or the Project level. To find the Organization or Project ID refer to the following pages: + https://cloud.google.com/resource-manager/docs/creating-managing-organization#retrieving_your_organization_id, + https://cloud.google.com/resource-manager/docs/creating-managing-projects#identifying_projects. + An OrganizationID must consist of decimal numbers, and cannot have leading zeroes. + A ProjectID must be 6 to 30 characters in length, can only contain lowercase letters, numbers, + and hyphens, and must start with a letter, and cannot end with a hyphen. + maxLength: 32 + minLength: 1 + pattern: (^[1-9][0-9]{0,31}$)|(^[a-z][a-z0-9-]{4,28}[a-z0-9]$) + type: string + value: + description: |- + value is the value part of the tag. A tag value can have a maximum of 63 characters and cannot be empty. + Tag value must begin and end with an alphanumeric character, and must contain only uppercase, lowercase + alphanumeric characters, and the following special characters `_-.@%=+:,*#&(){}[]` and spaces. + maxLength: 63 + minLength: 1 + pattern: ^[a-zA-Z0-9]([0-9A-Za-z_.@%=+:,*#&()\[\]{}\-\s]{0,61}[a-zA-Z0-9])?$ + type: string + required: + - key + - parentID + - value + type: object + maxItems: 50 + type: array + x-kubernetes-list-map-keys: + - key + x-kubernetes-list-type: map + x-kubernetes-validations: + - message: resourceTags are immutable and may only + be configured during installation + rule: self.all(x, x in oldSelf) && oldSelf.all(x, + x in self) + type: object + x-kubernetes-validations: + - message: resourceLabels may only be configured during + installation + rule: '!has(oldSelf.resourceLabels) && !has(self.resourceLabels) + || has(oldSelf.resourceLabels) && has(self.resourceLabels)' + - message: resourceTags may only be configured during + installation + rule: '!has(oldSelf.resourceTags) && !has(self.resourceTags) + || has(oldSelf.resourceTags) && has(self.resourceTags)' + ibmcloud: + description: ibmcloud contains settings specific to the + IBMCloud infrastructure provider. + properties: + cisInstanceCRN: + description: |- + cisInstanceCRN is the CRN of the Cloud Internet Services instance managing + the DNS zone for the cluster's base domain + type: string + dnsInstanceCRN: + description: |- + dnsInstanceCRN is the CRN of the DNS Services instance managing the DNS zone + for the cluster's base domain + type: string + location: + description: location is where the cluster has been + deployed + type: string + providerType: + description: providerType indicates the type of cluster + that was created + type: string + resourceGroupName: + description: resourceGroupName is the Resource Group + for new IBMCloud resources created for the cluster. + type: string + serviceEndpoints: + description: |- + serviceEndpoints is a list of custom endpoints which will override the default + service endpoints of an IBM service. These endpoints are used by components + within the cluster when trying to reach the IBM Cloud Services that have been + overridden. The CCCMO reads in the IBMCloudPlatformSpec and validates each + endpoint is resolvable. Once validated, the cloud config and IBMCloudPlatformStatus + are updated to reflect the same custom endpoints. + items: + description: |- + IBMCloudServiceEndpoint stores the configuration of a custom url to + override existing defaults of IBM Cloud Services. + properties: + name: + description: |- + name is the name of the IBM Cloud service. + Possible values are: CIS, COS, COSConfig, DNSServices, GlobalCatalog, GlobalSearch, GlobalTagging, HyperProtect, IAM, KeyProtect, ResourceController, ResourceManager, or VPC. + For example, the IBM Cloud Private IAM service could be configured with the + service `name` of `IAM` and `url` of `https://private.iam.cloud.ibm.com` + Whereas the IBM Cloud Private VPC service for US South (Dallas) could be configured + with the service `name` of `VPC` and `url` of `https://us.south.private.iaas.cloud.ibm.com` + enum: + - CIS + - COS + - COSConfig + - DNSServices + - GlobalCatalog + - GlobalSearch + - GlobalTagging + - HyperProtect + - IAM + - KeyProtect + - ResourceController + - ResourceManager + - VPC + type: string + url: + description: |- + url is fully qualified URI with scheme https, that overrides the default generated + endpoint for a client. + This must be provided and cannot be empty. The path must follow the pattern + /v[0,9]+ or /api/v[0,9]+ + maxLength: 300 + type: string + x-kubernetes-validations: + - message: url must be a valid absolute URL + rule: isURL(self) + required: + - name + - url + type: object + type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map + type: object + kubevirt: + description: kubevirt contains settings specific to the + kubevirt infrastructure provider. + properties: + apiServerInternalIP: + description: |- + apiServerInternalIP is an IP address to contact the Kubernetes API server that can be used + by components inside the cluster, like kubelets using the infrastructure rather + than Kubernetes networking. It is the IP that the Infrastructure.status.apiServerInternalURI + points to. It is the IP for a self-hosted load balancer in front of the API servers. + type: string + ingressIP: + description: |- + ingressIP is an external IP which routes to the default ingress controller. + The IP is a suitable target of a wildcard DNS record used to resolve default route host names. + type: string + type: object + nutanix: + description: nutanix contains settings specific to the + Nutanix infrastructure provider. + properties: + apiServerInternalIP: + description: |- + apiServerInternalIP is an IP address to contact the Kubernetes API server that can be used + by components inside the cluster, like kubelets using the infrastructure rather + than Kubernetes networking. It is the IP that the Infrastructure.status.apiServerInternalURI + points to. It is the IP for a self-hosted load balancer in front of the API servers. + + Deprecated: Use APIServerInternalIPs instead. + type: string + apiServerInternalIPs: + description: |- + apiServerInternalIPs are the IP addresses to contact the Kubernetes API + server that can be used by components inside the cluster, like kubelets + using the infrastructure rather than Kubernetes networking. These are the + IPs for a self-hosted load balancer in front of the API servers. In dual + stack clusters this list contains two IPs otherwise only one. + format: ip + items: + type: string + maxItems: 2 + type: array + x-kubernetes-list-type: set + x-kubernetes-validations: + - message: apiServerInternalIPs must contain at most + one IPv4 address and at most one IPv6 address + rule: 'self == oldSelf || (size(self) == 2 && isIP(self[0]) + && isIP(self[1]) ? ip(self[0]).family() != ip(self[1]).family() + : true)' + ingressIP: + description: |- + ingressIP is an external IP which routes to the default ingress controller. + The IP is a suitable target of a wildcard DNS record used to resolve default route host names. + + Deprecated: Use IngressIPs instead. + type: string + ingressIPs: + description: |- + ingressIPs are the external IPs which route to the default ingress + controller. The IPs are suitable targets of a wildcard DNS record used to + resolve default route host names. In dual stack clusters this list + contains two IPs otherwise only one. + format: ip + items: + type: string + maxItems: 2 + type: array + x-kubernetes-list-type: set + x-kubernetes-validations: + - message: ingressIPs must contain at most one IPv4 + address and at most one IPv6 address + rule: 'self == oldSelf || (size(self) == 2 && isIP(self[0]) + && isIP(self[1]) ? ip(self[0]).family() != ip(self[1]).family() + : true)' + loadBalancer: + default: + type: OpenShiftManagedDefault + description: loadBalancer defines how the load balancer + used by the cluster is configured. + properties: + type: + default: OpenShiftManagedDefault + description: |- + type defines the type of load balancer used by the cluster on Nutanix platform + which can be a user-managed or openshift-managed load balancer + that is to be used for the OpenShift API and Ingress endpoints. + When set to OpenShiftManagedDefault the static pods in charge of API and Ingress traffic load-balancing + defined in the machine config operator will be deployed. + When set to UserManaged these static pods will not be deployed and it is expected that + the load balancer is configured out of band by the deployer. + When omitted, this means no opinion and the platform is left to choose a reasonable default. + The default value is OpenShiftManagedDefault. + enum: + - OpenShiftManagedDefault + - UserManaged + type: string + x-kubernetes-validations: + - message: type is immutable once set + rule: oldSelf == '' || self == oldSelf + type: object + type: object + openstack: + description: openstack contains settings specific to the + OpenStack infrastructure provider. + properties: + apiServerInternalIP: + description: |- + apiServerInternalIP is an IP address to contact the Kubernetes API server that can be used + by components inside the cluster, like kubelets using the infrastructure rather + than Kubernetes networking. It is the IP that the Infrastructure.status.apiServerInternalURI + points to. It is the IP for a self-hosted load balancer in front of the API servers. + + Deprecated: Use APIServerInternalIPs instead. + type: string + apiServerInternalIPs: + description: |- + apiServerInternalIPs are the IP addresses to contact the Kubernetes API + server that can be used by components inside the cluster, like kubelets + using the infrastructure rather than Kubernetes networking. These are the + IPs for a self-hosted load balancer in front of the API servers. In dual + stack clusters this list contains two IPs otherwise only one. + format: ip + items: + type: string + maxItems: 2 + type: array + x-kubernetes-list-type: atomic + x-kubernetes-validations: + - message: apiServerInternalIPs must contain at most + one IPv4 address and at most one IPv6 address + rule: 'self == oldSelf || (size(self) == 2 && isIP(self[0]) + && isIP(self[1]) ? ip(self[0]).family() != ip(self[1]).family() + : true)' + cloudName: + description: |- + cloudName is the name of the desired OpenStack cloud in the + client configuration file (`clouds.yaml`). + type: string + ingressIP: + description: |- + ingressIP is an external IP which routes to the default ingress controller. + The IP is a suitable target of a wildcard DNS record used to resolve default route host names. + + Deprecated: Use IngressIPs instead. + type: string + ingressIPs: + description: |- + ingressIPs are the external IPs which route to the default ingress + controller. The IPs are suitable targets of a wildcard DNS record used to + resolve default route host names. In dual stack clusters this list + contains two IPs otherwise only one. + format: ip + items: + type: string + maxItems: 2 + type: array + x-kubernetes-list-type: atomic + x-kubernetes-validations: + - message: ingressIPs must contain at most one IPv4 + address and at most one IPv6 address + rule: 'self == oldSelf || (size(self) == 2 && isIP(self[0]) + && isIP(self[1]) ? ip(self[0]).family() != ip(self[1]).family() + : true)' + loadBalancer: + default: + type: OpenShiftManagedDefault + description: loadBalancer defines how the load balancer + used by the cluster is configured. + properties: + type: + default: OpenShiftManagedDefault + description: |- + type defines the type of load balancer used by the cluster on OpenStack platform + which can be a user-managed or openshift-managed load balancer + that is to be used for the OpenShift API and Ingress endpoints. + When set to OpenShiftManagedDefault the static pods in charge of API and Ingress traffic load-balancing + defined in the machine config operator will be deployed. + When set to UserManaged these static pods will not be deployed and it is expected that + the load balancer is configured out of band by the deployer. + When omitted, this means no opinion and the platform is left to choose a reasonable default. + The default value is OpenShiftManagedDefault. + enum: + - OpenShiftManagedDefault + - UserManaged + type: string + x-kubernetes-validations: + - message: type is immutable once set + rule: oldSelf == '' || self == oldSelf + type: object + machineNetworks: + description: machineNetworks are IP networks used + to connect all the OpenShift cluster nodes. + items: + description: CIDR is an IP address range in CIDR + notation (for example, "10.0.0.0/8" or "fd00::/8"). + maxLength: 43 + minLength: 1 + type: string + x-kubernetes-validations: + - message: value must be a valid CIDR network address + rule: isCIDR(self) + maxItems: 32 + type: array + x-kubernetes-list-type: atomic + x-kubernetes-validations: + - rule: self.all(x, self.exists_one(y, x == y)) + nodeDNSIP: + description: |- + nodeDNSIP is the IP address for the internal DNS used by the + nodes. Unlike the one managed by the DNS operator, `NodeDNSIP` + provides name resolution for the nodes themselves. There is no DNS-as-a-service for + OpenStack deployments. In order to minimize necessary changes to the + datacenter DNS, a DNS service is hosted as a static pod to serve those hostnames + to the nodes in the cluster. + type: string + type: object + ovirt: + description: ovirt contains settings specific to the oVirt + infrastructure provider. + properties: + apiServerInternalIP: + description: |- + apiServerInternalIP is an IP address to contact the Kubernetes API server that can be used + by components inside the cluster, like kubelets using the infrastructure rather + than Kubernetes networking. It is the IP that the Infrastructure.status.apiServerInternalURI + points to. It is the IP for a self-hosted load balancer in front of the API servers. + + Deprecated: Use APIServerInternalIPs instead. + type: string + apiServerInternalIPs: + description: |- + apiServerInternalIPs are the IP addresses to contact the Kubernetes API + server that can be used by components inside the cluster, like kubelets + using the infrastructure rather than Kubernetes networking. These are the + IPs for a self-hosted load balancer in front of the API servers. In dual + stack clusters this list contains two IPs otherwise only one. + format: ip + items: + type: string + maxItems: 2 + type: array + x-kubernetes-list-type: set + x-kubernetes-validations: + - message: apiServerInternalIPs must contain at most + one IPv4 address and at most one IPv6 address + rule: 'self == oldSelf || (size(self) == 2 && isIP(self[0]) + && isIP(self[1]) ? ip(self[0]).family() != ip(self[1]).family() + : true)' + ingressIP: + description: |- + ingressIP is an external IP which routes to the default ingress controller. + The IP is a suitable target of a wildcard DNS record used to resolve default route host names. + + Deprecated: Use IngressIPs instead. + type: string + ingressIPs: + description: |- + ingressIPs are the external IPs which route to the default ingress + controller. The IPs are suitable targets of a wildcard DNS record used to + resolve default route host names. In dual stack clusters this list + contains two IPs otherwise only one. + format: ip + items: + type: string + maxItems: 2 + type: array + x-kubernetes-list-type: set + x-kubernetes-validations: + - message: ingressIPs must contain at most one IPv4 + address and at most one IPv6 address + rule: 'self == oldSelf || (size(self) == 2 && isIP(self[0]) + && isIP(self[1]) ? ip(self[0]).family() != ip(self[1]).family() + : true)' + loadBalancer: + default: + type: OpenShiftManagedDefault + description: loadBalancer defines how the load balancer + used by the cluster is configured. + properties: + type: + default: OpenShiftManagedDefault + description: |- + type defines the type of load balancer used by the cluster on Ovirt platform + which can be a user-managed or openshift-managed load balancer + that is to be used for the OpenShift API and Ingress endpoints. + When set to OpenShiftManagedDefault the static pods in charge of API and Ingress traffic load-balancing + defined in the machine config operator will be deployed. + When set to UserManaged these static pods will not be deployed and it is expected that + the load balancer is configured out of band by the deployer. + When omitted, this means no opinion and the platform is left to choose a reasonable default. + The default value is OpenShiftManagedDefault. + enum: + - OpenShiftManagedDefault + - UserManaged + type: string + x-kubernetes-validations: + - message: type is immutable once set + rule: oldSelf == '' || self == oldSelf + type: object + nodeDNSIP: + description: 'deprecated: as of 4.6, this field is + no longer set or honored. It will be removed in + a future release.' + type: string + type: object + powervs: + description: powervs contains settings specific to the + Power Systems Virtual Servers infrastructure provider. + properties: + cisInstanceCRN: + description: |- + cisInstanceCRN is the CRN of the Cloud Internet Services instance managing + the DNS zone for the cluster's base domain + type: string + dnsInstanceCRN: + description: |- + dnsInstanceCRN is the CRN of the DNS Services instance managing the DNS zone + for the cluster's base domain + type: string + region: + description: region holds the default Power VS region + for new Power VS resources created by the cluster. + type: string + resourceGroup: + description: |- + resourceGroup is the resource group name for new IBMCloud resources created for a cluster. + The resource group specified here will be used by cluster-image-registry-operator to set up a COS Instance in IBMCloud for the cluster registry. + More about resource groups can be found here: https://cloud.ibm.com/docs/account?topic=account-rgs. + When omitted, the image registry operator won't be able to configure storage, + which results in the image registry cluster operator not being in an available state. + maxLength: 40 + pattern: ^[a-zA-Z0-9-_ ]+$ + type: string + x-kubernetes-validations: + - message: resourceGroup is immutable once set + rule: oldSelf == '' || self == oldSelf + serviceEndpoints: + description: |- + serviceEndpoints is a list of custom endpoints which will override the default + service endpoints of a Power VS service. + items: + description: |- + PowervsServiceEndpoint stores the configuration of a custom url to + override existing defaults of PowerVS Services. + properties: + name: + description: |- + name is the name of the Power VS service. + Few of the services are + IAM - https://cloud.ibm.com/apidocs/iam-identity-token-api + ResourceController - https://cloud.ibm.com/apidocs/resource-controller/resource-controller + Power Cloud - https://cloud.ibm.com/apidocs/power-cloud + enum: + - CIS + - COS + - COSConfig + - DNSServices + - GlobalCatalog + - GlobalSearch + - GlobalTagging + - HyperProtect + - IAM + - KeyProtect + - Power + - ResourceController + - ResourceManager + - VPC + type: string + url: + description: |- + url is fully qualified URI with scheme https, that overrides the default generated + endpoint for a client. + This must be provided and cannot be empty. + format: uri + pattern: ^https:// + type: string + required: + - name + - url + type: object + type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map + zone: + description: |- + zone holds the default zone for the new Power VS resources created by the cluster. + Note: Currently only single-zone OCP clusters are supported + type: string + type: object + x-kubernetes-validations: + - message: cannot unset resourceGroup once set + rule: '!has(oldSelf.resourceGroup) || has(self.resourceGroup)' + type: + description: |- + type is the underlying infrastructure provider for the cluster. This + value controls whether infrastructure automation such as service load + balancers, dynamic volume provisioning, machine creation and deletion, and + other integrations are enabled. If None, no infrastructure automation is + enabled. Allowed values are "AWS", "Azure", "BareMetal", "GCP", "Libvirt", + "OpenStack", "VSphere", "oVirt", "EquinixMetal", "PowerVS", "AlibabaCloud", "Nutanix" and "None". + Individual components may not support all platforms, and must handle + unrecognized platforms as None if they do not support that platform. + + This value will be synced with to the `status.platform` and `status.platformStatus.type`. + Currently this value cannot be changed once set. + enum: + - "" + - AWS + - Azure + - BareMetal + - GCP + - Libvirt + - OpenStack + - None + - VSphere + - oVirt + - IBMCloud + - KubeVirt + - EquinixMetal + - PowerVS + - AlibabaCloud + - Nutanix + - External + type: string + vsphere: + description: vsphere contains settings specific to the + VSphere infrastructure provider. + properties: + apiServerInternalIP: + description: |- + apiServerInternalIP is an IP address to contact the Kubernetes API server that can be used + by components inside the cluster, like kubelets using the infrastructure rather + than Kubernetes networking. It is the IP that the Infrastructure.status.apiServerInternalURI + points to. It is the IP for a self-hosted load balancer in front of the API servers. + + Deprecated: Use APIServerInternalIPs instead. + type: string + apiServerInternalIPs: + description: |- + apiServerInternalIPs are the IP addresses to contact the Kubernetes API + server that can be used by components inside the cluster, like kubelets + using the infrastructure rather than Kubernetes networking. These are the + IPs for a self-hosted load balancer in front of the API servers. In dual + stack clusters this list contains two IPs otherwise only one. + format: ip + items: + type: string + maxItems: 2 + type: array + x-kubernetes-list-type: atomic + x-kubernetes-validations: + - message: apiServerInternalIPs must contain at most + one IPv4 address and at most one IPv6 address + rule: 'self == oldSelf || (size(self) == 2 && isIP(self[0]) + && isIP(self[1]) ? ip(self[0]).family() != ip(self[1]).family() + : true)' + ingressIP: + description: |- + ingressIP is an external IP which routes to the default ingress controller. + The IP is a suitable target of a wildcard DNS record used to resolve default route host names. + + Deprecated: Use IngressIPs instead. + type: string + ingressIPs: + description: |- + ingressIPs are the external IPs which route to the default ingress + controller. The IPs are suitable targets of a wildcard DNS record used to + resolve default route host names. In dual stack clusters this list + contains two IPs otherwise only one. + format: ip + items: + type: string + maxItems: 2 + type: array + x-kubernetes-list-type: atomic + x-kubernetes-validations: + - message: ingressIPs must contain at most one IPv4 + address and at most one IPv6 address + rule: 'self == oldSelf || (size(self) == 2 && isIP(self[0]) + && isIP(self[1]) ? ip(self[0]).family() != ip(self[1]).family() + : true)' + loadBalancer: + default: + type: OpenShiftManagedDefault + description: loadBalancer defines how the load balancer + used by the cluster is configured. + properties: + type: + default: OpenShiftManagedDefault + description: |- + type defines the type of load balancer used by the cluster on VSphere platform + which can be a user-managed or openshift-managed load balancer + that is to be used for the OpenShift API and Ingress endpoints. + When set to OpenShiftManagedDefault the static pods in charge of API and Ingress traffic load-balancing + defined in the machine config operator will be deployed. + When set to UserManaged these static pods will not be deployed and it is expected that + the load balancer is configured out of band by the deployer. + When omitted, this means no opinion and the platform is left to choose a reasonable default. + The default value is OpenShiftManagedDefault. + enum: + - OpenShiftManagedDefault + - UserManaged + type: string + x-kubernetes-validations: + - message: type is immutable once set + rule: oldSelf == '' || self == oldSelf + type: object + machineNetworks: + description: machineNetworks are IP networks used + to connect all the OpenShift cluster nodes. + items: + description: CIDR is an IP address range in CIDR + notation (for example, "10.0.0.0/8" or "fd00::/8"). + maxLength: 43 + minLength: 1 + type: string + x-kubernetes-validations: + - message: value must be a valid CIDR network address + rule: isCIDR(self) + maxItems: 32 + type: array + x-kubernetes-list-type: atomic + x-kubernetes-validations: + - rule: self.all(x, self.exists_one(y, x == y)) + nodeDNSIP: + description: |- + nodeDNSIP is the IP address for the internal DNS used by the + nodes. Unlike the one managed by the DNS operator, `NodeDNSIP` + provides name resolution for the nodes themselves. There is no DNS-as-a-service for + vSphere deployments. In order to minimize necessary changes to the + datacenter DNS, a DNS service is hosted as a static pod to serve those hostnames + to the nodes in the cluster. + type: string + type: object + type: object + type: object + required: + - spec + type: object + x-kubernetes-embedded-resource: true + internalRegistryPullSecret: + description: |- + internalRegistryPullSecret is the pull secret for the internal registry, used by + rpm-ostree to pull images from the internal registry if present + format: byte + nullable: true + type: string + ipFamilies: + description: ipFamilies indicates the IP families in use by the cluster + network + type: string + kubeAPIServerServingCAData: + description: kubeAPIServerServingCAData managed Kubelet to API Server + Cert... Rotated automatically + format: byte + type: string + network: + description: network contains additional network related information + nullable: true + properties: + mtuMigration: + description: mtuMigration contains the MTU migration configuration. + nullable: true + properties: + machine: + description: machine contains MTU migration configuration + for the machine's uplink. + properties: + from: + description: from is the MTU to migrate from. + format: int32 + minimum: 0 + type: integer + to: + description: to is the MTU to migrate to. + format: int32 + minimum: 0 + type: integer + type: object + network: + description: network contains MTU migration configuration + for the default network. + properties: + from: + description: from is the MTU to migrate from. + format: int32 + minimum: 0 + type: integer + to: + description: to is the MTU to migrate to. + format: int32 + minimum: 0 + type: integer + type: object + type: object + required: + - mtuMigration + type: object + networkType: + description: |- + networkType holds the type of network the cluster is using + XXX: this is temporary and will be dropped as soon as possible in favor of a better support + to start network related services the proper way. + Nobody is also changing this once the cluster is up and running the first time, so, disallow + regeneration if this changes. + type: string + osImageURL: + description: osImageURL is the old-format container image that contains + the OS update payload. + type: string + platform: + description: platform is deprecated, use Infra.Status.PlatformStatus.Type + instead + type: string + proxy: + description: proxy holds the current proxy configuration for the nodes + nullable: true + properties: + httpProxy: + description: httpProxy is the URL of the proxy for HTTP requests. + type: string + httpsProxy: + description: httpsProxy is the URL of the proxy for HTTPS requests. + type: string + noProxy: + description: noProxy is a comma-separated list of hostnames and/or + CIDRs for which the proxy should not be used. + type: string + type: object + pullSecret: + description: |- + pullSecret is the default pull secret that needs to be installed + on all machines. + properties: + apiVersion: + description: API version of the referent. + type: string + fieldPath: + description: |- + If referring to a piece of an object instead of an entire object, this string + should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. + For example, if the object reference is to a container within a pod, this would take on a value like: + "spec.containers{name}" (where "name" refers to the name of the container that triggered + the event) or if no container name is specified "spec.containers[2]" (container with + index 2 in this pod). This syntax is chosen only to have some well-defined way of + referencing a part of an object. + type: string + kind: + description: |- + Kind of the referent. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + type: string + name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + namespace: + description: |- + Namespace of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ + type: string + resourceVersion: + description: |- + Specific resourceVersion to which this reference is made, if any. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency + type: string + uid: + description: |- + UID of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids + type: string + type: object + x-kubernetes-map-type: atomic + releaseImage: + description: releaseImage is the image used when installing the cluster + type: string + rootCAData: + description: rootCAData specifies the root CA data + format: byte + type: string + required: + - additionalTrustBundle + - baseOSContainerImage + - cloudProviderCAData + - cloudProviderConfig + - clusterDNSIP + - dns + - images + - infra + - ipFamilies + - kubeAPIServerServingCAData + - network + - proxy + - releaseImage + - rootCAData + type: object + status: + description: status contains observed information about the controller + config. + properties: + conditions: + description: conditions represents the latest available observations + of current state. + items: + description: ControllerConfigStatusCondition contains condition + information for ControllerConfigStatus + properties: + lastTransitionTime: + description: lastTransitionTime is the time of the last update + to the current status object. + format: date-time + nullable: true + type: string + message: + description: |- + message provides additional information about the current condition. + This is only to be consumed by humans. + type: string + reason: + description: reason is the reason for the condition's last transition. Reasons + are PascalCase + type: string + status: + description: status of the condition, one of True, False, Unknown. + type: string + type: + description: type specifies the state of the operator's reconciliation + functionality. + type: string + required: + - lastTransitionTime + - status + - type + type: object + type: array + x-kubernetes-list-map-keys: + - type + x-kubernetes-list-type: map + controllerCertificates: + description: controllerCertificates represents the latest available + observations of the automatically rotating certificates in the MCO. + items: + description: ControllerCertificate contains info about a specific + cert. + properties: + bundleFile: + description: bundleFile is the larger bundle a cert comes from + type: string + notAfter: + description: notAfter is the upper boundary for validity + format: date-time + type: string + notBefore: + description: notBefore is the lower boundary for validity + format: date-time + type: string + signer: + description: signer is the cert Issuer + type: string + subject: + description: subject is the cert subject + type: string + required: + - bundleFile + - signer + - subject + type: object + type: array + x-kubernetes-list-type: atomic + observedGeneration: + description: observedGeneration represents the generation observed + by the controller. + format: int64 + type: integer + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} diff --git a/openapi/generated_openapi/zz_generated.openapi.go b/openapi/generated_openapi/zz_generated.openapi.go index 716ae1470c9..122ea9f6f8a 100644 --- a/openapi/generated_openapi/zz_generated.openapi.go +++ b/openapi/generated_openapi/zz_generated.openapi.go @@ -9736,6 +9736,13 @@ func schema_openshift_api_config_v1_BareMetalPlatformStatus(ref common.Reference Ref: ref("github.com/openshift/api/config/v1.BareMetalPlatformLoadBalancer"), }, }, + "dnsRecordsType": { + SchemaProps: spec.SchemaProps{ + Description: "dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. When set to `Internal`, records are provided by the internal infrastructure When set to `External`, records are not provided by the internal infrastructure and must be configured by the user. This value may only be set when a user-managed loadbalancer is configured. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`.", + Type: []string{"string"}, + Format: "", + }, + }, "machineNetworks": { VendorExtensible: spec.VendorExtensible{ Extensions: spec.Extensions{ diff --git a/openapi/openapi.json b/openapi/openapi.json index 5a493e31d73..24b72128476 100644 --- a/openapi/openapi.json +++ b/openapi/openapi.json @@ -4779,6 +4779,10 @@ }, "x-kubernetes-list-type": "atomic" }, + "dnsRecordsType": { + "description": "dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. When set to `Internal`, records are provided by the internal infrastructure When set to `External`, records are not provided by the internal infrastructure and must be configured by the user. This value may only be set when a user-managed loadbalancer is configured. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`.", + "type": "string" + }, "ingressIP": { "description": "ingressIP is an external IP which routes to the default ingress controller. The IP is a suitable target of a wildcard DNS record used to resolve default route host names.\n\nDeprecated: Use IngressIPs instead.", "type": "string" diff --git a/payload-manifests/crds/0000_10_config-operator_01_infrastructures-CustomNoUpgrade.crd.yaml b/payload-manifests/crds/0000_10_config-operator_01_infrastructures-CustomNoUpgrade.crd.yaml index a6bbab43696..133e718f3a4 100644 --- a/payload-manifests/crds/0000_10_config-operator_01_infrastructures-CustomNoUpgrade.crd.yaml +++ b/payload-manifests/crds/0000_10_config-operator_01_infrastructures-CustomNoUpgrade.crd.yaml @@ -1670,6 +1670,22 @@ spec: rule: 'self == oldSelf || (size(self) == 2 && isIP(self[0]) && isIP(self[1]) ? ip(self[0]).family() != ip(self[1]).family() : true)' + dnsRecordsType: + description: |- + dnsRecordsType determines whether records for api, api-int, and ingress + are provided by the internal DNS service or externally. + Allowed values are `Internal`, `External`, and omitted. + When set to `Internal`, records are provided by the internal infrastructure + When set to `External`, records are not provided by the internal infrastructure + and must be configured by the user. This value may only be set when a + user-managed loadbalancer is configured. + When omitted, this means the user has no opinion and the platform is left + to choose reasonable defaults. These defaults are subject to change over time. + The current default is `Internal`. + enum: + - Internal + - External + type: string ingressIP: description: |- ingressIP is an external IP which routes to the default ingress controller. diff --git a/payload-manifests/crds/0000_10_config-operator_01_infrastructures-DevPreviewNoUpgrade.crd.yaml b/payload-manifests/crds/0000_10_config-operator_01_infrastructures-DevPreviewNoUpgrade.crd.yaml index 206ffb86c1c..670315e3ba0 100644 --- a/payload-manifests/crds/0000_10_config-operator_01_infrastructures-DevPreviewNoUpgrade.crd.yaml +++ b/payload-manifests/crds/0000_10_config-operator_01_infrastructures-DevPreviewNoUpgrade.crd.yaml @@ -1670,6 +1670,22 @@ spec: rule: 'self == oldSelf || (size(self) == 2 && isIP(self[0]) && isIP(self[1]) ? ip(self[0]).family() != ip(self[1]).family() : true)' + dnsRecordsType: + description: |- + dnsRecordsType determines whether records for api, api-int, and ingress + are provided by the internal DNS service or externally. + Allowed values are `Internal`, `External`, and omitted. + When set to `Internal`, records are provided by the internal infrastructure + When set to `External`, records are not provided by the internal infrastructure + and must be configured by the user. This value may only be set when a + user-managed loadbalancer is configured. + When omitted, this means the user has no opinion and the platform is left + to choose reasonable defaults. These defaults are subject to change over time. + The current default is `Internal`. + enum: + - Internal + - External + type: string ingressIP: description: |- ingressIP is an external IP which routes to the default ingress controller. diff --git a/payload-manifests/crds/0000_10_config-operator_01_infrastructures-TechPreviewNoUpgrade.crd.yaml b/payload-manifests/crds/0000_10_config-operator_01_infrastructures-TechPreviewNoUpgrade.crd.yaml index c14a9811012..90f29034a3c 100644 --- a/payload-manifests/crds/0000_10_config-operator_01_infrastructures-TechPreviewNoUpgrade.crd.yaml +++ b/payload-manifests/crds/0000_10_config-operator_01_infrastructures-TechPreviewNoUpgrade.crd.yaml @@ -1670,6 +1670,22 @@ spec: rule: 'self == oldSelf || (size(self) == 2 && isIP(self[0]) && isIP(self[1]) ? ip(self[0]).family() != ip(self[1]).family() : true)' + dnsRecordsType: + description: |- + dnsRecordsType determines whether records for api, api-int, and ingress + are provided by the internal DNS service or externally. + Allowed values are `Internal`, `External`, and omitted. + When set to `Internal`, records are provided by the internal infrastructure + When set to `External`, records are not provided by the internal infrastructure + and must be configured by the user. This value may only be set when a + user-managed loadbalancer is configured. + When omitted, this means the user has no opinion and the platform is left + to choose reasonable defaults. These defaults are subject to change over time. + The current default is `Internal`. + enum: + - Internal + - External + type: string ingressIP: description: |- ingressIP is an external IP which routes to the default ingress controller. diff --git a/payload-manifests/crds/0000_80_machine-config_01_controllerconfigs-CustomNoUpgrade.crd.yaml b/payload-manifests/crds/0000_80_machine-config_01_controllerconfigs-CustomNoUpgrade.crd.yaml index e8fd35e1922..9e2a5769ebf 100644 --- a/payload-manifests/crds/0000_80_machine-config_01_controllerconfigs-CustomNoUpgrade.crd.yaml +++ b/payload-manifests/crds/0000_80_machine-config_01_controllerconfigs-CustomNoUpgrade.crd.yaml @@ -1959,6 +1959,22 @@ spec: rule: 'self == oldSelf || (size(self) == 2 && isIP(self[0]) && isIP(self[1]) ? ip(self[0]).family() != ip(self[1]).family() : true)' + dnsRecordsType: + description: |- + dnsRecordsType determines whether records for api, api-int, and ingress + are provided by the internal DNS service or externally. + Allowed values are `Internal`, `External`, and omitted. + When set to `Internal`, records are provided by the internal infrastructure + When set to `External`, records are not provided by the internal infrastructure + and must be configured by the user. This value may only be set when a + user-managed loadbalancer is configured. + When omitted, this means the user has no opinion and the platform is left + to choose reasonable defaults. These defaults are subject to change over time. + The current default is `Internal`. + enum: + - Internal + - External + type: string ingressIP: description: |- ingressIP is an external IP which routes to the default ingress controller. diff --git a/payload-manifests/crds/0000_80_machine-config_01_controllerconfigs-DevPreviewNoUpgrade.crd.yaml b/payload-manifests/crds/0000_80_machine-config_01_controllerconfigs-DevPreviewNoUpgrade.crd.yaml index 887362393aa..da56fa59361 100644 --- a/payload-manifests/crds/0000_80_machine-config_01_controllerconfigs-DevPreviewNoUpgrade.crd.yaml +++ b/payload-manifests/crds/0000_80_machine-config_01_controllerconfigs-DevPreviewNoUpgrade.crd.yaml @@ -1959,6 +1959,22 @@ spec: rule: 'self == oldSelf || (size(self) == 2 && isIP(self[0]) && isIP(self[1]) ? ip(self[0]).family() != ip(self[1]).family() : true)' + dnsRecordsType: + description: |- + dnsRecordsType determines whether records for api, api-int, and ingress + are provided by the internal DNS service or externally. + Allowed values are `Internal`, `External`, and omitted. + When set to `Internal`, records are provided by the internal infrastructure + When set to `External`, records are not provided by the internal infrastructure + and must be configured by the user. This value may only be set when a + user-managed loadbalancer is configured. + When omitted, this means the user has no opinion and the platform is left + to choose reasonable defaults. These defaults are subject to change over time. + The current default is `Internal`. + enum: + - Internal + - External + type: string ingressIP: description: |- ingressIP is an external IP which routes to the default ingress controller. diff --git a/payload-manifests/crds/0000_80_machine-config_01_controllerconfigs-TechPreviewNoUpgrade.crd.yaml b/payload-manifests/crds/0000_80_machine-config_01_controllerconfigs-TechPreviewNoUpgrade.crd.yaml index 17395eba6e0..a34e44a22af 100644 --- a/payload-manifests/crds/0000_80_machine-config_01_controllerconfigs-TechPreviewNoUpgrade.crd.yaml +++ b/payload-manifests/crds/0000_80_machine-config_01_controllerconfigs-TechPreviewNoUpgrade.crd.yaml @@ -1959,6 +1959,22 @@ spec: rule: 'self == oldSelf || (size(self) == 2 && isIP(self[0]) && isIP(self[1]) ? ip(self[0]).family() != ip(self[1]).family() : true)' + dnsRecordsType: + description: |- + dnsRecordsType determines whether records for api, api-int, and ingress + are provided by the internal DNS service or externally. + Allowed values are `Internal`, `External`, and omitted. + When set to `Internal`, records are provided by the internal infrastructure + When set to `External`, records are not provided by the internal infrastructure + and must be configured by the user. This value may only be set when a + user-managed loadbalancer is configured. + When omitted, this means the user has no opinion and the platform is left + to choose reasonable defaults. These defaults are subject to change over time. + The current default is `Internal`. + enum: + - Internal + - External + type: string ingressIP: description: |- ingressIP is an external IP which routes to the default ingress controller. diff --git a/payload-manifests/featuregates/featureGate-Hypershift-Default.yaml b/payload-manifests/featuregates/featureGate-Hypershift-Default.yaml index 417c9f9aa17..dc6d423c104 100644 --- a/payload-manifests/featuregates/featureGate-Hypershift-Default.yaml +++ b/payload-manifests/featuregates/featureGate-Hypershift-Default.yaml @@ -198,6 +198,9 @@ { "name": "OVNObservability" }, + { + "name": "OnPremDNSRecords" + }, { "name": "SELinuxMount" }, diff --git a/payload-manifests/featuregates/featureGate-Hypershift-DevPreviewNoUpgrade.yaml b/payload-manifests/featuregates/featureGate-Hypershift-DevPreviewNoUpgrade.yaml index 937ea4b0691..a5ba038b463 100644 --- a/payload-manifests/featuregates/featureGate-Hypershift-DevPreviewNoUpgrade.yaml +++ b/payload-manifests/featuregates/featureGate-Hypershift-DevPreviewNoUpgrade.yaml @@ -277,6 +277,9 @@ { "name": "OVNObservability" }, + { + "name": "OnPremDNSRecords" + }, { "name": "OpenShiftPodSecurityAdmission" }, diff --git a/payload-manifests/featuregates/featureGate-Hypershift-TechPreviewNoUpgrade.yaml b/payload-manifests/featuregates/featureGate-Hypershift-TechPreviewNoUpgrade.yaml index 19f95a39ff8..97c47026558 100644 --- a/payload-manifests/featuregates/featureGate-Hypershift-TechPreviewNoUpgrade.yaml +++ b/payload-manifests/featuregates/featureGate-Hypershift-TechPreviewNoUpgrade.yaml @@ -280,6 +280,9 @@ { "name": "OVNObservability" }, + { + "name": "OnPremDNSRecords" + }, { "name": "OpenShiftPodSecurityAdmission" }, diff --git a/payload-manifests/featuregates/featureGate-SelfManagedHA-Default.yaml b/payload-manifests/featuregates/featureGate-SelfManagedHA-Default.yaml index 9618cf01e02..d098fc73630 100644 --- a/payload-manifests/featuregates/featureGate-SelfManagedHA-Default.yaml +++ b/payload-manifests/featuregates/featureGate-SelfManagedHA-Default.yaml @@ -192,6 +192,9 @@ { "name": "OVNObservability" }, + { + "name": "OnPremDNSRecords" + }, { "name": "SELinuxMount" }, diff --git a/payload-manifests/featuregates/featureGate-SelfManagedHA-DevPreviewNoUpgrade.yaml b/payload-manifests/featuregates/featureGate-SelfManagedHA-DevPreviewNoUpgrade.yaml index bec36643559..5e0d79267cb 100644 --- a/payload-manifests/featuregates/featureGate-SelfManagedHA-DevPreviewNoUpgrade.yaml +++ b/payload-manifests/featuregates/featureGate-SelfManagedHA-DevPreviewNoUpgrade.yaml @@ -277,6 +277,9 @@ { "name": "OVNObservability" }, + { + "name": "OnPremDNSRecords" + }, { "name": "OpenShiftPodSecurityAdmission" }, diff --git a/payload-manifests/featuregates/featureGate-SelfManagedHA-TechPreviewNoUpgrade.yaml b/payload-manifests/featuregates/featureGate-SelfManagedHA-TechPreviewNoUpgrade.yaml index b4994c92bf1..57cb1747dbb 100644 --- a/payload-manifests/featuregates/featureGate-SelfManagedHA-TechPreviewNoUpgrade.yaml +++ b/payload-manifests/featuregates/featureGate-SelfManagedHA-TechPreviewNoUpgrade.yaml @@ -280,6 +280,9 @@ { "name": "OVNObservability" }, + { + "name": "OnPremDNSRecords" + }, { "name": "OpenShiftPodSecurityAdmission" }, From d01cc12629e812c06983682ffaa7626ba16d91c5 Mon Sep 17 00:00:00 2001 From: Ben Nemec Date: Fri, 3 Oct 2025 15:54:29 -0500 Subject: [PATCH 02/11] Apply dnsRecordsType to all on-prem platforms --- config/v1/types_infrastructure.go | 60 +++++++++++++++++ ...1_infrastructures-CustomNoUpgrade.crd.yaml | 64 +++++++++++++++++++ ...frastructures-DevPreviewNoUpgrade.crd.yaml | 64 +++++++++++++++++++ ...rastructures-TechPreviewNoUpgrade.crd.yaml | 64 +++++++++++++++++++ .../OnPremDNSRecords.yaml | 64 +++++++++++++++++++ .../v1/zz_generated.swagger_doc_generated.go | 4 ++ ...controllerconfigs-CustomNoUpgrade.crd.yaml | 64 +++++++++++++++++++ ...rollerconfigs-DevPreviewNoUpgrade.crd.yaml | 64 +++++++++++++++++++ ...ollerconfigs-TechPreviewNoUpgrade.crd.yaml | 64 +++++++++++++++++++ .../OnPremDNSRecords.yaml | 64 +++++++++++++++++++ .../generated_openapi/zz_generated.openapi.go | 28 ++++++++ openapi/openapi.json | 16 +++++ ...1_infrastructures-CustomNoUpgrade.crd.yaml | 64 +++++++++++++++++++ ...frastructures-DevPreviewNoUpgrade.crd.yaml | 64 +++++++++++++++++++ ...rastructures-TechPreviewNoUpgrade.crd.yaml | 64 +++++++++++++++++++ ...controllerconfigs-CustomNoUpgrade.crd.yaml | 64 +++++++++++++++++++ ...rollerconfigs-DevPreviewNoUpgrade.crd.yaml | 64 +++++++++++++++++++ ...ollerconfigs-TechPreviewNoUpgrade.crd.yaml | 64 +++++++++++++++++++ 18 files changed, 1004 insertions(+) diff --git a/config/v1/types_infrastructure.go b/config/v1/types_infrastructure.go index bafaa3641eb..49b6fc63ca8 100644 --- a/config/v1/types_infrastructure.go +++ b/config/v1/types_infrastructure.go @@ -1228,6 +1228,21 @@ type OpenStackPlatformStatus struct { // +optional LoadBalancer *OpenStackPlatformLoadBalancer `json:"loadBalancer,omitempty"` + // dnsRecordsType determines whether records for api, api-int, and ingress + // are provided by the internal DNS service or externally. + // Allowed values are `Internal`, `External`, and omitted. + // When set to `Internal`, records are provided by the internal infrastructure + // When set to `External`, records are not provided by the internal infrastructure + // and must be configured by the user. This value may only be set when a + // user-managed loadbalancer is configured. + // When omitted, this means the user has no opinion and the platform is left + // to choose reasonable defaults. These defaults are subject to change over time. + // The current default is `Internal`. + // +kubebuilder:validation:Enum=Internal;External + // +openshift:enable:FeatureGate=OnPremDNSRecords + // +optional + DNSRecordsType DNSRecordsType `json:"dnsRecordsType,omitempty"` + // machineNetworks are IP networks used to connect all the OpenShift cluster nodes. // +listType=atomic // +kubebuilder:validation:MaxItems=32 @@ -1308,6 +1323,21 @@ type OvirtPlatformStatus struct { // +kubebuilder:default={"type": "OpenShiftManagedDefault"} // +optional LoadBalancer *OvirtPlatformLoadBalancer `json:"loadBalancer,omitempty"` + + // dnsRecordsType determines whether records for api, api-int, and ingress + // are provided by the internal DNS service or externally. + // Allowed values are `Internal`, `External`, and omitted. + // When set to `Internal`, records are provided by the internal infrastructure + // When set to `External`, records are not provided by the internal infrastructure + // and must be configured by the user. This value may only be set when a + // user-managed loadbalancer is configured. + // When omitted, this means the user has no opinion and the platform is left + // to choose reasonable defaults. These defaults are subject to change over time. + // The current default is `Internal`. + // +kubebuilder:validation:Enum=Internal;External + // +openshift:enable:FeatureGate=OnPremDNSRecords + // +optional + DNSRecordsType DNSRecordsType `json:"dnsRecordsType,omitempty"` } // VSpherePlatformLoadBalancer defines the load balancer used by the cluster on VSphere platform. @@ -1757,6 +1787,21 @@ type VSpherePlatformStatus struct { // +optional LoadBalancer *VSpherePlatformLoadBalancer `json:"loadBalancer,omitempty"` + // dnsRecordsType determines whether records for api, api-int, and ingress + // are provided by the internal DNS service or externally. + // Allowed values are `Internal`, `External`, and omitted. + // When set to `Internal`, records are provided by the internal infrastructure + // When set to `External`, records are not provided by the internal infrastructure + // and must be configured by the user. This value may only be set when a + // user-managed loadbalancer is configured. + // When omitted, this means the user has no opinion and the platform is left + // to choose reasonable defaults. These defaults are subject to change over time. + // The current default is `Internal`. + // +kubebuilder:validation:Enum=Internal;External + // +openshift:enable:FeatureGate=OnPremDNSRecords + // +optional + DNSRecordsType DNSRecordsType `json:"dnsRecordsType,omitempty"` + // machineNetworks are IP networks used to connect all the OpenShift cluster nodes. // +listType=atomic // +kubebuilder:validation:MaxItems=32 @@ -2173,6 +2218,21 @@ type NutanixPlatformStatus struct { // +kubebuilder:default={"type": "OpenShiftManagedDefault"} // +optional LoadBalancer *NutanixPlatformLoadBalancer `json:"loadBalancer,omitempty"` + + // dnsRecordsType determines whether records for api, api-int, and ingress + // are provided by the internal DNS service or externally. + // Allowed values are `Internal`, `External`, and omitted. + // When set to `Internal`, records are provided by the internal infrastructure + // When set to `External`, records are not provided by the internal infrastructure + // and must be configured by the user. This value may only be set when a + // user-managed loadbalancer is configured. + // When omitted, this means the user has no opinion and the platform is left + // to choose reasonable defaults. These defaults are subject to change over time. + // The current default is `Internal`. + // +kubebuilder:validation:Enum=Internal;External + // +openshift:enable:FeatureGate=OnPremDNSRecords + // +optional + DNSRecordsType DNSRecordsType `json:"dnsRecordsType,omitempty"` } // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object diff --git a/config/v1/zz_generated.crd-manifests/0000_10_config-operator_01_infrastructures-CustomNoUpgrade.crd.yaml b/config/v1/zz_generated.crd-manifests/0000_10_config-operator_01_infrastructures-CustomNoUpgrade.crd.yaml index 133e718f3a4..41fb98a299c 100644 --- a/config/v1/zz_generated.crd-manifests/0000_10_config-operator_01_infrastructures-CustomNoUpgrade.crd.yaml +++ b/config/v1/zz_generated.crd-manifests/0000_10_config-operator_01_infrastructures-CustomNoUpgrade.crd.yaml @@ -2242,6 +2242,22 @@ spec: rule: 'self == oldSelf || (size(self) == 2 && isIP(self[0]) && isIP(self[1]) ? ip(self[0]).family() != ip(self[1]).family() : true)' + dnsRecordsType: + description: |- + dnsRecordsType determines whether records for api, api-int, and ingress + are provided by the internal DNS service or externally. + Allowed values are `Internal`, `External`, and omitted. + When set to `Internal`, records are provided by the internal infrastructure + When set to `External`, records are not provided by the internal infrastructure + and must be configured by the user. This value may only be set when a + user-managed loadbalancer is configured. + When omitted, this means the user has no opinion and the platform is left + to choose reasonable defaults. These defaults are subject to change over time. + The current default is `Internal`. + enum: + - Internal + - External + type: string ingressIP: description: |- ingressIP is an external IP which routes to the default ingress controller. @@ -2331,6 +2347,22 @@ spec: cloudName is the name of the desired OpenStack cloud in the client configuration file (`clouds.yaml`). type: string + dnsRecordsType: + description: |- + dnsRecordsType determines whether records for api, api-int, and ingress + are provided by the internal DNS service or externally. + Allowed values are `Internal`, `External`, and omitted. + When set to `Internal`, records are provided by the internal infrastructure + When set to `External`, records are not provided by the internal infrastructure + and must be configured by the user. This value may only be set when a + user-managed loadbalancer is configured. + When omitted, this means the user has no opinion and the platform is left + to choose reasonable defaults. These defaults are subject to change over time. + The current default is `Internal`. + enum: + - Internal + - External + type: string ingressIP: description: |- ingressIP is an external IP which routes to the default ingress controller. @@ -2441,6 +2473,22 @@ spec: rule: 'self == oldSelf || (size(self) == 2 && isIP(self[0]) && isIP(self[1]) ? ip(self[0]).family() != ip(self[1]).family() : true)' + dnsRecordsType: + description: |- + dnsRecordsType determines whether records for api, api-int, and ingress + are provided by the internal DNS service or externally. + Allowed values are `Internal`, `External`, and omitted. + When set to `Internal`, records are provided by the internal infrastructure + When set to `External`, records are not provided by the internal infrastructure + and must be configured by the user. This value may only be set when a + user-managed loadbalancer is configured. + When omitted, this means the user has no opinion and the platform is left + to choose reasonable defaults. These defaults are subject to change over time. + The current default is `Internal`. + enum: + - Internal + - External + type: string ingressIP: description: |- ingressIP is an external IP which routes to the default ingress controller. @@ -2649,6 +2697,22 @@ spec: rule: 'self == oldSelf || (size(self) == 2 && isIP(self[0]) && isIP(self[1]) ? ip(self[0]).family() != ip(self[1]).family() : true)' + dnsRecordsType: + description: |- + dnsRecordsType determines whether records for api, api-int, and ingress + are provided by the internal DNS service or externally. + Allowed values are `Internal`, `External`, and omitted. + When set to `Internal`, records are provided by the internal infrastructure + When set to `External`, records are not provided by the internal infrastructure + and must be configured by the user. This value may only be set when a + user-managed loadbalancer is configured. + When omitted, this means the user has no opinion and the platform is left + to choose reasonable defaults. These defaults are subject to change over time. + The current default is `Internal`. + enum: + - Internal + - External + type: string ingressIP: description: |- ingressIP is an external IP which routes to the default ingress controller. diff --git a/config/v1/zz_generated.crd-manifests/0000_10_config-operator_01_infrastructures-DevPreviewNoUpgrade.crd.yaml b/config/v1/zz_generated.crd-manifests/0000_10_config-operator_01_infrastructures-DevPreviewNoUpgrade.crd.yaml index 670315e3ba0..d7bbd21a870 100644 --- a/config/v1/zz_generated.crd-manifests/0000_10_config-operator_01_infrastructures-DevPreviewNoUpgrade.crd.yaml +++ b/config/v1/zz_generated.crd-manifests/0000_10_config-operator_01_infrastructures-DevPreviewNoUpgrade.crd.yaml @@ -2242,6 +2242,22 @@ spec: rule: 'self == oldSelf || (size(self) == 2 && isIP(self[0]) && isIP(self[1]) ? ip(self[0]).family() != ip(self[1]).family() : true)' + dnsRecordsType: + description: |- + dnsRecordsType determines whether records for api, api-int, and ingress + are provided by the internal DNS service or externally. + Allowed values are `Internal`, `External`, and omitted. + When set to `Internal`, records are provided by the internal infrastructure + When set to `External`, records are not provided by the internal infrastructure + and must be configured by the user. This value may only be set when a + user-managed loadbalancer is configured. + When omitted, this means the user has no opinion and the platform is left + to choose reasonable defaults. These defaults are subject to change over time. + The current default is `Internal`. + enum: + - Internal + - External + type: string ingressIP: description: |- ingressIP is an external IP which routes to the default ingress controller. @@ -2331,6 +2347,22 @@ spec: cloudName is the name of the desired OpenStack cloud in the client configuration file (`clouds.yaml`). type: string + dnsRecordsType: + description: |- + dnsRecordsType determines whether records for api, api-int, and ingress + are provided by the internal DNS service or externally. + Allowed values are `Internal`, `External`, and omitted. + When set to `Internal`, records are provided by the internal infrastructure + When set to `External`, records are not provided by the internal infrastructure + and must be configured by the user. This value may only be set when a + user-managed loadbalancer is configured. + When omitted, this means the user has no opinion and the platform is left + to choose reasonable defaults. These defaults are subject to change over time. + The current default is `Internal`. + enum: + - Internal + - External + type: string ingressIP: description: |- ingressIP is an external IP which routes to the default ingress controller. @@ -2441,6 +2473,22 @@ spec: rule: 'self == oldSelf || (size(self) == 2 && isIP(self[0]) && isIP(self[1]) ? ip(self[0]).family() != ip(self[1]).family() : true)' + dnsRecordsType: + description: |- + dnsRecordsType determines whether records for api, api-int, and ingress + are provided by the internal DNS service or externally. + Allowed values are `Internal`, `External`, and omitted. + When set to `Internal`, records are provided by the internal infrastructure + When set to `External`, records are not provided by the internal infrastructure + and must be configured by the user. This value may only be set when a + user-managed loadbalancer is configured. + When omitted, this means the user has no opinion and the platform is left + to choose reasonable defaults. These defaults are subject to change over time. + The current default is `Internal`. + enum: + - Internal + - External + type: string ingressIP: description: |- ingressIP is an external IP which routes to the default ingress controller. @@ -2649,6 +2697,22 @@ spec: rule: 'self == oldSelf || (size(self) == 2 && isIP(self[0]) && isIP(self[1]) ? ip(self[0]).family() != ip(self[1]).family() : true)' + dnsRecordsType: + description: |- + dnsRecordsType determines whether records for api, api-int, and ingress + are provided by the internal DNS service or externally. + Allowed values are `Internal`, `External`, and omitted. + When set to `Internal`, records are provided by the internal infrastructure + When set to `External`, records are not provided by the internal infrastructure + and must be configured by the user. This value may only be set when a + user-managed loadbalancer is configured. + When omitted, this means the user has no opinion and the platform is left + to choose reasonable defaults. These defaults are subject to change over time. + The current default is `Internal`. + enum: + - Internal + - External + type: string ingressIP: description: |- ingressIP is an external IP which routes to the default ingress controller. diff --git a/config/v1/zz_generated.crd-manifests/0000_10_config-operator_01_infrastructures-TechPreviewNoUpgrade.crd.yaml b/config/v1/zz_generated.crd-manifests/0000_10_config-operator_01_infrastructures-TechPreviewNoUpgrade.crd.yaml index 90f29034a3c..3d88ef3b305 100644 --- a/config/v1/zz_generated.crd-manifests/0000_10_config-operator_01_infrastructures-TechPreviewNoUpgrade.crd.yaml +++ b/config/v1/zz_generated.crd-manifests/0000_10_config-operator_01_infrastructures-TechPreviewNoUpgrade.crd.yaml @@ -2242,6 +2242,22 @@ spec: rule: 'self == oldSelf || (size(self) == 2 && isIP(self[0]) && isIP(self[1]) ? ip(self[0]).family() != ip(self[1]).family() : true)' + dnsRecordsType: + description: |- + dnsRecordsType determines whether records for api, api-int, and ingress + are provided by the internal DNS service or externally. + Allowed values are `Internal`, `External`, and omitted. + When set to `Internal`, records are provided by the internal infrastructure + When set to `External`, records are not provided by the internal infrastructure + and must be configured by the user. This value may only be set when a + user-managed loadbalancer is configured. + When omitted, this means the user has no opinion and the platform is left + to choose reasonable defaults. These defaults are subject to change over time. + The current default is `Internal`. + enum: + - Internal + - External + type: string ingressIP: description: |- ingressIP is an external IP which routes to the default ingress controller. @@ -2331,6 +2347,22 @@ spec: cloudName is the name of the desired OpenStack cloud in the client configuration file (`clouds.yaml`). type: string + dnsRecordsType: + description: |- + dnsRecordsType determines whether records for api, api-int, and ingress + are provided by the internal DNS service or externally. + Allowed values are `Internal`, `External`, and omitted. + When set to `Internal`, records are provided by the internal infrastructure + When set to `External`, records are not provided by the internal infrastructure + and must be configured by the user. This value may only be set when a + user-managed loadbalancer is configured. + When omitted, this means the user has no opinion and the platform is left + to choose reasonable defaults. These defaults are subject to change over time. + The current default is `Internal`. + enum: + - Internal + - External + type: string ingressIP: description: |- ingressIP is an external IP which routes to the default ingress controller. @@ -2441,6 +2473,22 @@ spec: rule: 'self == oldSelf || (size(self) == 2 && isIP(self[0]) && isIP(self[1]) ? ip(self[0]).family() != ip(self[1]).family() : true)' + dnsRecordsType: + description: |- + dnsRecordsType determines whether records for api, api-int, and ingress + are provided by the internal DNS service or externally. + Allowed values are `Internal`, `External`, and omitted. + When set to `Internal`, records are provided by the internal infrastructure + When set to `External`, records are not provided by the internal infrastructure + and must be configured by the user. This value may only be set when a + user-managed loadbalancer is configured. + When omitted, this means the user has no opinion and the platform is left + to choose reasonable defaults. These defaults are subject to change over time. + The current default is `Internal`. + enum: + - Internal + - External + type: string ingressIP: description: |- ingressIP is an external IP which routes to the default ingress controller. @@ -2649,6 +2697,22 @@ spec: rule: 'self == oldSelf || (size(self) == 2 && isIP(self[0]) && isIP(self[1]) ? ip(self[0]).family() != ip(self[1]).family() : true)' + dnsRecordsType: + description: |- + dnsRecordsType determines whether records for api, api-int, and ingress + are provided by the internal DNS service or externally. + Allowed values are `Internal`, `External`, and omitted. + When set to `Internal`, records are provided by the internal infrastructure + When set to `External`, records are not provided by the internal infrastructure + and must be configured by the user. This value may only be set when a + user-managed loadbalancer is configured. + When omitted, this means the user has no opinion and the platform is left + to choose reasonable defaults. These defaults are subject to change over time. + The current default is `Internal`. + enum: + - Internal + - External + type: string ingressIP: description: |- ingressIP is an external IP which routes to the default ingress controller. diff --git a/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/OnPremDNSRecords.yaml b/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/OnPremDNSRecords.yaml index ed4b508d0ed..d0cb9338428 100644 --- a/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/OnPremDNSRecords.yaml +++ b/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/OnPremDNSRecords.yaml @@ -1735,6 +1735,22 @@ spec: rule: 'self == oldSelf || (size(self) == 2 && isIP(self[0]) && isIP(self[1]) ? ip(self[0]).family() != ip(self[1]).family() : true)' + dnsRecordsType: + description: |- + dnsRecordsType determines whether records for api, api-int, and ingress + are provided by the internal DNS service or externally. + Allowed values are `Internal`, `External`, and omitted. + When set to `Internal`, records are provided by the internal infrastructure + When set to `External`, records are not provided by the internal infrastructure + and must be configured by the user. This value may only be set when a + user-managed loadbalancer is configured. + When omitted, this means the user has no opinion and the platform is left + to choose reasonable defaults. These defaults are subject to change over time. + The current default is `Internal`. + enum: + - Internal + - External + type: string ingressIP: description: |- ingressIP is an external IP which routes to the default ingress controller. @@ -1824,6 +1840,22 @@ spec: cloudName is the name of the desired OpenStack cloud in the client configuration file (`clouds.yaml`). type: string + dnsRecordsType: + description: |- + dnsRecordsType determines whether records for api, api-int, and ingress + are provided by the internal DNS service or externally. + Allowed values are `Internal`, `External`, and omitted. + When set to `Internal`, records are provided by the internal infrastructure + When set to `External`, records are not provided by the internal infrastructure + and must be configured by the user. This value may only be set when a + user-managed loadbalancer is configured. + When omitted, this means the user has no opinion and the platform is left + to choose reasonable defaults. These defaults are subject to change over time. + The current default is `Internal`. + enum: + - Internal + - External + type: string ingressIP: description: |- ingressIP is an external IP which routes to the default ingress controller. @@ -1934,6 +1966,22 @@ spec: rule: 'self == oldSelf || (size(self) == 2 && isIP(self[0]) && isIP(self[1]) ? ip(self[0]).family() != ip(self[1]).family() : true)' + dnsRecordsType: + description: |- + dnsRecordsType determines whether records for api, api-int, and ingress + are provided by the internal DNS service or externally. + Allowed values are `Internal`, `External`, and omitted. + When set to `Internal`, records are provided by the internal infrastructure + When set to `External`, records are not provided by the internal infrastructure + and must be configured by the user. This value may only be set when a + user-managed loadbalancer is configured. + When omitted, this means the user has no opinion and the platform is left + to choose reasonable defaults. These defaults are subject to change over time. + The current default is `Internal`. + enum: + - Internal + - External + type: string ingressIP: description: |- ingressIP is an external IP which routes to the default ingress controller. @@ -2142,6 +2190,22 @@ spec: rule: 'self == oldSelf || (size(self) == 2 && isIP(self[0]) && isIP(self[1]) ? ip(self[0]).family() != ip(self[1]).family() : true)' + dnsRecordsType: + description: |- + dnsRecordsType determines whether records for api, api-int, and ingress + are provided by the internal DNS service or externally. + Allowed values are `Internal`, `External`, and omitted. + When set to `Internal`, records are provided by the internal infrastructure + When set to `External`, records are not provided by the internal infrastructure + and must be configured by the user. This value may only be set when a + user-managed loadbalancer is configured. + When omitted, this means the user has no opinion and the platform is left + to choose reasonable defaults. These defaults are subject to change over time. + The current default is `Internal`. + enum: + - Internal + - External + type: string ingressIP: description: |- ingressIP is an external IP which routes to the default ingress controller. diff --git a/config/v1/zz_generated.swagger_doc_generated.go b/config/v1/zz_generated.swagger_doc_generated.go index da9559b98ae..bff747562e5 100644 --- a/config/v1/zz_generated.swagger_doc_generated.go +++ b/config/v1/zz_generated.swagger_doc_generated.go @@ -1790,6 +1790,7 @@ var map_NutanixPlatformStatus = map[string]string{ "ingressIP": "ingressIP is an external IP which routes to the default ingress controller. The IP is a suitable target of a wildcard DNS record used to resolve default route host names.\n\nDeprecated: Use IngressIPs instead.", "ingressIPs": "ingressIPs are the external IPs which route to the default ingress controller. The IPs are suitable targets of a wildcard DNS record used to resolve default route host names. In dual stack clusters this list contains two IPs otherwise only one.", "loadBalancer": "loadBalancer defines how the load balancer used by the cluster is configured.", + "dnsRecordsType": "dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. When set to `Internal`, records are provided by the internal infrastructure When set to `External`, records are not provided by the internal infrastructure and must be configured by the user. This value may only be set when a user-managed loadbalancer is configured. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`.", } func (NutanixPlatformStatus) SwaggerDoc() map[string]string { @@ -1856,6 +1857,7 @@ var map_OpenStackPlatformStatus = map[string]string{ "ingressIPs": "ingressIPs are the external IPs which route to the default ingress controller. The IPs are suitable targets of a wildcard DNS record used to resolve default route host names. In dual stack clusters this list contains two IPs otherwise only one.", "nodeDNSIP": "nodeDNSIP is the IP address for the internal DNS used by the nodes. Unlike the one managed by the DNS operator, `NodeDNSIP` provides name resolution for the nodes themselves. There is no DNS-as-a-service for OpenStack deployments. In order to minimize necessary changes to the datacenter DNS, a DNS service is hosted as a static pod to serve those hostnames to the nodes in the cluster.", "loadBalancer": "loadBalancer defines how the load balancer used by the cluster is configured.", + "dnsRecordsType": "dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. When set to `Internal`, records are provided by the internal infrastructure When set to `External`, records are not provided by the internal infrastructure and must be configured by the user. This value may only be set when a user-managed loadbalancer is configured. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`.", "machineNetworks": "machineNetworks are IP networks used to connect all the OpenShift cluster nodes.", } @@ -1888,6 +1890,7 @@ var map_OvirtPlatformStatus = map[string]string{ "ingressIPs": "ingressIPs are the external IPs which route to the default ingress controller. The IPs are suitable targets of a wildcard DNS record used to resolve default route host names. In dual stack clusters this list contains two IPs otherwise only one.", "nodeDNSIP": "deprecated: as of 4.6, this field is no longer set or honored. It will be removed in a future release.", "loadBalancer": "loadBalancer defines how the load balancer used by the cluster is configured.", + "dnsRecordsType": "dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. When set to `Internal`, records are provided by the internal infrastructure When set to `External`, records are not provided by the internal infrastructure and must be configured by the user. This value may only be set when a user-managed loadbalancer is configured. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`.", } func (OvirtPlatformStatus) SwaggerDoc() map[string]string { @@ -2070,6 +2073,7 @@ var map_VSpherePlatformStatus = map[string]string{ "ingressIPs": "ingressIPs are the external IPs which route to the default ingress controller. The IPs are suitable targets of a wildcard DNS record used to resolve default route host names. In dual stack clusters this list contains two IPs otherwise only one.", "nodeDNSIP": "nodeDNSIP is the IP address for the internal DNS used by the nodes. Unlike the one managed by the DNS operator, `NodeDNSIP` provides name resolution for the nodes themselves. There is no DNS-as-a-service for vSphere deployments. In order to minimize necessary changes to the datacenter DNS, a DNS service is hosted as a static pod to serve those hostnames to the nodes in the cluster.", "loadBalancer": "loadBalancer defines how the load balancer used by the cluster is configured.", + "dnsRecordsType": "dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. When set to `Internal`, records are provided by the internal infrastructure When set to `External`, records are not provided by the internal infrastructure and must be configured by the user. This value may only be set when a user-managed loadbalancer is configured. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`.", "machineNetworks": "machineNetworks are IP networks used to connect all the OpenShift cluster nodes.", } diff --git a/machineconfiguration/v1/zz_generated.crd-manifests/0000_80_machine-config_01_controllerconfigs-CustomNoUpgrade.crd.yaml b/machineconfiguration/v1/zz_generated.crd-manifests/0000_80_machine-config_01_controllerconfigs-CustomNoUpgrade.crd.yaml index 9e2a5769ebf..b6a2d226e3c 100644 --- a/machineconfiguration/v1/zz_generated.crd-manifests/0000_80_machine-config_01_controllerconfigs-CustomNoUpgrade.crd.yaml +++ b/machineconfiguration/v1/zz_generated.crd-manifests/0000_80_machine-config_01_controllerconfigs-CustomNoUpgrade.crd.yaml @@ -2538,6 +2538,22 @@ spec: rule: 'self == oldSelf || (size(self) == 2 && isIP(self[0]) && isIP(self[1]) ? ip(self[0]).family() != ip(self[1]).family() : true)' + dnsRecordsType: + description: |- + dnsRecordsType determines whether records for api, api-int, and ingress + are provided by the internal DNS service or externally. + Allowed values are `Internal`, `External`, and omitted. + When set to `Internal`, records are provided by the internal infrastructure + When set to `External`, records are not provided by the internal infrastructure + and must be configured by the user. This value may only be set when a + user-managed loadbalancer is configured. + When omitted, this means the user has no opinion and the platform is left + to choose reasonable defaults. These defaults are subject to change over time. + The current default is `Internal`. + enum: + - Internal + - External + type: string ingressIP: description: |- ingressIP is an external IP which routes to the default ingress controller. @@ -2627,6 +2643,22 @@ spec: cloudName is the name of the desired OpenStack cloud in the client configuration file (`clouds.yaml`). type: string + dnsRecordsType: + description: |- + dnsRecordsType determines whether records for api, api-int, and ingress + are provided by the internal DNS service or externally. + Allowed values are `Internal`, `External`, and omitted. + When set to `Internal`, records are provided by the internal infrastructure + When set to `External`, records are not provided by the internal infrastructure + and must be configured by the user. This value may only be set when a + user-managed loadbalancer is configured. + When omitted, this means the user has no opinion and the platform is left + to choose reasonable defaults. These defaults are subject to change over time. + The current default is `Internal`. + enum: + - Internal + - External + type: string ingressIP: description: |- ingressIP is an external IP which routes to the default ingress controller. @@ -2737,6 +2769,22 @@ spec: rule: 'self == oldSelf || (size(self) == 2 && isIP(self[0]) && isIP(self[1]) ? ip(self[0]).family() != ip(self[1]).family() : true)' + dnsRecordsType: + description: |- + dnsRecordsType determines whether records for api, api-int, and ingress + are provided by the internal DNS service or externally. + Allowed values are `Internal`, `External`, and omitted. + When set to `Internal`, records are provided by the internal infrastructure + When set to `External`, records are not provided by the internal infrastructure + and must be configured by the user. This value may only be set when a + user-managed loadbalancer is configured. + When omitted, this means the user has no opinion and the platform is left + to choose reasonable defaults. These defaults are subject to change over time. + The current default is `Internal`. + enum: + - Internal + - External + type: string ingressIP: description: |- ingressIP is an external IP which routes to the default ingress controller. @@ -2946,6 +2994,22 @@ spec: rule: 'self == oldSelf || (size(self) == 2 && isIP(self[0]) && isIP(self[1]) ? ip(self[0]).family() != ip(self[1]).family() : true)' + dnsRecordsType: + description: |- + dnsRecordsType determines whether records for api, api-int, and ingress + are provided by the internal DNS service or externally. + Allowed values are `Internal`, `External`, and omitted. + When set to `Internal`, records are provided by the internal infrastructure + When set to `External`, records are not provided by the internal infrastructure + and must be configured by the user. This value may only be set when a + user-managed loadbalancer is configured. + When omitted, this means the user has no opinion and the platform is left + to choose reasonable defaults. These defaults are subject to change over time. + The current default is `Internal`. + enum: + - Internal + - External + type: string ingressIP: description: |- ingressIP is an external IP which routes to the default ingress controller. diff --git a/machineconfiguration/v1/zz_generated.crd-manifests/0000_80_machine-config_01_controllerconfigs-DevPreviewNoUpgrade.crd.yaml b/machineconfiguration/v1/zz_generated.crd-manifests/0000_80_machine-config_01_controllerconfigs-DevPreviewNoUpgrade.crd.yaml index da56fa59361..384f8f232ef 100644 --- a/machineconfiguration/v1/zz_generated.crd-manifests/0000_80_machine-config_01_controllerconfigs-DevPreviewNoUpgrade.crd.yaml +++ b/machineconfiguration/v1/zz_generated.crd-manifests/0000_80_machine-config_01_controllerconfigs-DevPreviewNoUpgrade.crd.yaml @@ -2538,6 +2538,22 @@ spec: rule: 'self == oldSelf || (size(self) == 2 && isIP(self[0]) && isIP(self[1]) ? ip(self[0]).family() != ip(self[1]).family() : true)' + dnsRecordsType: + description: |- + dnsRecordsType determines whether records for api, api-int, and ingress + are provided by the internal DNS service or externally. + Allowed values are `Internal`, `External`, and omitted. + When set to `Internal`, records are provided by the internal infrastructure + When set to `External`, records are not provided by the internal infrastructure + and must be configured by the user. This value may only be set when a + user-managed loadbalancer is configured. + When omitted, this means the user has no opinion and the platform is left + to choose reasonable defaults. These defaults are subject to change over time. + The current default is `Internal`. + enum: + - Internal + - External + type: string ingressIP: description: |- ingressIP is an external IP which routes to the default ingress controller. @@ -2627,6 +2643,22 @@ spec: cloudName is the name of the desired OpenStack cloud in the client configuration file (`clouds.yaml`). type: string + dnsRecordsType: + description: |- + dnsRecordsType determines whether records for api, api-int, and ingress + are provided by the internal DNS service or externally. + Allowed values are `Internal`, `External`, and omitted. + When set to `Internal`, records are provided by the internal infrastructure + When set to `External`, records are not provided by the internal infrastructure + and must be configured by the user. This value may only be set when a + user-managed loadbalancer is configured. + When omitted, this means the user has no opinion and the platform is left + to choose reasonable defaults. These defaults are subject to change over time. + The current default is `Internal`. + enum: + - Internal + - External + type: string ingressIP: description: |- ingressIP is an external IP which routes to the default ingress controller. @@ -2737,6 +2769,22 @@ spec: rule: 'self == oldSelf || (size(self) == 2 && isIP(self[0]) && isIP(self[1]) ? ip(self[0]).family() != ip(self[1]).family() : true)' + dnsRecordsType: + description: |- + dnsRecordsType determines whether records for api, api-int, and ingress + are provided by the internal DNS service or externally. + Allowed values are `Internal`, `External`, and omitted. + When set to `Internal`, records are provided by the internal infrastructure + When set to `External`, records are not provided by the internal infrastructure + and must be configured by the user. This value may only be set when a + user-managed loadbalancer is configured. + When omitted, this means the user has no opinion and the platform is left + to choose reasonable defaults. These defaults are subject to change over time. + The current default is `Internal`. + enum: + - Internal + - External + type: string ingressIP: description: |- ingressIP is an external IP which routes to the default ingress controller. @@ -2946,6 +2994,22 @@ spec: rule: 'self == oldSelf || (size(self) == 2 && isIP(self[0]) && isIP(self[1]) ? ip(self[0]).family() != ip(self[1]).family() : true)' + dnsRecordsType: + description: |- + dnsRecordsType determines whether records for api, api-int, and ingress + are provided by the internal DNS service or externally. + Allowed values are `Internal`, `External`, and omitted. + When set to `Internal`, records are provided by the internal infrastructure + When set to `External`, records are not provided by the internal infrastructure + and must be configured by the user. This value may only be set when a + user-managed loadbalancer is configured. + When omitted, this means the user has no opinion and the platform is left + to choose reasonable defaults. These defaults are subject to change over time. + The current default is `Internal`. + enum: + - Internal + - External + type: string ingressIP: description: |- ingressIP is an external IP which routes to the default ingress controller. diff --git a/machineconfiguration/v1/zz_generated.crd-manifests/0000_80_machine-config_01_controllerconfigs-TechPreviewNoUpgrade.crd.yaml b/machineconfiguration/v1/zz_generated.crd-manifests/0000_80_machine-config_01_controllerconfigs-TechPreviewNoUpgrade.crd.yaml index a34e44a22af..d3fb1196d98 100644 --- a/machineconfiguration/v1/zz_generated.crd-manifests/0000_80_machine-config_01_controllerconfigs-TechPreviewNoUpgrade.crd.yaml +++ b/machineconfiguration/v1/zz_generated.crd-manifests/0000_80_machine-config_01_controllerconfigs-TechPreviewNoUpgrade.crd.yaml @@ -2538,6 +2538,22 @@ spec: rule: 'self == oldSelf || (size(self) == 2 && isIP(self[0]) && isIP(self[1]) ? ip(self[0]).family() != ip(self[1]).family() : true)' + dnsRecordsType: + description: |- + dnsRecordsType determines whether records for api, api-int, and ingress + are provided by the internal DNS service or externally. + Allowed values are `Internal`, `External`, and omitted. + When set to `Internal`, records are provided by the internal infrastructure + When set to `External`, records are not provided by the internal infrastructure + and must be configured by the user. This value may only be set when a + user-managed loadbalancer is configured. + When omitted, this means the user has no opinion and the platform is left + to choose reasonable defaults. These defaults are subject to change over time. + The current default is `Internal`. + enum: + - Internal + - External + type: string ingressIP: description: |- ingressIP is an external IP which routes to the default ingress controller. @@ -2627,6 +2643,22 @@ spec: cloudName is the name of the desired OpenStack cloud in the client configuration file (`clouds.yaml`). type: string + dnsRecordsType: + description: |- + dnsRecordsType determines whether records for api, api-int, and ingress + are provided by the internal DNS service or externally. + Allowed values are `Internal`, `External`, and omitted. + When set to `Internal`, records are provided by the internal infrastructure + When set to `External`, records are not provided by the internal infrastructure + and must be configured by the user. This value may only be set when a + user-managed loadbalancer is configured. + When omitted, this means the user has no opinion and the platform is left + to choose reasonable defaults. These defaults are subject to change over time. + The current default is `Internal`. + enum: + - Internal + - External + type: string ingressIP: description: |- ingressIP is an external IP which routes to the default ingress controller. @@ -2737,6 +2769,22 @@ spec: rule: 'self == oldSelf || (size(self) == 2 && isIP(self[0]) && isIP(self[1]) ? ip(self[0]).family() != ip(self[1]).family() : true)' + dnsRecordsType: + description: |- + dnsRecordsType determines whether records for api, api-int, and ingress + are provided by the internal DNS service or externally. + Allowed values are `Internal`, `External`, and omitted. + When set to `Internal`, records are provided by the internal infrastructure + When set to `External`, records are not provided by the internal infrastructure + and must be configured by the user. This value may only be set when a + user-managed loadbalancer is configured. + When omitted, this means the user has no opinion and the platform is left + to choose reasonable defaults. These defaults are subject to change over time. + The current default is `Internal`. + enum: + - Internal + - External + type: string ingressIP: description: |- ingressIP is an external IP which routes to the default ingress controller. @@ -2946,6 +2994,22 @@ spec: rule: 'self == oldSelf || (size(self) == 2 && isIP(self[0]) && isIP(self[1]) ? ip(self[0]).family() != ip(self[1]).family() : true)' + dnsRecordsType: + description: |- + dnsRecordsType determines whether records for api, api-int, and ingress + are provided by the internal DNS service or externally. + Allowed values are `Internal`, `External`, and omitted. + When set to `Internal`, records are provided by the internal infrastructure + When set to `External`, records are not provided by the internal infrastructure + and must be configured by the user. This value may only be set when a + user-managed loadbalancer is configured. + When omitted, this means the user has no opinion and the platform is left + to choose reasonable defaults. These defaults are subject to change over time. + The current default is `Internal`. + enum: + - Internal + - External + type: string ingressIP: description: |- ingressIP is an external IP which routes to the default ingress controller. diff --git a/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/OnPremDNSRecords.yaml b/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/OnPremDNSRecords.yaml index 4795a388967..16ec7532962 100644 --- a/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/OnPremDNSRecords.yaml +++ b/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/OnPremDNSRecords.yaml @@ -2039,6 +2039,22 @@ spec: rule: 'self == oldSelf || (size(self) == 2 && isIP(self[0]) && isIP(self[1]) ? ip(self[0]).family() != ip(self[1]).family() : true)' + dnsRecordsType: + description: |- + dnsRecordsType determines whether records for api, api-int, and ingress + are provided by the internal DNS service or externally. + Allowed values are `Internal`, `External`, and omitted. + When set to `Internal`, records are provided by the internal infrastructure + When set to `External`, records are not provided by the internal infrastructure + and must be configured by the user. This value may only be set when a + user-managed loadbalancer is configured. + When omitted, this means the user has no opinion and the platform is left + to choose reasonable defaults. These defaults are subject to change over time. + The current default is `Internal`. + enum: + - Internal + - External + type: string ingressIP: description: |- ingressIP is an external IP which routes to the default ingress controller. @@ -2128,6 +2144,22 @@ spec: cloudName is the name of the desired OpenStack cloud in the client configuration file (`clouds.yaml`). type: string + dnsRecordsType: + description: |- + dnsRecordsType determines whether records for api, api-int, and ingress + are provided by the internal DNS service or externally. + Allowed values are `Internal`, `External`, and omitted. + When set to `Internal`, records are provided by the internal infrastructure + When set to `External`, records are not provided by the internal infrastructure + and must be configured by the user. This value may only be set when a + user-managed loadbalancer is configured. + When omitted, this means the user has no opinion and the platform is left + to choose reasonable defaults. These defaults are subject to change over time. + The current default is `Internal`. + enum: + - Internal + - External + type: string ingressIP: description: |- ingressIP is an external IP which routes to the default ingress controller. @@ -2238,6 +2270,22 @@ spec: rule: 'self == oldSelf || (size(self) == 2 && isIP(self[0]) && isIP(self[1]) ? ip(self[0]).family() != ip(self[1]).family() : true)' + dnsRecordsType: + description: |- + dnsRecordsType determines whether records for api, api-int, and ingress + are provided by the internal DNS service or externally. + Allowed values are `Internal`, `External`, and omitted. + When set to `Internal`, records are provided by the internal infrastructure + When set to `External`, records are not provided by the internal infrastructure + and must be configured by the user. This value may only be set when a + user-managed loadbalancer is configured. + When omitted, this means the user has no opinion and the platform is left + to choose reasonable defaults. These defaults are subject to change over time. + The current default is `Internal`. + enum: + - Internal + - External + type: string ingressIP: description: |- ingressIP is an external IP which routes to the default ingress controller. @@ -2447,6 +2495,22 @@ spec: rule: 'self == oldSelf || (size(self) == 2 && isIP(self[0]) && isIP(self[1]) ? ip(self[0]).family() != ip(self[1]).family() : true)' + dnsRecordsType: + description: |- + dnsRecordsType determines whether records for api, api-int, and ingress + are provided by the internal DNS service or externally. + Allowed values are `Internal`, `External`, and omitted. + When set to `Internal`, records are provided by the internal infrastructure + When set to `External`, records are not provided by the internal infrastructure + and must be configured by the user. This value may only be set when a + user-managed loadbalancer is configured. + When omitted, this means the user has no opinion and the platform is left + to choose reasonable defaults. These defaults are subject to change over time. + The current default is `Internal`. + enum: + - Internal + - External + type: string ingressIP: description: |- ingressIP is an external IP which routes to the default ingress controller. diff --git a/openapi/generated_openapi/zz_generated.openapi.go b/openapi/generated_openapi/zz_generated.openapi.go index 122ea9f6f8a..2ba9cf5b5a5 100644 --- a/openapi/generated_openapi/zz_generated.openapi.go +++ b/openapi/generated_openapi/zz_generated.openapi.go @@ -16842,6 +16842,13 @@ func schema_openshift_api_config_v1_NutanixPlatformStatus(ref common.ReferenceCa Ref: ref("github.com/openshift/api/config/v1.NutanixPlatformLoadBalancer"), }, }, + "dnsRecordsType": { + SchemaProps: spec.SchemaProps{ + Description: "dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. When set to `Internal`, records are provided by the internal infrastructure When set to `External`, records are not provided by the internal infrastructure and must be configured by the user. This value may only be set when a user-managed loadbalancer is configured. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`.", + Type: []string{"string"}, + Format: "", + }, + }, }, Required: []string{"apiServerInternalIPs", "ingressIPs"}, }, @@ -17903,6 +17910,13 @@ func schema_openshift_api_config_v1_OpenStackPlatformStatus(ref common.Reference Ref: ref("github.com/openshift/api/config/v1.OpenStackPlatformLoadBalancer"), }, }, + "dnsRecordsType": { + SchemaProps: spec.SchemaProps{ + Description: "dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. When set to `Internal`, records are provided by the internal infrastructure When set to `External`, records are not provided by the internal infrastructure and must be configured by the user. This value may only be set when a user-managed loadbalancer is configured. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`.", + Type: []string{"string"}, + Format: "", + }, + }, "machineNetworks": { VendorExtensible: spec.VendorExtensible{ Extensions: spec.Extensions{ @@ -18242,6 +18256,13 @@ func schema_openshift_api_config_v1_OvirtPlatformStatus(ref common.ReferenceCall Ref: ref("github.com/openshift/api/config/v1.OvirtPlatformLoadBalancer"), }, }, + "dnsRecordsType": { + SchemaProps: spec.SchemaProps{ + Description: "dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. When set to `Internal`, records are provided by the internal infrastructure When set to `External`, records are not provided by the internal infrastructure and must be configured by the user. This value may only be set when a user-managed loadbalancer is configured. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`.", + Type: []string{"string"}, + Format: "", + }, + }, }, Required: []string{"apiServerInternalIPs", "ingressIPs"}, }, @@ -21435,6 +21456,13 @@ func schema_openshift_api_config_v1_VSpherePlatformStatus(ref common.ReferenceCa Ref: ref("github.com/openshift/api/config/v1.VSpherePlatformLoadBalancer"), }, }, + "dnsRecordsType": { + SchemaProps: spec.SchemaProps{ + Description: "dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. When set to `Internal`, records are provided by the internal infrastructure When set to `External`, records are not provided by the internal infrastructure and must be configured by the user. This value may only be set when a user-managed loadbalancer is configured. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`.", + Type: []string{"string"}, + Format: "", + }, + }, "machineNetworks": { VendorExtensible: spec.VendorExtensible{ Extensions: spec.Extensions{ diff --git a/openapi/openapi.json b/openapi/openapi.json index 24b72128476..2de1ff04e6a 100644 --- a/openapi/openapi.json +++ b/openapi/openapi.json @@ -8928,6 +8928,10 @@ }, "x-kubernetes-list-type": "set" }, + "dnsRecordsType": { + "description": "dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. When set to `Internal`, records are provided by the internal infrastructure When set to `External`, records are not provided by the internal infrastructure and must be configured by the user. This value may only be set when a user-managed loadbalancer is configured. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`.", + "type": "string" + }, "ingressIP": { "description": "ingressIP is an external IP which routes to the default ingress controller. The IP is a suitable target of a wildcard DNS record used to resolve default route host names.\n\nDeprecated: Use IngressIPs instead.", "type": "string" @@ -9538,6 +9542,10 @@ "description": "cloudName is the name of the desired OpenStack cloud in the client configuration file (`clouds.yaml`).", "type": "string" }, + "dnsRecordsType": { + "description": "dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. When set to `Internal`, records are provided by the internal infrastructure When set to `External`, records are not provided by the internal infrastructure and must be configured by the user. This value may only be set when a user-managed loadbalancer is configured. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`.", + "type": "string" + }, "ingressIP": { "description": "ingressIP is an external IP which routes to the default ingress controller. The IP is a suitable target of a wildcard DNS record used to resolve default route host names.\n\nDeprecated: Use IngressIPs instead.", "type": "string" @@ -9728,6 +9736,10 @@ }, "x-kubernetes-list-type": "set" }, + "dnsRecordsType": { + "description": "dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. When set to `Internal`, records are provided by the internal infrastructure When set to `External`, records are not provided by the internal infrastructure and must be configured by the user. This value may only be set when a user-managed loadbalancer is configured. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`.", + "type": "string" + }, "ingressIP": { "description": "ingressIP is an external IP which routes to the default ingress controller. The IP is a suitable target of a wildcard DNS record used to resolve default route host names.\n\nDeprecated: Use IngressIPs instead.", "type": "string" @@ -11639,6 +11651,10 @@ }, "x-kubernetes-list-type": "atomic" }, + "dnsRecordsType": { + "description": "dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. When set to `Internal`, records are provided by the internal infrastructure When set to `External`, records are not provided by the internal infrastructure and must be configured by the user. This value may only be set when a user-managed loadbalancer is configured. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`.", + "type": "string" + }, "ingressIP": { "description": "ingressIP is an external IP which routes to the default ingress controller. The IP is a suitable target of a wildcard DNS record used to resolve default route host names.\n\nDeprecated: Use IngressIPs instead.", "type": "string" diff --git a/payload-manifests/crds/0000_10_config-operator_01_infrastructures-CustomNoUpgrade.crd.yaml b/payload-manifests/crds/0000_10_config-operator_01_infrastructures-CustomNoUpgrade.crd.yaml index 133e718f3a4..41fb98a299c 100644 --- a/payload-manifests/crds/0000_10_config-operator_01_infrastructures-CustomNoUpgrade.crd.yaml +++ b/payload-manifests/crds/0000_10_config-operator_01_infrastructures-CustomNoUpgrade.crd.yaml @@ -2242,6 +2242,22 @@ spec: rule: 'self == oldSelf || (size(self) == 2 && isIP(self[0]) && isIP(self[1]) ? ip(self[0]).family() != ip(self[1]).family() : true)' + dnsRecordsType: + description: |- + dnsRecordsType determines whether records for api, api-int, and ingress + are provided by the internal DNS service or externally. + Allowed values are `Internal`, `External`, and omitted. + When set to `Internal`, records are provided by the internal infrastructure + When set to `External`, records are not provided by the internal infrastructure + and must be configured by the user. This value may only be set when a + user-managed loadbalancer is configured. + When omitted, this means the user has no opinion and the platform is left + to choose reasonable defaults. These defaults are subject to change over time. + The current default is `Internal`. + enum: + - Internal + - External + type: string ingressIP: description: |- ingressIP is an external IP which routes to the default ingress controller. @@ -2331,6 +2347,22 @@ spec: cloudName is the name of the desired OpenStack cloud in the client configuration file (`clouds.yaml`). type: string + dnsRecordsType: + description: |- + dnsRecordsType determines whether records for api, api-int, and ingress + are provided by the internal DNS service or externally. + Allowed values are `Internal`, `External`, and omitted. + When set to `Internal`, records are provided by the internal infrastructure + When set to `External`, records are not provided by the internal infrastructure + and must be configured by the user. This value may only be set when a + user-managed loadbalancer is configured. + When omitted, this means the user has no opinion and the platform is left + to choose reasonable defaults. These defaults are subject to change over time. + The current default is `Internal`. + enum: + - Internal + - External + type: string ingressIP: description: |- ingressIP is an external IP which routes to the default ingress controller. @@ -2441,6 +2473,22 @@ spec: rule: 'self == oldSelf || (size(self) == 2 && isIP(self[0]) && isIP(self[1]) ? ip(self[0]).family() != ip(self[1]).family() : true)' + dnsRecordsType: + description: |- + dnsRecordsType determines whether records for api, api-int, and ingress + are provided by the internal DNS service or externally. + Allowed values are `Internal`, `External`, and omitted. + When set to `Internal`, records are provided by the internal infrastructure + When set to `External`, records are not provided by the internal infrastructure + and must be configured by the user. This value may only be set when a + user-managed loadbalancer is configured. + When omitted, this means the user has no opinion and the platform is left + to choose reasonable defaults. These defaults are subject to change over time. + The current default is `Internal`. + enum: + - Internal + - External + type: string ingressIP: description: |- ingressIP is an external IP which routes to the default ingress controller. @@ -2649,6 +2697,22 @@ spec: rule: 'self == oldSelf || (size(self) == 2 && isIP(self[0]) && isIP(self[1]) ? ip(self[0]).family() != ip(self[1]).family() : true)' + dnsRecordsType: + description: |- + dnsRecordsType determines whether records for api, api-int, and ingress + are provided by the internal DNS service or externally. + Allowed values are `Internal`, `External`, and omitted. + When set to `Internal`, records are provided by the internal infrastructure + When set to `External`, records are not provided by the internal infrastructure + and must be configured by the user. This value may only be set when a + user-managed loadbalancer is configured. + When omitted, this means the user has no opinion and the platform is left + to choose reasonable defaults. These defaults are subject to change over time. + The current default is `Internal`. + enum: + - Internal + - External + type: string ingressIP: description: |- ingressIP is an external IP which routes to the default ingress controller. diff --git a/payload-manifests/crds/0000_10_config-operator_01_infrastructures-DevPreviewNoUpgrade.crd.yaml b/payload-manifests/crds/0000_10_config-operator_01_infrastructures-DevPreviewNoUpgrade.crd.yaml index 670315e3ba0..d7bbd21a870 100644 --- a/payload-manifests/crds/0000_10_config-operator_01_infrastructures-DevPreviewNoUpgrade.crd.yaml +++ b/payload-manifests/crds/0000_10_config-operator_01_infrastructures-DevPreviewNoUpgrade.crd.yaml @@ -2242,6 +2242,22 @@ spec: rule: 'self == oldSelf || (size(self) == 2 && isIP(self[0]) && isIP(self[1]) ? ip(self[0]).family() != ip(self[1]).family() : true)' + dnsRecordsType: + description: |- + dnsRecordsType determines whether records for api, api-int, and ingress + are provided by the internal DNS service or externally. + Allowed values are `Internal`, `External`, and omitted. + When set to `Internal`, records are provided by the internal infrastructure + When set to `External`, records are not provided by the internal infrastructure + and must be configured by the user. This value may only be set when a + user-managed loadbalancer is configured. + When omitted, this means the user has no opinion and the platform is left + to choose reasonable defaults. These defaults are subject to change over time. + The current default is `Internal`. + enum: + - Internal + - External + type: string ingressIP: description: |- ingressIP is an external IP which routes to the default ingress controller. @@ -2331,6 +2347,22 @@ spec: cloudName is the name of the desired OpenStack cloud in the client configuration file (`clouds.yaml`). type: string + dnsRecordsType: + description: |- + dnsRecordsType determines whether records for api, api-int, and ingress + are provided by the internal DNS service or externally. + Allowed values are `Internal`, `External`, and omitted. + When set to `Internal`, records are provided by the internal infrastructure + When set to `External`, records are not provided by the internal infrastructure + and must be configured by the user. This value may only be set when a + user-managed loadbalancer is configured. + When omitted, this means the user has no opinion and the platform is left + to choose reasonable defaults. These defaults are subject to change over time. + The current default is `Internal`. + enum: + - Internal + - External + type: string ingressIP: description: |- ingressIP is an external IP which routes to the default ingress controller. @@ -2441,6 +2473,22 @@ spec: rule: 'self == oldSelf || (size(self) == 2 && isIP(self[0]) && isIP(self[1]) ? ip(self[0]).family() != ip(self[1]).family() : true)' + dnsRecordsType: + description: |- + dnsRecordsType determines whether records for api, api-int, and ingress + are provided by the internal DNS service or externally. + Allowed values are `Internal`, `External`, and omitted. + When set to `Internal`, records are provided by the internal infrastructure + When set to `External`, records are not provided by the internal infrastructure + and must be configured by the user. This value may only be set when a + user-managed loadbalancer is configured. + When omitted, this means the user has no opinion and the platform is left + to choose reasonable defaults. These defaults are subject to change over time. + The current default is `Internal`. + enum: + - Internal + - External + type: string ingressIP: description: |- ingressIP is an external IP which routes to the default ingress controller. @@ -2649,6 +2697,22 @@ spec: rule: 'self == oldSelf || (size(self) == 2 && isIP(self[0]) && isIP(self[1]) ? ip(self[0]).family() != ip(self[1]).family() : true)' + dnsRecordsType: + description: |- + dnsRecordsType determines whether records for api, api-int, and ingress + are provided by the internal DNS service or externally. + Allowed values are `Internal`, `External`, and omitted. + When set to `Internal`, records are provided by the internal infrastructure + When set to `External`, records are not provided by the internal infrastructure + and must be configured by the user. This value may only be set when a + user-managed loadbalancer is configured. + When omitted, this means the user has no opinion and the platform is left + to choose reasonable defaults. These defaults are subject to change over time. + The current default is `Internal`. + enum: + - Internal + - External + type: string ingressIP: description: |- ingressIP is an external IP which routes to the default ingress controller. diff --git a/payload-manifests/crds/0000_10_config-operator_01_infrastructures-TechPreviewNoUpgrade.crd.yaml b/payload-manifests/crds/0000_10_config-operator_01_infrastructures-TechPreviewNoUpgrade.crd.yaml index 90f29034a3c..3d88ef3b305 100644 --- a/payload-manifests/crds/0000_10_config-operator_01_infrastructures-TechPreviewNoUpgrade.crd.yaml +++ b/payload-manifests/crds/0000_10_config-operator_01_infrastructures-TechPreviewNoUpgrade.crd.yaml @@ -2242,6 +2242,22 @@ spec: rule: 'self == oldSelf || (size(self) == 2 && isIP(self[0]) && isIP(self[1]) ? ip(self[0]).family() != ip(self[1]).family() : true)' + dnsRecordsType: + description: |- + dnsRecordsType determines whether records for api, api-int, and ingress + are provided by the internal DNS service or externally. + Allowed values are `Internal`, `External`, and omitted. + When set to `Internal`, records are provided by the internal infrastructure + When set to `External`, records are not provided by the internal infrastructure + and must be configured by the user. This value may only be set when a + user-managed loadbalancer is configured. + When omitted, this means the user has no opinion and the platform is left + to choose reasonable defaults. These defaults are subject to change over time. + The current default is `Internal`. + enum: + - Internal + - External + type: string ingressIP: description: |- ingressIP is an external IP which routes to the default ingress controller. @@ -2331,6 +2347,22 @@ spec: cloudName is the name of the desired OpenStack cloud in the client configuration file (`clouds.yaml`). type: string + dnsRecordsType: + description: |- + dnsRecordsType determines whether records for api, api-int, and ingress + are provided by the internal DNS service or externally. + Allowed values are `Internal`, `External`, and omitted. + When set to `Internal`, records are provided by the internal infrastructure + When set to `External`, records are not provided by the internal infrastructure + and must be configured by the user. This value may only be set when a + user-managed loadbalancer is configured. + When omitted, this means the user has no opinion and the platform is left + to choose reasonable defaults. These defaults are subject to change over time. + The current default is `Internal`. + enum: + - Internal + - External + type: string ingressIP: description: |- ingressIP is an external IP which routes to the default ingress controller. @@ -2441,6 +2473,22 @@ spec: rule: 'self == oldSelf || (size(self) == 2 && isIP(self[0]) && isIP(self[1]) ? ip(self[0]).family() != ip(self[1]).family() : true)' + dnsRecordsType: + description: |- + dnsRecordsType determines whether records for api, api-int, and ingress + are provided by the internal DNS service or externally. + Allowed values are `Internal`, `External`, and omitted. + When set to `Internal`, records are provided by the internal infrastructure + When set to `External`, records are not provided by the internal infrastructure + and must be configured by the user. This value may only be set when a + user-managed loadbalancer is configured. + When omitted, this means the user has no opinion and the platform is left + to choose reasonable defaults. These defaults are subject to change over time. + The current default is `Internal`. + enum: + - Internal + - External + type: string ingressIP: description: |- ingressIP is an external IP which routes to the default ingress controller. @@ -2649,6 +2697,22 @@ spec: rule: 'self == oldSelf || (size(self) == 2 && isIP(self[0]) && isIP(self[1]) ? ip(self[0]).family() != ip(self[1]).family() : true)' + dnsRecordsType: + description: |- + dnsRecordsType determines whether records for api, api-int, and ingress + are provided by the internal DNS service or externally. + Allowed values are `Internal`, `External`, and omitted. + When set to `Internal`, records are provided by the internal infrastructure + When set to `External`, records are not provided by the internal infrastructure + and must be configured by the user. This value may only be set when a + user-managed loadbalancer is configured. + When omitted, this means the user has no opinion and the platform is left + to choose reasonable defaults. These defaults are subject to change over time. + The current default is `Internal`. + enum: + - Internal + - External + type: string ingressIP: description: |- ingressIP is an external IP which routes to the default ingress controller. diff --git a/payload-manifests/crds/0000_80_machine-config_01_controllerconfigs-CustomNoUpgrade.crd.yaml b/payload-manifests/crds/0000_80_machine-config_01_controllerconfigs-CustomNoUpgrade.crd.yaml index 9e2a5769ebf..b6a2d226e3c 100644 --- a/payload-manifests/crds/0000_80_machine-config_01_controllerconfigs-CustomNoUpgrade.crd.yaml +++ b/payload-manifests/crds/0000_80_machine-config_01_controllerconfigs-CustomNoUpgrade.crd.yaml @@ -2538,6 +2538,22 @@ spec: rule: 'self == oldSelf || (size(self) == 2 && isIP(self[0]) && isIP(self[1]) ? ip(self[0]).family() != ip(self[1]).family() : true)' + dnsRecordsType: + description: |- + dnsRecordsType determines whether records for api, api-int, and ingress + are provided by the internal DNS service or externally. + Allowed values are `Internal`, `External`, and omitted. + When set to `Internal`, records are provided by the internal infrastructure + When set to `External`, records are not provided by the internal infrastructure + and must be configured by the user. This value may only be set when a + user-managed loadbalancer is configured. + When omitted, this means the user has no opinion and the platform is left + to choose reasonable defaults. These defaults are subject to change over time. + The current default is `Internal`. + enum: + - Internal + - External + type: string ingressIP: description: |- ingressIP is an external IP which routes to the default ingress controller. @@ -2627,6 +2643,22 @@ spec: cloudName is the name of the desired OpenStack cloud in the client configuration file (`clouds.yaml`). type: string + dnsRecordsType: + description: |- + dnsRecordsType determines whether records for api, api-int, and ingress + are provided by the internal DNS service or externally. + Allowed values are `Internal`, `External`, and omitted. + When set to `Internal`, records are provided by the internal infrastructure + When set to `External`, records are not provided by the internal infrastructure + and must be configured by the user. This value may only be set when a + user-managed loadbalancer is configured. + When omitted, this means the user has no opinion and the platform is left + to choose reasonable defaults. These defaults are subject to change over time. + The current default is `Internal`. + enum: + - Internal + - External + type: string ingressIP: description: |- ingressIP is an external IP which routes to the default ingress controller. @@ -2737,6 +2769,22 @@ spec: rule: 'self == oldSelf || (size(self) == 2 && isIP(self[0]) && isIP(self[1]) ? ip(self[0]).family() != ip(self[1]).family() : true)' + dnsRecordsType: + description: |- + dnsRecordsType determines whether records for api, api-int, and ingress + are provided by the internal DNS service or externally. + Allowed values are `Internal`, `External`, and omitted. + When set to `Internal`, records are provided by the internal infrastructure + When set to `External`, records are not provided by the internal infrastructure + and must be configured by the user. This value may only be set when a + user-managed loadbalancer is configured. + When omitted, this means the user has no opinion and the platform is left + to choose reasonable defaults. These defaults are subject to change over time. + The current default is `Internal`. + enum: + - Internal + - External + type: string ingressIP: description: |- ingressIP is an external IP which routes to the default ingress controller. @@ -2946,6 +2994,22 @@ spec: rule: 'self == oldSelf || (size(self) == 2 && isIP(self[0]) && isIP(self[1]) ? ip(self[0]).family() != ip(self[1]).family() : true)' + dnsRecordsType: + description: |- + dnsRecordsType determines whether records for api, api-int, and ingress + are provided by the internal DNS service or externally. + Allowed values are `Internal`, `External`, and omitted. + When set to `Internal`, records are provided by the internal infrastructure + When set to `External`, records are not provided by the internal infrastructure + and must be configured by the user. This value may only be set when a + user-managed loadbalancer is configured. + When omitted, this means the user has no opinion and the platform is left + to choose reasonable defaults. These defaults are subject to change over time. + The current default is `Internal`. + enum: + - Internal + - External + type: string ingressIP: description: |- ingressIP is an external IP which routes to the default ingress controller. diff --git a/payload-manifests/crds/0000_80_machine-config_01_controllerconfigs-DevPreviewNoUpgrade.crd.yaml b/payload-manifests/crds/0000_80_machine-config_01_controllerconfigs-DevPreviewNoUpgrade.crd.yaml index da56fa59361..384f8f232ef 100644 --- a/payload-manifests/crds/0000_80_machine-config_01_controllerconfigs-DevPreviewNoUpgrade.crd.yaml +++ b/payload-manifests/crds/0000_80_machine-config_01_controllerconfigs-DevPreviewNoUpgrade.crd.yaml @@ -2538,6 +2538,22 @@ spec: rule: 'self == oldSelf || (size(self) == 2 && isIP(self[0]) && isIP(self[1]) ? ip(self[0]).family() != ip(self[1]).family() : true)' + dnsRecordsType: + description: |- + dnsRecordsType determines whether records for api, api-int, and ingress + are provided by the internal DNS service or externally. + Allowed values are `Internal`, `External`, and omitted. + When set to `Internal`, records are provided by the internal infrastructure + When set to `External`, records are not provided by the internal infrastructure + and must be configured by the user. This value may only be set when a + user-managed loadbalancer is configured. + When omitted, this means the user has no opinion and the platform is left + to choose reasonable defaults. These defaults are subject to change over time. + The current default is `Internal`. + enum: + - Internal + - External + type: string ingressIP: description: |- ingressIP is an external IP which routes to the default ingress controller. @@ -2627,6 +2643,22 @@ spec: cloudName is the name of the desired OpenStack cloud in the client configuration file (`clouds.yaml`). type: string + dnsRecordsType: + description: |- + dnsRecordsType determines whether records for api, api-int, and ingress + are provided by the internal DNS service or externally. + Allowed values are `Internal`, `External`, and omitted. + When set to `Internal`, records are provided by the internal infrastructure + When set to `External`, records are not provided by the internal infrastructure + and must be configured by the user. This value may only be set when a + user-managed loadbalancer is configured. + When omitted, this means the user has no opinion and the platform is left + to choose reasonable defaults. These defaults are subject to change over time. + The current default is `Internal`. + enum: + - Internal + - External + type: string ingressIP: description: |- ingressIP is an external IP which routes to the default ingress controller. @@ -2737,6 +2769,22 @@ spec: rule: 'self == oldSelf || (size(self) == 2 && isIP(self[0]) && isIP(self[1]) ? ip(self[0]).family() != ip(self[1]).family() : true)' + dnsRecordsType: + description: |- + dnsRecordsType determines whether records for api, api-int, and ingress + are provided by the internal DNS service or externally. + Allowed values are `Internal`, `External`, and omitted. + When set to `Internal`, records are provided by the internal infrastructure + When set to `External`, records are not provided by the internal infrastructure + and must be configured by the user. This value may only be set when a + user-managed loadbalancer is configured. + When omitted, this means the user has no opinion and the platform is left + to choose reasonable defaults. These defaults are subject to change over time. + The current default is `Internal`. + enum: + - Internal + - External + type: string ingressIP: description: |- ingressIP is an external IP which routes to the default ingress controller. @@ -2946,6 +2994,22 @@ spec: rule: 'self == oldSelf || (size(self) == 2 && isIP(self[0]) && isIP(self[1]) ? ip(self[0]).family() != ip(self[1]).family() : true)' + dnsRecordsType: + description: |- + dnsRecordsType determines whether records for api, api-int, and ingress + are provided by the internal DNS service or externally. + Allowed values are `Internal`, `External`, and omitted. + When set to `Internal`, records are provided by the internal infrastructure + When set to `External`, records are not provided by the internal infrastructure + and must be configured by the user. This value may only be set when a + user-managed loadbalancer is configured. + When omitted, this means the user has no opinion and the platform is left + to choose reasonable defaults. These defaults are subject to change over time. + The current default is `Internal`. + enum: + - Internal + - External + type: string ingressIP: description: |- ingressIP is an external IP which routes to the default ingress controller. diff --git a/payload-manifests/crds/0000_80_machine-config_01_controllerconfigs-TechPreviewNoUpgrade.crd.yaml b/payload-manifests/crds/0000_80_machine-config_01_controllerconfigs-TechPreviewNoUpgrade.crd.yaml index a34e44a22af..d3fb1196d98 100644 --- a/payload-manifests/crds/0000_80_machine-config_01_controllerconfigs-TechPreviewNoUpgrade.crd.yaml +++ b/payload-manifests/crds/0000_80_machine-config_01_controllerconfigs-TechPreviewNoUpgrade.crd.yaml @@ -2538,6 +2538,22 @@ spec: rule: 'self == oldSelf || (size(self) == 2 && isIP(self[0]) && isIP(self[1]) ? ip(self[0]).family() != ip(self[1]).family() : true)' + dnsRecordsType: + description: |- + dnsRecordsType determines whether records for api, api-int, and ingress + are provided by the internal DNS service or externally. + Allowed values are `Internal`, `External`, and omitted. + When set to `Internal`, records are provided by the internal infrastructure + When set to `External`, records are not provided by the internal infrastructure + and must be configured by the user. This value may only be set when a + user-managed loadbalancer is configured. + When omitted, this means the user has no opinion and the platform is left + to choose reasonable defaults. These defaults are subject to change over time. + The current default is `Internal`. + enum: + - Internal + - External + type: string ingressIP: description: |- ingressIP is an external IP which routes to the default ingress controller. @@ -2627,6 +2643,22 @@ spec: cloudName is the name of the desired OpenStack cloud in the client configuration file (`clouds.yaml`). type: string + dnsRecordsType: + description: |- + dnsRecordsType determines whether records for api, api-int, and ingress + are provided by the internal DNS service or externally. + Allowed values are `Internal`, `External`, and omitted. + When set to `Internal`, records are provided by the internal infrastructure + When set to `External`, records are not provided by the internal infrastructure + and must be configured by the user. This value may only be set when a + user-managed loadbalancer is configured. + When omitted, this means the user has no opinion and the platform is left + to choose reasonable defaults. These defaults are subject to change over time. + The current default is `Internal`. + enum: + - Internal + - External + type: string ingressIP: description: |- ingressIP is an external IP which routes to the default ingress controller. @@ -2737,6 +2769,22 @@ spec: rule: 'self == oldSelf || (size(self) == 2 && isIP(self[0]) && isIP(self[1]) ? ip(self[0]).family() != ip(self[1]).family() : true)' + dnsRecordsType: + description: |- + dnsRecordsType determines whether records for api, api-int, and ingress + are provided by the internal DNS service or externally. + Allowed values are `Internal`, `External`, and omitted. + When set to `Internal`, records are provided by the internal infrastructure + When set to `External`, records are not provided by the internal infrastructure + and must be configured by the user. This value may only be set when a + user-managed loadbalancer is configured. + When omitted, this means the user has no opinion and the platform is left + to choose reasonable defaults. These defaults are subject to change over time. + The current default is `Internal`. + enum: + - Internal + - External + type: string ingressIP: description: |- ingressIP is an external IP which routes to the default ingress controller. @@ -2946,6 +2994,22 @@ spec: rule: 'self == oldSelf || (size(self) == 2 && isIP(self[0]) && isIP(self[1]) ? ip(self[0]).family() != ip(self[1]).family() : true)' + dnsRecordsType: + description: |- + dnsRecordsType determines whether records for api, api-int, and ingress + are provided by the internal DNS service or externally. + Allowed values are `Internal`, `External`, and omitted. + When set to `Internal`, records are provided by the internal infrastructure + When set to `External`, records are not provided by the internal infrastructure + and must be configured by the user. This value may only be set when a + user-managed loadbalancer is configured. + When omitted, this means the user has no opinion and the platform is left + to choose reasonable defaults. These defaults are subject to change over time. + The current default is `Internal`. + enum: + - Internal + - External + type: string ingressIP: description: |- ingressIP is an external IP which routes to the default ingress controller. From e2a2880d3b2a4278bb939cb676ac23c688b9f21b Mon Sep 17 00:00:00 2001 From: Ben Nemec Date: Wed, 22 Oct 2025 11:20:29 -0500 Subject: [PATCH 03/11] Add infrastructure integration tests --- .../OnPremDNSRecords.yaml | 97 +++++++++++++++++++ 1 file changed, 97 insertions(+) create mode 100644 config/v1/tests/infrastructures.config.openshift.io/OnPremDNSRecords.yaml diff --git a/config/v1/tests/infrastructures.config.openshift.io/OnPremDNSRecords.yaml b/config/v1/tests/infrastructures.config.openshift.io/OnPremDNSRecords.yaml new file mode 100644 index 00000000000..e3181df8b0b --- /dev/null +++ b/config/v1/tests/infrastructures.config.openshift.io/OnPremDNSRecords.yaml @@ -0,0 +1,97 @@ +apiVersion: apiextensions.k8s.io/v1 # Hack because controller-gen complains if we don't have this +name: "Infrastructure" +crdName: infrastructures.config.openshift.io +featureGates: +- OnPremDNSRecords +tests: + onCreate: + - name: Should be able to create a minimal Infrastructure + initial: | + apiVersion: config.openshift.io/v1 + kind: Infrastructure + spec: {} # No spec is required for a Infrastructure + expected: | + apiVersion: config.openshift.io/v1 + kind: Infrastructure + spec: {} + onUpdate: + - name: Status Should contain default fields + initial: | + apiVersion: config.openshift.io/v1 + kind: Infrastructure + spec: {} + status: {} + updated: | + apiVersion: config.openshift.io/v1 + kind: Infrastructure + spec: {} + status: {} + expected: | + apiVersion: config.openshift.io/v1 + kind: Infrastructure + spec: {} + status: + cpuPartitioning: None + infrastructureTopology: HighlyAvailable + controlPlaneTopology: HighlyAvailable + - name: Should allow setting dnsRecordsType to External + initial: | + apiVersion: config.openshift.io/v1 + kind: Infrastructure + spec: + platformSpec: + baremetal: {} + type: BareMetal + updated: | + apiVersion: config.openshift.io/v1 + kind: Infrastructure + spec: + platformSpec: + baremetal: {} + type: BareMetal + status: + platform: BareMetal + platformStatus: + baremetal: + dnsRecordsType: External + type: BareMetal + expected: | + apiVersion: config.openshift.io/v1 + kind: Infrastructure + spec: + platformSpec: + baremetal: {} + type: BareMetal + status: + platform: BareMetal + platformStatus: + baremetal: + dnsRecordsType: External + loadBalancer: + type: OpenShiftManagedDefault + type: BareMetal + cpuPartitioning: None + infrastructureTopology: HighlyAvailable + controlPlaneTopology: HighlyAvailable + - name: Should not allow setting the dnsRecordsType to a wrong value + initial: | + apiVersion: config.openshift.io/v1 + kind: Infrastructure + spec: + platformSpec: + baremetal: {} + type: BareMetal + updated: | + apiVersion: config.openshift.io/v1 + kind: Infrastructure + spec: + platformSpec: + baremetal: {} + type: BareMetal + status: + platform: BareMetal + platformStatus: + baremetal: + dnsRecordsType: Invalid + type: BareMetal + expectedStatusError: "platformStatus.baremetal.dnsRecordsType: Unsupported value: \"Invalid\": supported values: \"Internal\", \"External\"" From 1a8e202de4241ce9377ad3bec2d8cc0b6cffe92d Mon Sep 17 00:00:00 2001 From: Ben Nemec Date: Wed, 22 Oct 2025 11:25:09 -0500 Subject: [PATCH 04/11] Add controllerconfigs integration test --- .../OnPremDNSRecords.yaml | 126 ++++++++++++++++++ 1 file changed, 126 insertions(+) create mode 100644 machineconfiguration/v1/tests/controllerconfigs.machineconfiguration.openshift.io/OnPremDNSRecords.yaml diff --git a/machineconfiguration/v1/tests/controllerconfigs.machineconfiguration.openshift.io/OnPremDNSRecords.yaml b/machineconfiguration/v1/tests/controllerconfigs.machineconfiguration.openshift.io/OnPremDNSRecords.yaml new file mode 100644 index 00000000000..56772b84b85 --- /dev/null +++ b/machineconfiguration/v1/tests/controllerconfigs.machineconfiguration.openshift.io/OnPremDNSRecords.yaml @@ -0,0 +1,126 @@ +apiVersion: apiextensions.k8s.io/v1 # Hack because controller-gen complains if we don't have this +name: "[TechPreview] ControllerConfig" +crdName: controllerconfigs.machineconfiguration.openshift.io +featureGates: +- OnPremDNSRecords +tests: + onCreate: + - name: opnet Should be able to create a ControllerConfig for vSphere with external DNS records + initial: | + apiVersion: machineconfiguration.openshift.io/v1 + kind: ControllerConfig + spec: + additionalTrustBundle: Y2VydGlmaWNhdGUK + baseOSContainerImage: example.com/example/openshift-release-dev@sha256:d98795f7932441b30bb8bcfbbf05912875383fad1f2b3be08a22ec148d68607e + baseOSExtensionsContainerImage: example.com/example/openshift-release-dev@sha256:d98795f7932441b30bb8bcfbbf05912875383fad1f2b3be08a22ec148d68607e + cloudProviderCAData: null + cloudProviderConfig: "" + clusterDNSIP: fd02::a + dns: + apiVersion: config.openshift.io/v1 + kind: DNS + spec: + baseDomain: fake.redhat.com + images: + machineConfigOperator: rexample.com/example/openshift-release-dev@sha256:2c3ea52ac3a41c6d58e85977c3149413e3fa4b70eb2397426456863adbf43306 + infra: + apiVersion: config.openshift.io/v1 + kind: Infrastructure + spec: + cloudConfig: + name: "" + platformSpec: + type: VSphere + vsphere: {} + status: + apiServerInternalURI: https://api-int.cnfde4.sno.ptp.lab.eng.bos.redhat.com:6443 + apiServerURL: https://api.cnfde4.sno.ptp.lab.eng.bos.redhat.com:6443 + cpuPartitioning: "None" + controlPlaneTopology: SingleReplica + etcdDiscoveryDomain: "" + infrastructureName: cnfde4-sxhr7 + infrastructureTopology: SingleReplica + platform: VSphere + platformStatus: + type: VSphere + vsphere: + apiServerInternalIP: 10.38.153.2 + apiServerInternalIPs: + - 10.38.153.2 + ingressIP: 10.38.153.3 + ingressIPs: + - 10.38.153.3 + loadBalancer: + type: UserManaged + dnsRecordsType: External + ipFamilies: IPv6 + kubeAPIServerServingCAData: Y2VydGlmaWNhdGUK + network: null + networkType: OVNKubernetes + osImageURL: example.com/example/openshift-release-dev@sha256:eacdc37aec78fdbf8caa9601e4012ab31453cf59b086474901900e853e803ea8 + platform: none + proxy: null + pullSecret: + name: pull-secret + namespace: openshift-config + releaseImage: "" + rootCAData: Y2VydGlmaWNhdGUK + expected: | + apiVersion: machineconfiguration.openshift.io/v1 + kind: ControllerConfig + spec: + additionalTrustBundle: Y2VydGlmaWNhdGUK + baseOSContainerImage: example.com/example/openshift-release-dev@sha256:d98795f7932441b30bb8bcfbbf05912875383fad1f2b3be08a22ec148d68607e + baseOSExtensionsContainerImage: example.com/example/openshift-release-dev@sha256:d98795f7932441b30bb8bcfbbf05912875383fad1f2b3be08a22ec148d68607e + cloudProviderCAData: null + cloudProviderConfig: "" + clusterDNSIP: fd02::a + dns: + apiVersion: config.openshift.io/v1 + kind: DNS + spec: + baseDomain: fake.redhat.com + images: + machineConfigOperator: rexample.com/example/openshift-release-dev@sha256:2c3ea52ac3a41c6d58e85977c3149413e3fa4b70eb2397426456863adbf43306 + infra: + apiVersion: config.openshift.io/v1 + kind: Infrastructure + spec: + cloudConfig: + name: "" + platformSpec: + type: VSphere + vsphere: {} + status: + apiServerInternalURI: https://api-int.cnfde4.sno.ptp.lab.eng.bos.redhat.com:6443 + apiServerURL: https://api.cnfde4.sno.ptp.lab.eng.bos.redhat.com:6443 + cpuPartitioning: "None" + controlPlaneTopology: SingleReplica + etcdDiscoveryDomain: "" + infrastructureName: cnfde4-sxhr7 + infrastructureTopology: SingleReplica + platform: VSphere + platformStatus: + type: VSphere + vsphere: + apiServerInternalIP: 10.38.153.2 + apiServerInternalIPs: + - 10.38.153.2 + ingressIP: 10.38.153.3 + ingressIPs: + - 10.38.153.3 + loadBalancer: + type: UserManaged + dnsRecordsType: External + ipFamilies: IPv6 + kubeAPIServerServingCAData: Y2VydGlmaWNhdGUK + network: null + networkType: OVNKubernetes + osImageURL: example.com/example/openshift-release-dev@sha256:eacdc37aec78fdbf8caa9601e4012ab31453cf59b086474901900e853e803ea8 + platform: none + proxy: null + pullSecret: + name: pull-secret + namespace: openshift-config + releaseImage: "" + rootCAData: Y2VydGlmaWNhdGUK From 62006368a62dc3b60c8a474f266642b164bd01ec Mon Sep 17 00:00:00 2001 From: Ben Nemec Date: Wed, 22 Oct 2025 15:24:53 -0500 Subject: [PATCH 05/11] Add XValidation rules for dnsRecordsType cross-field constraint MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add validation rules to enforce that dnsRecordsType can only be set to External when a user-managed load balancer is configured. This ensures the documented constraint "This value may only be set when a user-managed loadbalancer is configured" is properly enforced via CEL validation. The XValidation rule has been added to dnsRecordsType field in: - BareMetalPlatformStatus - OpenStackPlatformStatus - OvirtPlatformStatus - VSpherePlatformStatus - NutanixPlatformStatus The validation rule allows: - dnsRecordsType to be omitted (optional field) - dnsRecordsType='Internal' with any load balancer type - dnsRecordsType='External' only when loadBalancer.type='UserManaged' This change addresses the API review requirement that cross-field constraints documented in field comments must be enforced with appropriate validation rules using +kubebuilder:validation:XValidation. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- config/v1/types_infrastructure.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config/v1/types_infrastructure.go b/config/v1/types_infrastructure.go index 49b6fc63ca8..a46b881aec4 100644 --- a/config/v1/types_infrastructure.go +++ b/config/v1/types_infrastructure.go @@ -1092,6 +1092,7 @@ type BareMetalPlatformStatus struct { // to choose reasonable defaults. These defaults are subject to change over time. // The current default is `Internal`. // +kubebuilder:validation:Enum=Internal;External + // +kubebuilder:validation:XValidation: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" // +openshift:enable:FeatureGate=OnPremDNSRecords // +optional DNSRecordsType DNSRecordsType `json:"dnsRecordsType,omitempty"` @@ -1239,6 +1240,7 @@ type OpenStackPlatformStatus struct { // to choose reasonable defaults. These defaults are subject to change over time. // The current default is `Internal`. // +kubebuilder:validation:Enum=Internal;External + // +kubebuilder:validation:XValidation: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" // +openshift:enable:FeatureGate=OnPremDNSRecords // +optional DNSRecordsType DNSRecordsType `json:"dnsRecordsType,omitempty"` @@ -1335,6 +1337,7 @@ type OvirtPlatformStatus struct { // to choose reasonable defaults. These defaults are subject to change over time. // The current default is `Internal`. // +kubebuilder:validation:Enum=Internal;External + // +kubebuilder:validation:XValidation: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" // +openshift:enable:FeatureGate=OnPremDNSRecords // +optional DNSRecordsType DNSRecordsType `json:"dnsRecordsType,omitempty"` @@ -1798,6 +1801,7 @@ type VSpherePlatformStatus struct { // to choose reasonable defaults. These defaults are subject to change over time. // The current default is `Internal`. // +kubebuilder:validation:Enum=Internal;External + // +kubebuilder:validation:XValidation: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" // +openshift:enable:FeatureGate=OnPremDNSRecords // +optional DNSRecordsType DNSRecordsType `json:"dnsRecordsType,omitempty"` @@ -2230,6 +2234,7 @@ type NutanixPlatformStatus struct { // to choose reasonable defaults. These defaults are subject to change over time. // The current default is `Internal`. // +kubebuilder:validation:Enum=Internal;External + // +kubebuilder:validation:XValidation: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" // +openshift:enable:FeatureGate=OnPremDNSRecords // +optional DNSRecordsType DNSRecordsType `json:"dnsRecordsType,omitempty"` From 275d49ce6bfd01025a88987f6664fb94fefbb110 Mon Sep 17 00:00:00 2001 From: Ben Nemec Date: Thu, 23 Oct 2025 13:34:28 -0500 Subject: [PATCH 06/11] Fix XValidation placement and add integration tests for dnsRecordsType MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Move XValidation rules from field level to struct level to properly enforce cross-field constraints. The validation rule needs access to both dnsRecordsType and loadBalancer fields, which requires the rule to be placed on the parent struct where 'self' refers to the entire struct. Add comprehensive integration test coverage for the dnsRecordsType validation across all 5 on-premise platforms: - BareMetalPlatformStatus - OpenStackPlatformStatus - OvirtPlatformStatus - VSpherePlatformStatus - NutanixPlatformStatus Each platform now has tests verifying: - Success: dnsRecordsType=External with loadBalancer.type=UserManaged - Failure: dnsRecordsType=External with loadBalancer.type=OpenShiftManagedDefault - Success: dnsRecordsType=Internal with any loadBalancer type (BareMetal only) - Failure: Invalid enum values The XValidation rule at struct level properly enforces: !has(self.dnsRecordsType) || self.dnsRecordsType == 'Internal' || (has(self.loadBalancer) && self.loadBalancer.type == 'UserManaged') 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- .../OnPremDNSRecords.yaml | 329 +++++++++++++++++- config/v1/types_infrastructure.go | 10 +- 2 files changed, 333 insertions(+), 6 deletions(-) diff --git a/config/v1/tests/infrastructures.config.openshift.io/OnPremDNSRecords.yaml b/config/v1/tests/infrastructures.config.openshift.io/OnPremDNSRecords.yaml index e3181df8b0b..55ef7cc272f 100644 --- a/config/v1/tests/infrastructures.config.openshift.io/OnPremDNSRecords.yaml +++ b/config/v1/tests/infrastructures.config.openshift.io/OnPremDNSRecords.yaml @@ -34,7 +34,7 @@ tests: cpuPartitioning: None infrastructureTopology: HighlyAvailable controlPlaneTopology: HighlyAvailable - - name: Should allow setting dnsRecordsType to External + - name: Should allow setting dnsRecordsType to External with UserManaged loadBalancer (BareMetal) initial: | apiVersion: config.openshift.io/v1 kind: Infrastructure @@ -54,6 +54,8 @@ tests: platformStatus: baremetal: dnsRecordsType: External + loadBalancer: + type: UserManaged type: BareMetal expected: | apiVersion: config.openshift.io/v1 @@ -67,12 +69,337 @@ tests: platformStatus: baremetal: dnsRecordsType: External + loadBalancer: + type: UserManaged + type: BareMetal + cpuPartitioning: None + infrastructureTopology: HighlyAvailable + controlPlaneTopology: HighlyAvailable + - name: Should reject setting dnsRecordsType to External with OpenShiftManagedDefault loadBalancer (BareMetal) + initial: | + apiVersion: config.openshift.io/v1 + kind: Infrastructure + spec: + platformSpec: + baremetal: {} + type: BareMetal + updated: | + apiVersion: config.openshift.io/v1 + kind: Infrastructure + spec: + platformSpec: + baremetal: {} + type: BareMetal + status: + platform: BareMetal + platformStatus: + baremetal: + dnsRecordsType: External + loadBalancer: + type: OpenShiftManagedDefault + type: BareMetal + expectedStatusError: "status.platformStatus.baremetal: Invalid value: \"object\": dnsRecordsType may only be set to External when loadBalancer.type is UserManaged" + - name: Should allow setting dnsRecordsType to Internal with any loadBalancer type (BareMetal) + initial: | + apiVersion: config.openshift.io/v1 + kind: Infrastructure + spec: + platformSpec: + baremetal: {} + type: BareMetal + updated: | + apiVersion: config.openshift.io/v1 + kind: Infrastructure + spec: + platformSpec: + baremetal: {} + type: BareMetal + status: + platform: BareMetal + platformStatus: + baremetal: + dnsRecordsType: Internal + loadBalancer: + type: OpenShiftManagedDefault + type: BareMetal + expected: | + apiVersion: config.openshift.io/v1 + kind: Infrastructure + spec: + platformSpec: + baremetal: {} + type: BareMetal + status: + platform: BareMetal + platformStatus: + baremetal: + dnsRecordsType: Internal loadBalancer: type: OpenShiftManagedDefault type: BareMetal cpuPartitioning: None infrastructureTopology: HighlyAvailable controlPlaneTopology: HighlyAvailable + - name: Should allow setting dnsRecordsType to External with UserManaged loadBalancer (OpenStack) + initial: | + apiVersion: config.openshift.io/v1 + kind: Infrastructure + spec: + platformSpec: + openstack: {} + type: OpenStack + updated: | + apiVersion: config.openshift.io/v1 + kind: Infrastructure + spec: + platformSpec: + openstack: {} + type: OpenStack + status: + platform: OpenStack + platformStatus: + openstack: + dnsRecordsType: External + loadBalancer: + type: UserManaged + type: OpenStack + expected: | + apiVersion: config.openshift.io/v1 + kind: Infrastructure + spec: + platformSpec: + openstack: {} + type: OpenStack + status: + platform: OpenStack + platformStatus: + openstack: + dnsRecordsType: External + loadBalancer: + type: UserManaged + type: OpenStack + cpuPartitioning: None + infrastructureTopology: HighlyAvailable + controlPlaneTopology: HighlyAvailable + - name: Should reject setting dnsRecordsType to External with OpenShiftManagedDefault loadBalancer (OpenStack) + initial: | + apiVersion: config.openshift.io/v1 + kind: Infrastructure + spec: + platformSpec: + openstack: {} + type: OpenStack + updated: | + apiVersion: config.openshift.io/v1 + kind: Infrastructure + spec: + platformSpec: + openstack: {} + type: OpenStack + status: + platform: OpenStack + platformStatus: + openstack: + dnsRecordsType: External + loadBalancer: + type: OpenShiftManagedDefault + type: OpenStack + expectedStatusError: "status.platformStatus.openstack: Invalid value: \"object\": dnsRecordsType may only be set to External when loadBalancer.type is UserManaged" + - name: Should allow setting dnsRecordsType to External with UserManaged loadBalancer (VSphere) + initial: | + apiVersion: config.openshift.io/v1 + kind: Infrastructure + spec: + platformSpec: + vsphere: {} + type: VSphere + updated: | + apiVersion: config.openshift.io/v1 + kind: Infrastructure + spec: + platformSpec: + vsphere: {} + type: VSphere + status: + platform: VSphere + platformStatus: + vsphere: + dnsRecordsType: External + loadBalancer: + type: UserManaged + type: VSphere + expected: | + apiVersion: config.openshift.io/v1 + kind: Infrastructure + spec: + platformSpec: + vsphere: {} + type: VSphere + status: + platform: VSphere + platformStatus: + vsphere: + dnsRecordsType: External + loadBalancer: + type: UserManaged + type: VSphere + cpuPartitioning: None + infrastructureTopology: HighlyAvailable + controlPlaneTopology: HighlyAvailable + - name: Should reject setting dnsRecordsType to External with OpenShiftManagedDefault loadBalancer (VSphere) + initial: | + apiVersion: config.openshift.io/v1 + kind: Infrastructure + spec: + platformSpec: + vsphere: {} + type: VSphere + updated: | + apiVersion: config.openshift.io/v1 + kind: Infrastructure + spec: + platformSpec: + vsphere: {} + type: VSphere + status: + platform: VSphere + platformStatus: + vsphere: + dnsRecordsType: External + loadBalancer: + type: OpenShiftManagedDefault + type: VSphere + expectedStatusError: "status.platformStatus.vsphere: Invalid value: \"object\": dnsRecordsType may only be set to External when loadBalancer.type is UserManaged" + - name: Should allow setting dnsRecordsType to External with UserManaged loadBalancer (Ovirt) + initial: | + apiVersion: config.openshift.io/v1 + kind: Infrastructure + spec: + platformSpec: + ovirt: {} + type: oVirt + updated: | + apiVersion: config.openshift.io/v1 + kind: Infrastructure + spec: + platformSpec: + ovirt: {} + type: oVirt + status: + platform: oVirt + platformStatus: + ovirt: + dnsRecordsType: External + loadBalancer: + type: UserManaged + type: oVirt + expected: | + apiVersion: config.openshift.io/v1 + kind: Infrastructure + spec: + platformSpec: + ovirt: {} + type: oVirt + status: + platform: oVirt + platformStatus: + ovirt: + dnsRecordsType: External + loadBalancer: + type: UserManaged + type: oVirt + cpuPartitioning: None + infrastructureTopology: HighlyAvailable + controlPlaneTopology: HighlyAvailable + - name: Should reject setting dnsRecordsType to External with OpenShiftManagedDefault loadBalancer (Ovirt) + initial: | + apiVersion: config.openshift.io/v1 + kind: Infrastructure + spec: + platformSpec: + ovirt: {} + type: oVirt + updated: | + apiVersion: config.openshift.io/v1 + kind: Infrastructure + spec: + platformSpec: + ovirt: {} + type: oVirt + status: + platform: oVirt + platformStatus: + ovirt: + dnsRecordsType: External + loadBalancer: + type: OpenShiftManagedDefault + type: oVirt + expectedStatusError: "status.platformStatus.ovirt: Invalid value: \"object\": dnsRecordsType may only be set to External when loadBalancer.type is UserManaged" + - name: Should allow setting dnsRecordsType to External with UserManaged loadBalancer (Nutanix) + initial: | + apiVersion: config.openshift.io/v1 + kind: Infrastructure + spec: + platformSpec: + nutanix: {} + type: Nutanix + updated: | + apiVersion: config.openshift.io/v1 + kind: Infrastructure + spec: + platformSpec: + nutanix: {} + type: Nutanix + status: + platform: Nutanix + platformStatus: + nutanix: + dnsRecordsType: External + loadBalancer: + type: UserManaged + type: Nutanix + expected: | + apiVersion: config.openshift.io/v1 + kind: Infrastructure + spec: + platformSpec: + nutanix: {} + type: Nutanix + status: + platform: Nutanix + platformStatus: + nutanix: + dnsRecordsType: External + loadBalancer: + type: UserManaged + type: Nutanix + cpuPartitioning: None + infrastructureTopology: HighlyAvailable + controlPlaneTopology: HighlyAvailable + - name: Should reject setting dnsRecordsType to External with OpenShiftManagedDefault loadBalancer (Nutanix) + initial: | + apiVersion: config.openshift.io/v1 + kind: Infrastructure + spec: + platformSpec: + nutanix: {} + type: Nutanix + updated: | + apiVersion: config.openshift.io/v1 + kind: Infrastructure + spec: + platformSpec: + nutanix: {} + type: Nutanix + status: + platform: Nutanix + platformStatus: + nutanix: + dnsRecordsType: External + loadBalancer: + type: OpenShiftManagedDefault + type: Nutanix + expectedStatusError: "status.platformStatus.nutanix: Invalid value: \"object\": dnsRecordsType may only be set to External when loadBalancer.type is UserManaged" - name: Should not allow setting the dnsRecordsType to a wrong value initial: | apiVersion: config.openshift.io/v1 diff --git a/config/v1/types_infrastructure.go b/config/v1/types_infrastructure.go index a46b881aec4..516e02ff3eb 100644 --- a/config/v1/types_infrastructure.go +++ b/config/v1/types_infrastructure.go @@ -1029,6 +1029,7 @@ type BareMetalPlatformSpec struct { // BareMetalPlatformStatus holds the current status of the BareMetal infrastructure provider. // For more information about the network architecture used with the BareMetal platform type, see: // https://github.com/openshift/installer/blob/master/docs/design/baremetal/networking-infrastructure.md +// +kubebuilder:validation:XValidation: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" type BareMetalPlatformStatus struct { // apiServerInternalIP is an IP address to contact the Kubernetes API server that can be used // by components inside the cluster, like kubelets using the infrastructure rather @@ -1092,7 +1093,6 @@ type BareMetalPlatformStatus struct { // to choose reasonable defaults. These defaults are subject to change over time. // The current default is `Internal`. // +kubebuilder:validation:Enum=Internal;External - // +kubebuilder:validation:XValidation: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" // +openshift:enable:FeatureGate=OnPremDNSRecords // +optional DNSRecordsType DNSRecordsType `json:"dnsRecordsType,omitempty"` @@ -1173,6 +1173,7 @@ type OpenStackPlatformSpec struct { } // OpenStackPlatformStatus holds the current status of the OpenStack infrastructure provider. +// +kubebuilder:validation:XValidation: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" type OpenStackPlatformStatus struct { // apiServerInternalIP is an IP address to contact the Kubernetes API server that can be used // by components inside the cluster, like kubelets using the infrastructure rather @@ -1240,7 +1241,6 @@ type OpenStackPlatformStatus struct { // to choose reasonable defaults. These defaults are subject to change over time. // The current default is `Internal`. // +kubebuilder:validation:Enum=Internal;External - // +kubebuilder:validation:XValidation: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" // +openshift:enable:FeatureGate=OnPremDNSRecords // +optional DNSRecordsType DNSRecordsType `json:"dnsRecordsType,omitempty"` @@ -1279,6 +1279,7 @@ type OvirtPlatformLoadBalancer struct { type OvirtPlatformSpec struct{} // OvirtPlatformStatus holds the current status of the oVirt infrastructure provider. +// +kubebuilder:validation:XValidation: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" type OvirtPlatformStatus struct { // apiServerInternalIP is an IP address to contact the Kubernetes API server that can be used // by components inside the cluster, like kubelets using the infrastructure rather @@ -1337,7 +1338,6 @@ type OvirtPlatformStatus struct { // to choose reasonable defaults. These defaults are subject to change over time. // The current default is `Internal`. // +kubebuilder:validation:Enum=Internal;External - // +kubebuilder:validation:XValidation: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" // +openshift:enable:FeatureGate=OnPremDNSRecords // +optional DNSRecordsType DNSRecordsType `json:"dnsRecordsType,omitempty"` @@ -1738,6 +1738,7 @@ type VSpherePlatformSpec struct { } // VSpherePlatformStatus holds the current status of the vSphere infrastructure provider. +// +kubebuilder:validation:XValidation: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" type VSpherePlatformStatus struct { // apiServerInternalIP is an IP address to contact the Kubernetes API server that can be used // by components inside the cluster, like kubelets using the infrastructure rather @@ -1801,7 +1802,6 @@ type VSpherePlatformStatus struct { // to choose reasonable defaults. These defaults are subject to change over time. // The current default is `Internal`. // +kubebuilder:validation:Enum=Internal;External - // +kubebuilder:validation:XValidation: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" // +openshift:enable:FeatureGate=OnPremDNSRecords // +optional DNSRecordsType DNSRecordsType `json:"dnsRecordsType,omitempty"` @@ -2179,6 +2179,7 @@ type NutanixPrismElementEndpoint struct { } // NutanixPlatformStatus holds the current status of the Nutanix infrastructure provider. +// +kubebuilder:validation:XValidation: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" type NutanixPlatformStatus struct { // apiServerInternalIP is an IP address to contact the Kubernetes API server that can be used // by components inside the cluster, like kubelets using the infrastructure rather @@ -2234,7 +2235,6 @@ type NutanixPlatformStatus struct { // to choose reasonable defaults. These defaults are subject to change over time. // The current default is `Internal`. // +kubebuilder:validation:Enum=Internal;External - // +kubebuilder:validation:XValidation: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" // +openshift:enable:FeatureGate=OnPremDNSRecords // +optional DNSRecordsType DNSRecordsType `json:"dnsRecordsType,omitempty"` From da3d1a4d3dd746862445a74dc1a4c3d0625c6daf Mon Sep 17 00:00:00 2001 From: Ben Nemec Date: Thu, 23 Oct 2025 14:16:32 -0500 Subject: [PATCH 07/11] Regenerate CRDs Claude doesn't seem to have done this so the validations were missing. --- ...1_infrastructures-CustomNoUpgrade.crd.yaml | 25 ++++++++++++++++ ...erator_01_infrastructures-Default.crd.yaml | 25 ++++++++++++++++ ...frastructures-DevPreviewNoUpgrade.crd.yaml | 25 ++++++++++++++++ ...rastructures-TechPreviewNoUpgrade.crd.yaml | 25 ++++++++++++++++ .../AAA_ungated.yaml | 25 ++++++++++++++++ .../AWSClusterHostedDNSInstall.yaml | 25 ++++++++++++++++ .../AzureClusterHostedDNSInstall.yaml | 25 ++++++++++++++++ .../DualReplica.yaml | 25 ++++++++++++++++ .../DyanmicServiceEndpointIBMCloud.yaml | 25 ++++++++++++++++ .../GCPClusterHostedDNSInstall.yaml | 25 ++++++++++++++++ .../GCPCustomAPIEndpointsInstall.yaml | 25 ++++++++++++++++ .../HighlyAvailableArbiter+DualReplica.yaml | 25 ++++++++++++++++ .../HighlyAvailableArbiter.yaml | 25 ++++++++++++++++ .../NutanixMultiSubnets.yaml | 25 ++++++++++++++++ .../OnPremDNSRecords.yaml | 25 ++++++++++++++++ .../VSphereHostVMGroupZonal.yaml | 25 ++++++++++++++++ .../VSphereMultiNetworks.yaml | 25 ++++++++++++++++ ...controllerconfigs-CustomNoUpgrade.crd.yaml | 30 +++++++++++++++++++ ...nfig_01_controllerconfigs-Default.crd.yaml | 30 +++++++++++++++++++ ...rollerconfigs-DevPreviewNoUpgrade.crd.yaml | 30 +++++++++++++++++++ ...ollerconfigs-TechPreviewNoUpgrade.crd.yaml | 30 +++++++++++++++++++ .../AAA_ungated.yaml | 30 +++++++++++++++++++ .../AWSClusterHostedDNSInstall.yaml | 30 +++++++++++++++++++ .../AzureClusterHostedDNSInstall.yaml | 30 +++++++++++++++++++ .../DualReplica.yaml | 30 +++++++++++++++++++ .../DyanmicServiceEndpointIBMCloud.yaml | 30 +++++++++++++++++++ .../GCPClusterHostedDNSInstall.yaml | 30 +++++++++++++++++++ .../GCPCustomAPIEndpointsInstall.yaml | 30 +++++++++++++++++++ .../HighlyAvailableArbiter+DualReplica.yaml | 30 +++++++++++++++++++ .../HighlyAvailableArbiter.yaml | 30 +++++++++++++++++++ .../NutanixMultiSubnets.yaml | 30 +++++++++++++++++++ .../OnPremDNSRecords.yaml | 30 +++++++++++++++++++ .../VSphereMultiNetworks.yaml | 30 +++++++++++++++++++ ...1_infrastructures-CustomNoUpgrade.crd.yaml | 25 ++++++++++++++++ ...erator_01_infrastructures-Default.crd.yaml | 25 ++++++++++++++++ ...frastructures-DevPreviewNoUpgrade.crd.yaml | 25 ++++++++++++++++ ...rastructures-TechPreviewNoUpgrade.crd.yaml | 25 ++++++++++++++++ ...controllerconfigs-CustomNoUpgrade.crd.yaml | 30 +++++++++++++++++++ ...nfig_01_controllerconfigs-Default.crd.yaml | 30 +++++++++++++++++++ ...rollerconfigs-DevPreviewNoUpgrade.crd.yaml | 30 +++++++++++++++++++ ...ollerconfigs-TechPreviewNoUpgrade.crd.yaml | 30 +++++++++++++++++++ 41 files changed, 1125 insertions(+) diff --git a/config/v1/zz_generated.crd-manifests/0000_10_config-operator_01_infrastructures-CustomNoUpgrade.crd.yaml b/config/v1/zz_generated.crd-manifests/0000_10_config-operator_01_infrastructures-CustomNoUpgrade.crd.yaml index 41fb98a299c..be3db811a68 100644 --- a/config/v1/zz_generated.crd-manifests/0000_10_config-operator_01_infrastructures-CustomNoUpgrade.crd.yaml +++ b/config/v1/zz_generated.crd-manifests/0000_10_config-operator_01_infrastructures-CustomNoUpgrade.crd.yaml @@ -1764,6 +1764,11 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' equinixMetal: description: equinixMetal contains settings specific to the Equinix Metal infrastructure provider. @@ -2310,6 +2315,11 @@ spec: rule: oldSelf == '' || self == oldSelf type: object type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' openstack: description: openstack contains settings specific to the OpenStack infrastructure provider. @@ -2441,6 +2451,11 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' ovirt: description: ovirt contains settings specific to the oVirt infrastructure provider. @@ -2545,6 +2560,11 @@ spec: set or honored. It will be removed in a future release.' type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' powervs: description: powervs contains settings specific to the Power Systems Virtual Servers infrastructure provider. @@ -2791,6 +2811,11 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' type: object type: object required: diff --git a/config/v1/zz_generated.crd-manifests/0000_10_config-operator_01_infrastructures-Default.crd.yaml b/config/v1/zz_generated.crd-manifests/0000_10_config-operator_01_infrastructures-Default.crd.yaml index 4ecbc18e963..ebb06b83d24 100644 --- a/config/v1/zz_generated.crd-manifests/0000_10_config-operator_01_infrastructures-Default.crd.yaml +++ b/config/v1/zz_generated.crd-manifests/0000_10_config-operator_01_infrastructures-Default.crd.yaml @@ -1433,6 +1433,11 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' equinixMetal: description: equinixMetal contains settings specific to the Equinix Metal infrastructure provider. @@ -1894,6 +1899,11 @@ spec: rule: oldSelf == '' || self == oldSelf type: object type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' openstack: description: openstack contains settings specific to the OpenStack infrastructure provider. @@ -2009,6 +2019,11 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' ovirt: description: ovirt contains settings specific to the oVirt infrastructure provider. @@ -2097,6 +2112,11 @@ spec: set or honored. It will be removed in a future release.' type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' powervs: description: powervs contains settings specific to the Power Systems Virtual Servers infrastructure provider. @@ -2327,6 +2347,11 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' type: object type: object required: diff --git a/config/v1/zz_generated.crd-manifests/0000_10_config-operator_01_infrastructures-DevPreviewNoUpgrade.crd.yaml b/config/v1/zz_generated.crd-manifests/0000_10_config-operator_01_infrastructures-DevPreviewNoUpgrade.crd.yaml index d7bbd21a870..57cfe58b2e2 100644 --- a/config/v1/zz_generated.crd-manifests/0000_10_config-operator_01_infrastructures-DevPreviewNoUpgrade.crd.yaml +++ b/config/v1/zz_generated.crd-manifests/0000_10_config-operator_01_infrastructures-DevPreviewNoUpgrade.crd.yaml @@ -1764,6 +1764,11 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' equinixMetal: description: equinixMetal contains settings specific to the Equinix Metal infrastructure provider. @@ -2310,6 +2315,11 @@ spec: rule: oldSelf == '' || self == oldSelf type: object type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' openstack: description: openstack contains settings specific to the OpenStack infrastructure provider. @@ -2441,6 +2451,11 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' ovirt: description: ovirt contains settings specific to the oVirt infrastructure provider. @@ -2545,6 +2560,11 @@ spec: set or honored. It will be removed in a future release.' type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' powervs: description: powervs contains settings specific to the Power Systems Virtual Servers infrastructure provider. @@ -2791,6 +2811,11 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' type: object type: object required: diff --git a/config/v1/zz_generated.crd-manifests/0000_10_config-operator_01_infrastructures-TechPreviewNoUpgrade.crd.yaml b/config/v1/zz_generated.crd-manifests/0000_10_config-operator_01_infrastructures-TechPreviewNoUpgrade.crd.yaml index 3d88ef3b305..9a64be5533a 100644 --- a/config/v1/zz_generated.crd-manifests/0000_10_config-operator_01_infrastructures-TechPreviewNoUpgrade.crd.yaml +++ b/config/v1/zz_generated.crd-manifests/0000_10_config-operator_01_infrastructures-TechPreviewNoUpgrade.crd.yaml @@ -1764,6 +1764,11 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' equinixMetal: description: equinixMetal contains settings specific to the Equinix Metal infrastructure provider. @@ -2310,6 +2315,11 @@ spec: rule: oldSelf == '' || self == oldSelf type: object type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' openstack: description: openstack contains settings specific to the OpenStack infrastructure provider. @@ -2441,6 +2451,11 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' ovirt: description: ovirt contains settings specific to the oVirt infrastructure provider. @@ -2545,6 +2560,11 @@ spec: set or honored. It will be removed in a future release.' type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' powervs: description: powervs contains settings specific to the Power Systems Virtual Servers infrastructure provider. @@ -2791,6 +2811,11 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' type: object type: object required: diff --git a/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/AAA_ungated.yaml b/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/AAA_ungated.yaml index f7884078c57..5c571d89b6d 100644 --- a/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/AAA_ungated.yaml +++ b/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/AAA_ungated.yaml @@ -1420,6 +1420,11 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' equinixMetal: description: equinixMetal contains settings specific to the Equinix Metal infrastructure provider. @@ -1777,6 +1782,11 @@ spec: rule: oldSelf == '' || self == oldSelf type: object type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' openstack: description: openstack contains settings specific to the OpenStack infrastructure provider. @@ -1892,6 +1902,11 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' ovirt: description: ovirt contains settings specific to the oVirt infrastructure provider. @@ -1980,6 +1995,11 @@ spec: set or honored. It will be removed in a future release.' type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' powervs: description: powervs contains settings specific to the Power Systems Virtual Servers infrastructure provider. @@ -2210,6 +2230,11 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' type: object type: object required: diff --git a/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/AWSClusterHostedDNSInstall.yaml b/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/AWSClusterHostedDNSInstall.yaml index b9612aeabd7..4497ab05b2a 100644 --- a/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/AWSClusterHostedDNSInstall.yaml +++ b/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/AWSClusterHostedDNSInstall.yaml @@ -1518,6 +1518,11 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' equinixMetal: description: equinixMetal contains settings specific to the Equinix Metal infrastructure provider. @@ -1875,6 +1880,11 @@ spec: rule: oldSelf == '' || self == oldSelf type: object type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' openstack: description: openstack contains settings specific to the OpenStack infrastructure provider. @@ -1990,6 +2000,11 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' ovirt: description: ovirt contains settings specific to the oVirt infrastructure provider. @@ -2078,6 +2093,11 @@ spec: set or honored. It will be removed in a future release.' type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' powervs: description: powervs contains settings specific to the Power Systems Virtual Servers infrastructure provider. @@ -2308,6 +2328,11 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' type: object type: object required: diff --git a/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/AzureClusterHostedDNSInstall.yaml b/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/AzureClusterHostedDNSInstall.yaml index 9294465523a..90ca3120a27 100644 --- a/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/AzureClusterHostedDNSInstall.yaml +++ b/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/AzureClusterHostedDNSInstall.yaml @@ -1517,6 +1517,11 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' equinixMetal: description: equinixMetal contains settings specific to the Equinix Metal infrastructure provider. @@ -1874,6 +1879,11 @@ spec: rule: oldSelf == '' || self == oldSelf type: object type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' openstack: description: openstack contains settings specific to the OpenStack infrastructure provider. @@ -1989,6 +1999,11 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' ovirt: description: ovirt contains settings specific to the oVirt infrastructure provider. @@ -2077,6 +2092,11 @@ spec: set or honored. It will be removed in a future release.' type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' powervs: description: powervs contains settings specific to the Power Systems Virtual Servers infrastructure provider. @@ -2307,6 +2327,11 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' type: object type: object required: diff --git a/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/DualReplica.yaml b/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/DualReplica.yaml index 18c7e0411d8..20c641160e3 100644 --- a/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/DualReplica.yaml +++ b/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/DualReplica.yaml @@ -1419,6 +1419,11 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' equinixMetal: description: equinixMetal contains settings specific to the Equinix Metal infrastructure provider. @@ -1776,6 +1781,11 @@ spec: rule: oldSelf == '' || self == oldSelf type: object type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' openstack: description: openstack contains settings specific to the OpenStack infrastructure provider. @@ -1891,6 +1901,11 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' ovirt: description: ovirt contains settings specific to the oVirt infrastructure provider. @@ -1979,6 +1994,11 @@ spec: set or honored. It will be removed in a future release.' type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' powervs: description: powervs contains settings specific to the Power Systems Virtual Servers infrastructure provider. @@ -2209,6 +2229,11 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' type: object type: object required: diff --git a/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/DyanmicServiceEndpointIBMCloud.yaml b/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/DyanmicServiceEndpointIBMCloud.yaml index 1e5106c415d..acaa9a2fabb 100644 --- a/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/DyanmicServiceEndpointIBMCloud.yaml +++ b/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/DyanmicServiceEndpointIBMCloud.yaml @@ -1476,6 +1476,11 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' equinixMetal: description: equinixMetal contains settings specific to the Equinix Metal infrastructure provider. @@ -1838,6 +1843,11 @@ spec: rule: oldSelf == '' || self == oldSelf type: object type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' openstack: description: openstack contains settings specific to the OpenStack infrastructure provider. @@ -1953,6 +1963,11 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' ovirt: description: ovirt contains settings specific to the oVirt infrastructure provider. @@ -2041,6 +2056,11 @@ spec: set or honored. It will be removed in a future release.' type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' powervs: description: powervs contains settings specific to the Power Systems Virtual Servers infrastructure provider. @@ -2271,6 +2291,11 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' type: object type: object required: diff --git a/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/GCPClusterHostedDNSInstall.yaml b/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/GCPClusterHostedDNSInstall.yaml index 926fcdeda12..6ad89d5949d 100644 --- a/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/GCPClusterHostedDNSInstall.yaml +++ b/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/GCPClusterHostedDNSInstall.yaml @@ -1414,6 +1414,11 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' equinixMetal: description: equinixMetal contains settings specific to the Equinix Metal infrastructure provider. @@ -1875,6 +1880,11 @@ spec: rule: oldSelf == '' || self == oldSelf type: object type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' openstack: description: openstack contains settings specific to the OpenStack infrastructure provider. @@ -1990,6 +2000,11 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' ovirt: description: ovirt contains settings specific to the oVirt infrastructure provider. @@ -2078,6 +2093,11 @@ spec: set or honored. It will be removed in a future release.' type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' powervs: description: powervs contains settings specific to the Power Systems Virtual Servers infrastructure provider. @@ -2308,6 +2328,11 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' type: object type: object required: diff --git a/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/GCPCustomAPIEndpointsInstall.yaml b/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/GCPCustomAPIEndpointsInstall.yaml index 915710e59f8..ea71fd9e697 100644 --- a/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/GCPCustomAPIEndpointsInstall.yaml +++ b/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/GCPCustomAPIEndpointsInstall.yaml @@ -1414,6 +1414,11 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' equinixMetal: description: equinixMetal contains settings specific to the Equinix Metal infrastructure provider. @@ -1839,6 +1844,11 @@ spec: rule: oldSelf == '' || self == oldSelf type: object type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' openstack: description: openstack contains settings specific to the OpenStack infrastructure provider. @@ -1954,6 +1964,11 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' ovirt: description: ovirt contains settings specific to the oVirt infrastructure provider. @@ -2042,6 +2057,11 @@ spec: set or honored. It will be removed in a future release.' type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' powervs: description: powervs contains settings specific to the Power Systems Virtual Servers infrastructure provider. @@ -2272,6 +2292,11 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' type: object type: object required: diff --git a/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/HighlyAvailableArbiter+DualReplica.yaml b/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/HighlyAvailableArbiter+DualReplica.yaml index b78e5186295..e315fee99f6 100644 --- a/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/HighlyAvailableArbiter+DualReplica.yaml +++ b/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/HighlyAvailableArbiter+DualReplica.yaml @@ -1421,6 +1421,11 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' equinixMetal: description: equinixMetal contains settings specific to the Equinix Metal infrastructure provider. @@ -1778,6 +1783,11 @@ spec: rule: oldSelf == '' || self == oldSelf type: object type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' openstack: description: openstack contains settings specific to the OpenStack infrastructure provider. @@ -1893,6 +1903,11 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' ovirt: description: ovirt contains settings specific to the oVirt infrastructure provider. @@ -1981,6 +1996,11 @@ spec: set or honored. It will be removed in a future release.' type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' powervs: description: powervs contains settings specific to the Power Systems Virtual Servers infrastructure provider. @@ -2211,6 +2231,11 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' type: object type: object required: diff --git a/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/HighlyAvailableArbiter.yaml b/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/HighlyAvailableArbiter.yaml index bad4253572d..e829bcbeb4d 100644 --- a/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/HighlyAvailableArbiter.yaml +++ b/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/HighlyAvailableArbiter.yaml @@ -1419,6 +1419,11 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' equinixMetal: description: equinixMetal contains settings specific to the Equinix Metal infrastructure provider. @@ -1776,6 +1781,11 @@ spec: rule: oldSelf == '' || self == oldSelf type: object type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' openstack: description: openstack contains settings specific to the OpenStack infrastructure provider. @@ -1891,6 +1901,11 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' ovirt: description: ovirt contains settings specific to the oVirt infrastructure provider. @@ -1979,6 +1994,11 @@ spec: set or honored. It will be removed in a future release.' type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' powervs: description: powervs contains settings specific to the Power Systems Virtual Servers infrastructure provider. @@ -2209,6 +2229,11 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' type: object type: object required: diff --git a/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/NutanixMultiSubnets.yaml b/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/NutanixMultiSubnets.yaml index cae8e7a1981..05faa2aa380 100644 --- a/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/NutanixMultiSubnets.yaml +++ b/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/NutanixMultiSubnets.yaml @@ -1419,6 +1419,11 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' equinixMetal: description: equinixMetal contains settings specific to the Equinix Metal infrastructure provider. @@ -1776,6 +1781,11 @@ spec: rule: oldSelf == '' || self == oldSelf type: object type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' openstack: description: openstack contains settings specific to the OpenStack infrastructure provider. @@ -1891,6 +1901,11 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' ovirt: description: ovirt contains settings specific to the oVirt infrastructure provider. @@ -1979,6 +1994,11 @@ spec: set or honored. It will be removed in a future release.' type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' powervs: description: powervs contains settings specific to the Power Systems Virtual Servers infrastructure provider. @@ -2209,6 +2229,11 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' type: object type: object required: diff --git a/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/OnPremDNSRecords.yaml b/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/OnPremDNSRecords.yaml index d0cb9338428..35124c507fc 100644 --- a/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/OnPremDNSRecords.yaml +++ b/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/OnPremDNSRecords.yaml @@ -1430,6 +1430,11 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' equinixMetal: description: equinixMetal contains settings specific to the Equinix Metal infrastructure provider. @@ -1803,6 +1808,11 @@ spec: rule: oldSelf == '' || self == oldSelf type: object type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' openstack: description: openstack contains settings specific to the OpenStack infrastructure provider. @@ -1934,6 +1944,11 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' ovirt: description: ovirt contains settings specific to the oVirt infrastructure provider. @@ -2038,6 +2053,11 @@ spec: set or honored. It will be removed in a future release.' type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' powervs: description: powervs contains settings specific to the Power Systems Virtual Servers infrastructure provider. @@ -2284,6 +2304,11 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' type: object type: object required: diff --git a/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/VSphereHostVMGroupZonal.yaml b/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/VSphereHostVMGroupZonal.yaml index 80131801ace..0498a277f3f 100644 --- a/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/VSphereHostVMGroupZonal.yaml +++ b/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/VSphereHostVMGroupZonal.yaml @@ -1425,6 +1425,11 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' equinixMetal: description: equinixMetal contains settings specific to the Equinix Metal infrastructure provider. @@ -1782,6 +1787,11 @@ spec: rule: oldSelf == '' || self == oldSelf type: object type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' openstack: description: openstack contains settings specific to the OpenStack infrastructure provider. @@ -1897,6 +1907,11 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' ovirt: description: ovirt contains settings specific to the oVirt infrastructure provider. @@ -1985,6 +2000,11 @@ spec: set or honored. It will be removed in a future release.' type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' powervs: description: powervs contains settings specific to the Power Systems Virtual Servers infrastructure provider. @@ -2215,6 +2235,11 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' type: object type: object required: diff --git a/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/VSphereMultiNetworks.yaml b/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/VSphereMultiNetworks.yaml index 5b9c0c33e78..fdc45165a24 100644 --- a/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/VSphereMultiNetworks.yaml +++ b/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/VSphereMultiNetworks.yaml @@ -1415,6 +1415,11 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' equinixMetal: description: equinixMetal contains settings specific to the Equinix Metal infrastructure provider. @@ -1772,6 +1777,11 @@ spec: rule: oldSelf == '' || self == oldSelf type: object type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' openstack: description: openstack contains settings specific to the OpenStack infrastructure provider. @@ -1887,6 +1897,11 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' ovirt: description: ovirt contains settings specific to the oVirt infrastructure provider. @@ -1975,6 +1990,11 @@ spec: set or honored. It will be removed in a future release.' type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' powervs: description: powervs contains settings specific to the Power Systems Virtual Servers infrastructure provider. @@ -2205,6 +2225,11 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' type: object type: object required: diff --git a/machineconfiguration/v1/zz_generated.crd-manifests/0000_80_machine-config_01_controllerconfigs-CustomNoUpgrade.crd.yaml b/machineconfiguration/v1/zz_generated.crd-manifests/0000_80_machine-config_01_controllerconfigs-CustomNoUpgrade.crd.yaml index b6a2d226e3c..7a2db8edf1f 100644 --- a/machineconfiguration/v1/zz_generated.crd-manifests/0000_80_machine-config_01_controllerconfigs-CustomNoUpgrade.crd.yaml +++ b/machineconfiguration/v1/zz_generated.crd-manifests/0000_80_machine-config_01_controllerconfigs-CustomNoUpgrade.crd.yaml @@ -2053,6 +2053,12 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' equinixMetal: description: equinixMetal contains settings specific to the Equinix Metal infrastructure provider. @@ -2606,6 +2612,12 @@ spec: rule: oldSelf == '' || self == oldSelf type: object type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' openstack: description: openstack contains settings specific to the OpenStack infrastructure provider. @@ -2737,6 +2749,12 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' ovirt: description: ovirt contains settings specific to the oVirt infrastructure provider. @@ -2842,6 +2860,12 @@ spec: a future release.' type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' powervs: description: powervs contains settings specific to the Power Systems Virtual Servers infrastructure provider. @@ -3088,6 +3112,12 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' type: object type: object required: diff --git a/machineconfiguration/v1/zz_generated.crd-manifests/0000_80_machine-config_01_controllerconfigs-Default.crd.yaml b/machineconfiguration/v1/zz_generated.crd-manifests/0000_80_machine-config_01_controllerconfigs-Default.crd.yaml index 485501e0ace..d96e733861e 100644 --- a/machineconfiguration/v1/zz_generated.crd-manifests/0000_80_machine-config_01_controllerconfigs-Default.crd.yaml +++ b/machineconfiguration/v1/zz_generated.crd-manifests/0000_80_machine-config_01_controllerconfigs-Default.crd.yaml @@ -1718,6 +1718,12 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' equinixMetal: description: equinixMetal contains settings specific to the Equinix Metal infrastructure provider. @@ -2186,6 +2192,12 @@ spec: rule: oldSelf == '' || self == oldSelf type: object type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' openstack: description: openstack contains settings specific to the OpenStack infrastructure provider. @@ -2301,6 +2313,12 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' ovirt: description: ovirt contains settings specific to the oVirt infrastructure provider. @@ -2390,6 +2408,12 @@ spec: a future release.' type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' powervs: description: powervs contains settings specific to the Power Systems Virtual Servers infrastructure provider. @@ -2620,6 +2644,12 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' type: object type: object required: diff --git a/machineconfiguration/v1/zz_generated.crd-manifests/0000_80_machine-config_01_controllerconfigs-DevPreviewNoUpgrade.crd.yaml b/machineconfiguration/v1/zz_generated.crd-manifests/0000_80_machine-config_01_controllerconfigs-DevPreviewNoUpgrade.crd.yaml index 384f8f232ef..b51d6a75232 100644 --- a/machineconfiguration/v1/zz_generated.crd-manifests/0000_80_machine-config_01_controllerconfigs-DevPreviewNoUpgrade.crd.yaml +++ b/machineconfiguration/v1/zz_generated.crd-manifests/0000_80_machine-config_01_controllerconfigs-DevPreviewNoUpgrade.crd.yaml @@ -2053,6 +2053,12 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' equinixMetal: description: equinixMetal contains settings specific to the Equinix Metal infrastructure provider. @@ -2606,6 +2612,12 @@ spec: rule: oldSelf == '' || self == oldSelf type: object type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' openstack: description: openstack contains settings specific to the OpenStack infrastructure provider. @@ -2737,6 +2749,12 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' ovirt: description: ovirt contains settings specific to the oVirt infrastructure provider. @@ -2842,6 +2860,12 @@ spec: a future release.' type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' powervs: description: powervs contains settings specific to the Power Systems Virtual Servers infrastructure provider. @@ -3088,6 +3112,12 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' type: object type: object required: diff --git a/machineconfiguration/v1/zz_generated.crd-manifests/0000_80_machine-config_01_controllerconfigs-TechPreviewNoUpgrade.crd.yaml b/machineconfiguration/v1/zz_generated.crd-manifests/0000_80_machine-config_01_controllerconfigs-TechPreviewNoUpgrade.crd.yaml index d3fb1196d98..b1fb88ea736 100644 --- a/machineconfiguration/v1/zz_generated.crd-manifests/0000_80_machine-config_01_controllerconfigs-TechPreviewNoUpgrade.crd.yaml +++ b/machineconfiguration/v1/zz_generated.crd-manifests/0000_80_machine-config_01_controllerconfigs-TechPreviewNoUpgrade.crd.yaml @@ -2053,6 +2053,12 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' equinixMetal: description: equinixMetal contains settings specific to the Equinix Metal infrastructure provider. @@ -2606,6 +2612,12 @@ spec: rule: oldSelf == '' || self == oldSelf type: object type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' openstack: description: openstack contains settings specific to the OpenStack infrastructure provider. @@ -2737,6 +2749,12 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' ovirt: description: ovirt contains settings specific to the oVirt infrastructure provider. @@ -2842,6 +2860,12 @@ spec: a future release.' type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' powervs: description: powervs contains settings specific to the Power Systems Virtual Servers infrastructure provider. @@ -3088,6 +3112,12 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' type: object type: object required: diff --git a/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/AAA_ungated.yaml b/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/AAA_ungated.yaml index 96232d4c515..ecba94dae60 100644 --- a/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/AAA_ungated.yaml +++ b/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/AAA_ungated.yaml @@ -1717,6 +1717,12 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' equinixMetal: description: equinixMetal contains settings specific to the Equinix Metal infrastructure provider. @@ -2081,6 +2087,12 @@ spec: rule: oldSelf == '' || self == oldSelf type: object type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' openstack: description: openstack contains settings specific to the OpenStack infrastructure provider. @@ -2196,6 +2208,12 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' ovirt: description: ovirt contains settings specific to the oVirt infrastructure provider. @@ -2285,6 +2303,12 @@ spec: a future release.' type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' powervs: description: powervs contains settings specific to the Power Systems Virtual Servers infrastructure provider. @@ -2515,6 +2539,12 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' type: object type: object required: diff --git a/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/AWSClusterHostedDNSInstall.yaml b/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/AWSClusterHostedDNSInstall.yaml index c33383187d8..3fed32d7f80 100644 --- a/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/AWSClusterHostedDNSInstall.yaml +++ b/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/AWSClusterHostedDNSInstall.yaml @@ -1815,6 +1815,12 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' equinixMetal: description: equinixMetal contains settings specific to the Equinix Metal infrastructure provider. @@ -2179,6 +2185,12 @@ spec: rule: oldSelf == '' || self == oldSelf type: object type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' openstack: description: openstack contains settings specific to the OpenStack infrastructure provider. @@ -2294,6 +2306,12 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' ovirt: description: ovirt contains settings specific to the oVirt infrastructure provider. @@ -2383,6 +2401,12 @@ spec: a future release.' type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' powervs: description: powervs contains settings specific to the Power Systems Virtual Servers infrastructure provider. @@ -2613,6 +2637,12 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' type: object type: object required: diff --git a/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/AzureClusterHostedDNSInstall.yaml b/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/AzureClusterHostedDNSInstall.yaml index 941da6d5dc8..7b7c21e6442 100644 --- a/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/AzureClusterHostedDNSInstall.yaml +++ b/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/AzureClusterHostedDNSInstall.yaml @@ -1814,6 +1814,12 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' equinixMetal: description: equinixMetal contains settings specific to the Equinix Metal infrastructure provider. @@ -2178,6 +2184,12 @@ spec: rule: oldSelf == '' || self == oldSelf type: object type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' openstack: description: openstack contains settings specific to the OpenStack infrastructure provider. @@ -2293,6 +2305,12 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' ovirt: description: ovirt contains settings specific to the oVirt infrastructure provider. @@ -2382,6 +2400,12 @@ spec: a future release.' type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' powervs: description: powervs contains settings specific to the Power Systems Virtual Servers infrastructure provider. @@ -2612,6 +2636,12 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' type: object type: object required: diff --git a/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/DualReplica.yaml b/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/DualReplica.yaml index 23e273b0d7e..001db361add 100644 --- a/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/DualReplica.yaml +++ b/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/DualReplica.yaml @@ -1716,6 +1716,12 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' equinixMetal: description: equinixMetal contains settings specific to the Equinix Metal infrastructure provider. @@ -2080,6 +2086,12 @@ spec: rule: oldSelf == '' || self == oldSelf type: object type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' openstack: description: openstack contains settings specific to the OpenStack infrastructure provider. @@ -2195,6 +2207,12 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' ovirt: description: ovirt contains settings specific to the oVirt infrastructure provider. @@ -2284,6 +2302,12 @@ spec: a future release.' type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' powervs: description: powervs contains settings specific to the Power Systems Virtual Servers infrastructure provider. @@ -2514,6 +2538,12 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' type: object type: object required: diff --git a/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/DyanmicServiceEndpointIBMCloud.yaml b/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/DyanmicServiceEndpointIBMCloud.yaml index 67decdcebba..855485fcecd 100644 --- a/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/DyanmicServiceEndpointIBMCloud.yaml +++ b/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/DyanmicServiceEndpointIBMCloud.yaml @@ -1774,6 +1774,12 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' equinixMetal: description: equinixMetal contains settings specific to the Equinix Metal infrastructure provider. @@ -2144,6 +2150,12 @@ spec: rule: oldSelf == '' || self == oldSelf type: object type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' openstack: description: openstack contains settings specific to the OpenStack infrastructure provider. @@ -2259,6 +2271,12 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' ovirt: description: ovirt contains settings specific to the oVirt infrastructure provider. @@ -2348,6 +2366,12 @@ spec: a future release.' type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' powervs: description: powervs contains settings specific to the Power Systems Virtual Servers infrastructure provider. @@ -2578,6 +2602,12 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' type: object type: object required: diff --git a/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/GCPClusterHostedDNSInstall.yaml b/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/GCPClusterHostedDNSInstall.yaml index 43937898f3e..914660d9bb1 100644 --- a/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/GCPClusterHostedDNSInstall.yaml +++ b/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/GCPClusterHostedDNSInstall.yaml @@ -1711,6 +1711,12 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' equinixMetal: description: equinixMetal contains settings specific to the Equinix Metal infrastructure provider. @@ -2179,6 +2185,12 @@ spec: rule: oldSelf == '' || self == oldSelf type: object type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' openstack: description: openstack contains settings specific to the OpenStack infrastructure provider. @@ -2294,6 +2306,12 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' ovirt: description: ovirt contains settings specific to the oVirt infrastructure provider. @@ -2383,6 +2401,12 @@ spec: a future release.' type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' powervs: description: powervs contains settings specific to the Power Systems Virtual Servers infrastructure provider. @@ -2613,6 +2637,12 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' type: object type: object required: diff --git a/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/GCPCustomAPIEndpointsInstall.yaml b/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/GCPCustomAPIEndpointsInstall.yaml index 04d4c66016c..b4bc6fb2b92 100644 --- a/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/GCPCustomAPIEndpointsInstall.yaml +++ b/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/GCPCustomAPIEndpointsInstall.yaml @@ -1711,6 +1711,12 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' equinixMetal: description: equinixMetal contains settings specific to the Equinix Metal infrastructure provider. @@ -2143,6 +2149,12 @@ spec: rule: oldSelf == '' || self == oldSelf type: object type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' openstack: description: openstack contains settings specific to the OpenStack infrastructure provider. @@ -2258,6 +2270,12 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' ovirt: description: ovirt contains settings specific to the oVirt infrastructure provider. @@ -2347,6 +2365,12 @@ spec: a future release.' type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' powervs: description: powervs contains settings specific to the Power Systems Virtual Servers infrastructure provider. @@ -2577,6 +2601,12 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' type: object type: object required: diff --git a/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/HighlyAvailableArbiter+DualReplica.yaml b/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/HighlyAvailableArbiter+DualReplica.yaml index 4d3349e51d6..41d324bb679 100644 --- a/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/HighlyAvailableArbiter+DualReplica.yaml +++ b/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/HighlyAvailableArbiter+DualReplica.yaml @@ -1718,6 +1718,12 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' equinixMetal: description: equinixMetal contains settings specific to the Equinix Metal infrastructure provider. @@ -2082,6 +2088,12 @@ spec: rule: oldSelf == '' || self == oldSelf type: object type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' openstack: description: openstack contains settings specific to the OpenStack infrastructure provider. @@ -2197,6 +2209,12 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' ovirt: description: ovirt contains settings specific to the oVirt infrastructure provider. @@ -2286,6 +2304,12 @@ spec: a future release.' type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' powervs: description: powervs contains settings specific to the Power Systems Virtual Servers infrastructure provider. @@ -2516,6 +2540,12 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' type: object type: object required: diff --git a/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/HighlyAvailableArbiter.yaml b/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/HighlyAvailableArbiter.yaml index c9e140bda76..878b57521f6 100644 --- a/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/HighlyAvailableArbiter.yaml +++ b/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/HighlyAvailableArbiter.yaml @@ -1716,6 +1716,12 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' equinixMetal: description: equinixMetal contains settings specific to the Equinix Metal infrastructure provider. @@ -2080,6 +2086,12 @@ spec: rule: oldSelf == '' || self == oldSelf type: object type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' openstack: description: openstack contains settings specific to the OpenStack infrastructure provider. @@ -2195,6 +2207,12 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' ovirt: description: ovirt contains settings specific to the oVirt infrastructure provider. @@ -2284,6 +2302,12 @@ spec: a future release.' type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' powervs: description: powervs contains settings specific to the Power Systems Virtual Servers infrastructure provider. @@ -2514,6 +2538,12 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' type: object type: object required: diff --git a/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/NutanixMultiSubnets.yaml b/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/NutanixMultiSubnets.yaml index ba58a041743..f79b43ccfd9 100644 --- a/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/NutanixMultiSubnets.yaml +++ b/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/NutanixMultiSubnets.yaml @@ -1717,6 +1717,12 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' equinixMetal: description: equinixMetal contains settings specific to the Equinix Metal infrastructure provider. @@ -2081,6 +2087,12 @@ spec: rule: oldSelf == '' || self == oldSelf type: object type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' openstack: description: openstack contains settings specific to the OpenStack infrastructure provider. @@ -2196,6 +2208,12 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' ovirt: description: ovirt contains settings specific to the oVirt infrastructure provider. @@ -2285,6 +2303,12 @@ spec: a future release.' type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' powervs: description: powervs contains settings specific to the Power Systems Virtual Servers infrastructure provider. @@ -2515,6 +2539,12 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' type: object type: object required: diff --git a/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/OnPremDNSRecords.yaml b/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/OnPremDNSRecords.yaml index 16ec7532962..ca3d0519e69 100644 --- a/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/OnPremDNSRecords.yaml +++ b/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/OnPremDNSRecords.yaml @@ -1727,6 +1727,12 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' equinixMetal: description: equinixMetal contains settings specific to the Equinix Metal infrastructure provider. @@ -2107,6 +2113,12 @@ spec: rule: oldSelf == '' || self == oldSelf type: object type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' openstack: description: openstack contains settings specific to the OpenStack infrastructure provider. @@ -2238,6 +2250,12 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' ovirt: description: ovirt contains settings specific to the oVirt infrastructure provider. @@ -2343,6 +2361,12 @@ spec: a future release.' type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' powervs: description: powervs contains settings specific to the Power Systems Virtual Servers infrastructure provider. @@ -2589,6 +2613,12 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' type: object type: object required: diff --git a/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/VSphereMultiNetworks.yaml b/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/VSphereMultiNetworks.yaml index 6d451e42e52..674aea234fa 100644 --- a/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/VSphereMultiNetworks.yaml +++ b/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/VSphereMultiNetworks.yaml @@ -1712,6 +1712,12 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' equinixMetal: description: equinixMetal contains settings specific to the Equinix Metal infrastructure provider. @@ -2076,6 +2082,12 @@ spec: rule: oldSelf == '' || self == oldSelf type: object type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' openstack: description: openstack contains settings specific to the OpenStack infrastructure provider. @@ -2191,6 +2203,12 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' ovirt: description: ovirt contains settings specific to the oVirt infrastructure provider. @@ -2280,6 +2298,12 @@ spec: a future release.' type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' powervs: description: powervs contains settings specific to the Power Systems Virtual Servers infrastructure provider. @@ -2510,6 +2534,12 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' type: object type: object required: diff --git a/payload-manifests/crds/0000_10_config-operator_01_infrastructures-CustomNoUpgrade.crd.yaml b/payload-manifests/crds/0000_10_config-operator_01_infrastructures-CustomNoUpgrade.crd.yaml index 41fb98a299c..be3db811a68 100644 --- a/payload-manifests/crds/0000_10_config-operator_01_infrastructures-CustomNoUpgrade.crd.yaml +++ b/payload-manifests/crds/0000_10_config-operator_01_infrastructures-CustomNoUpgrade.crd.yaml @@ -1764,6 +1764,11 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' equinixMetal: description: equinixMetal contains settings specific to the Equinix Metal infrastructure provider. @@ -2310,6 +2315,11 @@ spec: rule: oldSelf == '' || self == oldSelf type: object type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' openstack: description: openstack contains settings specific to the OpenStack infrastructure provider. @@ -2441,6 +2451,11 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' ovirt: description: ovirt contains settings specific to the oVirt infrastructure provider. @@ -2545,6 +2560,11 @@ spec: set or honored. It will be removed in a future release.' type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' powervs: description: powervs contains settings specific to the Power Systems Virtual Servers infrastructure provider. @@ -2791,6 +2811,11 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' type: object type: object required: diff --git a/payload-manifests/crds/0000_10_config-operator_01_infrastructures-Default.crd.yaml b/payload-manifests/crds/0000_10_config-operator_01_infrastructures-Default.crd.yaml index 4ecbc18e963..ebb06b83d24 100644 --- a/payload-manifests/crds/0000_10_config-operator_01_infrastructures-Default.crd.yaml +++ b/payload-manifests/crds/0000_10_config-operator_01_infrastructures-Default.crd.yaml @@ -1433,6 +1433,11 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' equinixMetal: description: equinixMetal contains settings specific to the Equinix Metal infrastructure provider. @@ -1894,6 +1899,11 @@ spec: rule: oldSelf == '' || self == oldSelf type: object type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' openstack: description: openstack contains settings specific to the OpenStack infrastructure provider. @@ -2009,6 +2019,11 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' ovirt: description: ovirt contains settings specific to the oVirt infrastructure provider. @@ -2097,6 +2112,11 @@ spec: set or honored. It will be removed in a future release.' type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' powervs: description: powervs contains settings specific to the Power Systems Virtual Servers infrastructure provider. @@ -2327,6 +2347,11 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' type: object type: object required: diff --git a/payload-manifests/crds/0000_10_config-operator_01_infrastructures-DevPreviewNoUpgrade.crd.yaml b/payload-manifests/crds/0000_10_config-operator_01_infrastructures-DevPreviewNoUpgrade.crd.yaml index d7bbd21a870..57cfe58b2e2 100644 --- a/payload-manifests/crds/0000_10_config-operator_01_infrastructures-DevPreviewNoUpgrade.crd.yaml +++ b/payload-manifests/crds/0000_10_config-operator_01_infrastructures-DevPreviewNoUpgrade.crd.yaml @@ -1764,6 +1764,11 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' equinixMetal: description: equinixMetal contains settings specific to the Equinix Metal infrastructure provider. @@ -2310,6 +2315,11 @@ spec: rule: oldSelf == '' || self == oldSelf type: object type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' openstack: description: openstack contains settings specific to the OpenStack infrastructure provider. @@ -2441,6 +2451,11 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' ovirt: description: ovirt contains settings specific to the oVirt infrastructure provider. @@ -2545,6 +2560,11 @@ spec: set or honored. It will be removed in a future release.' type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' powervs: description: powervs contains settings specific to the Power Systems Virtual Servers infrastructure provider. @@ -2791,6 +2811,11 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' type: object type: object required: diff --git a/payload-manifests/crds/0000_10_config-operator_01_infrastructures-TechPreviewNoUpgrade.crd.yaml b/payload-manifests/crds/0000_10_config-operator_01_infrastructures-TechPreviewNoUpgrade.crd.yaml index 3d88ef3b305..9a64be5533a 100644 --- a/payload-manifests/crds/0000_10_config-operator_01_infrastructures-TechPreviewNoUpgrade.crd.yaml +++ b/payload-manifests/crds/0000_10_config-operator_01_infrastructures-TechPreviewNoUpgrade.crd.yaml @@ -1764,6 +1764,11 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' equinixMetal: description: equinixMetal contains settings specific to the Equinix Metal infrastructure provider. @@ -2310,6 +2315,11 @@ spec: rule: oldSelf == '' || self == oldSelf type: object type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' openstack: description: openstack contains settings specific to the OpenStack infrastructure provider. @@ -2441,6 +2451,11 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' ovirt: description: ovirt contains settings specific to the oVirt infrastructure provider. @@ -2545,6 +2560,11 @@ spec: set or honored. It will be removed in a future release.' type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' powervs: description: powervs contains settings specific to the Power Systems Virtual Servers infrastructure provider. @@ -2791,6 +2811,11 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External when loadBalancer.type + is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' + || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' type: object type: object required: diff --git a/payload-manifests/crds/0000_80_machine-config_01_controllerconfigs-CustomNoUpgrade.crd.yaml b/payload-manifests/crds/0000_80_machine-config_01_controllerconfigs-CustomNoUpgrade.crd.yaml index b6a2d226e3c..7a2db8edf1f 100644 --- a/payload-manifests/crds/0000_80_machine-config_01_controllerconfigs-CustomNoUpgrade.crd.yaml +++ b/payload-manifests/crds/0000_80_machine-config_01_controllerconfigs-CustomNoUpgrade.crd.yaml @@ -2053,6 +2053,12 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' equinixMetal: description: equinixMetal contains settings specific to the Equinix Metal infrastructure provider. @@ -2606,6 +2612,12 @@ spec: rule: oldSelf == '' || self == oldSelf type: object type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' openstack: description: openstack contains settings specific to the OpenStack infrastructure provider. @@ -2737,6 +2749,12 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' ovirt: description: ovirt contains settings specific to the oVirt infrastructure provider. @@ -2842,6 +2860,12 @@ spec: a future release.' type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' powervs: description: powervs contains settings specific to the Power Systems Virtual Servers infrastructure provider. @@ -3088,6 +3112,12 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' type: object type: object required: diff --git a/payload-manifests/crds/0000_80_machine-config_01_controllerconfigs-Default.crd.yaml b/payload-manifests/crds/0000_80_machine-config_01_controllerconfigs-Default.crd.yaml index 485501e0ace..d96e733861e 100644 --- a/payload-manifests/crds/0000_80_machine-config_01_controllerconfigs-Default.crd.yaml +++ b/payload-manifests/crds/0000_80_machine-config_01_controllerconfigs-Default.crd.yaml @@ -1718,6 +1718,12 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' equinixMetal: description: equinixMetal contains settings specific to the Equinix Metal infrastructure provider. @@ -2186,6 +2192,12 @@ spec: rule: oldSelf == '' || self == oldSelf type: object type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' openstack: description: openstack contains settings specific to the OpenStack infrastructure provider. @@ -2301,6 +2313,12 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' ovirt: description: ovirt contains settings specific to the oVirt infrastructure provider. @@ -2390,6 +2408,12 @@ spec: a future release.' type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' powervs: description: powervs contains settings specific to the Power Systems Virtual Servers infrastructure provider. @@ -2620,6 +2644,12 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' type: object type: object required: diff --git a/payload-manifests/crds/0000_80_machine-config_01_controllerconfigs-DevPreviewNoUpgrade.crd.yaml b/payload-manifests/crds/0000_80_machine-config_01_controllerconfigs-DevPreviewNoUpgrade.crd.yaml index 384f8f232ef..b51d6a75232 100644 --- a/payload-manifests/crds/0000_80_machine-config_01_controllerconfigs-DevPreviewNoUpgrade.crd.yaml +++ b/payload-manifests/crds/0000_80_machine-config_01_controllerconfigs-DevPreviewNoUpgrade.crd.yaml @@ -2053,6 +2053,12 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' equinixMetal: description: equinixMetal contains settings specific to the Equinix Metal infrastructure provider. @@ -2606,6 +2612,12 @@ spec: rule: oldSelf == '' || self == oldSelf type: object type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' openstack: description: openstack contains settings specific to the OpenStack infrastructure provider. @@ -2737,6 +2749,12 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' ovirt: description: ovirt contains settings specific to the oVirt infrastructure provider. @@ -2842,6 +2860,12 @@ spec: a future release.' type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' powervs: description: powervs contains settings specific to the Power Systems Virtual Servers infrastructure provider. @@ -3088,6 +3112,12 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' type: object type: object required: diff --git a/payload-manifests/crds/0000_80_machine-config_01_controllerconfigs-TechPreviewNoUpgrade.crd.yaml b/payload-manifests/crds/0000_80_machine-config_01_controllerconfigs-TechPreviewNoUpgrade.crd.yaml index d3fb1196d98..b1fb88ea736 100644 --- a/payload-manifests/crds/0000_80_machine-config_01_controllerconfigs-TechPreviewNoUpgrade.crd.yaml +++ b/payload-manifests/crds/0000_80_machine-config_01_controllerconfigs-TechPreviewNoUpgrade.crd.yaml @@ -2053,6 +2053,12 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' equinixMetal: description: equinixMetal contains settings specific to the Equinix Metal infrastructure provider. @@ -2606,6 +2612,12 @@ spec: rule: oldSelf == '' || self == oldSelf type: object type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' openstack: description: openstack contains settings specific to the OpenStack infrastructure provider. @@ -2737,6 +2749,12 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' ovirt: description: ovirt contains settings specific to the oVirt infrastructure provider. @@ -2842,6 +2860,12 @@ spec: a future release.' type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' powervs: description: powervs contains settings specific to the Power Systems Virtual Servers infrastructure provider. @@ -3088,6 +3112,12 @@ spec: to the nodes in the cluster. type: string type: object + x-kubernetes-validations: + - message: dnsRecordsType may only be set to External + when loadBalancer.type is UserManaged + rule: '!has(self.dnsRecordsType) || self.dnsRecordsType + == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type + == ''UserManaged'')' type: object type: object required: From 17af8666c489acc1951f8b6ce185971ee5cbe019 Mon Sep 17 00:00:00 2001 From: Ben Nemec Date: Thu, 23 Oct 2025 17:42:08 -0500 Subject: [PATCH 08/11] Fix Nutanix test definitions with required prismCentral and prismElements fields MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Nutanix platform requires prismCentral and prismElements fields in the spec. The previous test definitions were failing with validation errors because these required fields were missing. Added minimal valid Nutanix configuration to both test cases: - Should allow setting dnsRecordsType to External with UserManaged loadBalancer (Nutanix) - Should reject setting dnsRecordsType to External with OpenShiftManagedDefault loadBalancer (Nutanix) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- .../OnPremDNSRecords.yaml | 50 +++++++++++++++++-- 1 file changed, 45 insertions(+), 5 deletions(-) diff --git a/config/v1/tests/infrastructures.config.openshift.io/OnPremDNSRecords.yaml b/config/v1/tests/infrastructures.config.openshift.io/OnPremDNSRecords.yaml index 55ef7cc272f..a4a17f27867 100644 --- a/config/v1/tests/infrastructures.config.openshift.io/OnPremDNSRecords.yaml +++ b/config/v1/tests/infrastructures.config.openshift.io/OnPremDNSRecords.yaml @@ -341,14 +341,30 @@ tests: kind: Infrastructure spec: platformSpec: - nutanix: {} + nutanix: + prismCentral: + address: test.nutanix.com + port: 9440 + prismElements: + - endpoint: + address: test-pe.nutanix.com + port: 9440 + name: test-pe type: Nutanix updated: | apiVersion: config.openshift.io/v1 kind: Infrastructure spec: platformSpec: - nutanix: {} + nutanix: + prismCentral: + address: test.nutanix.com + port: 9440 + prismElements: + - endpoint: + address: test-pe.nutanix.com + port: 9440 + name: test-pe type: Nutanix status: platform: Nutanix @@ -363,7 +379,15 @@ tests: kind: Infrastructure spec: platformSpec: - nutanix: {} + nutanix: + prismCentral: + address: test.nutanix.com + port: 9440 + prismElements: + - endpoint: + address: test-pe.nutanix.com + port: 9440 + name: test-pe type: Nutanix status: platform: Nutanix @@ -382,14 +406,30 @@ tests: kind: Infrastructure spec: platformSpec: - nutanix: {} + nutanix: + prismCentral: + address: test.nutanix.com + port: 9440 + prismElements: + - endpoint: + address: test-pe.nutanix.com + port: 9440 + name: test-pe type: Nutanix updated: | apiVersion: config.openshift.io/v1 kind: Infrastructure spec: platformSpec: - nutanix: {} + nutanix: + prismCentral: + address: test.nutanix.com + port: 9440 + prismElements: + - endpoint: + address: test-pe.nutanix.com + port: 9440 + name: test-pe type: Nutanix status: platform: Nutanix From 4723a27b5bcb8796fbb156c2ce5552c917bc1208 Mon Sep 17 00:00:00 2001 From: Ben Nemec Date: Fri, 24 Oct 2025 12:40:18 -0500 Subject: [PATCH 09/11] Make dnsRecordsType XValidation rules feature gate aware MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Convert the cross-field validation rules for dnsRecordsType to be feature gate aware, ensuring the validation only applies when the OnPremDNSRecords feature gate is enabled. This allows the field to exist without enforcing the loadBalancer constraint when the feature is disabled. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- config/v1/types_infrastructure.go | 10 +++---- ...erator_01_infrastructures-Default.crd.yaml | 25 ---------------- .../AAA_ungated.yaml | 25 ---------------- .../AWSClusterHostedDNSInstall.yaml | 25 ---------------- .../AzureClusterHostedDNSInstall.yaml | 25 ---------------- .../DualReplica.yaml | 25 ---------------- .../DyanmicServiceEndpointIBMCloud.yaml | 25 ---------------- .../GCPClusterHostedDNSInstall.yaml | 25 ---------------- .../GCPCustomAPIEndpointsInstall.yaml | 25 ---------------- .../HighlyAvailableArbiter+DualReplica.yaml | 25 ---------------- .../HighlyAvailableArbiter.yaml | 25 ---------------- .../NutanixMultiSubnets.yaml | 25 ---------------- .../VSphereHostVMGroupZonal.yaml | 25 ---------------- .../VSphereMultiNetworks.yaml | 25 ---------------- .../OnPremDNSRecords.yaml | 2 +- ...nfig_01_controllerconfigs-Default.crd.yaml | 30 ------------------- ..._generated.featuregated-crd-manifests.yaml | 2 +- .../AAA_ungated.yaml | 30 ------------------- .../AWSClusterHostedDNSInstall.yaml | 30 ------------------- .../AzureClusterHostedDNSInstall.yaml | 30 ------------------- .../DualReplica.yaml | 30 ------------------- .../DyanmicServiceEndpointIBMCloud.yaml | 30 ------------------- .../GCPClusterHostedDNSInstall.yaml | 30 ------------------- .../GCPCustomAPIEndpointsInstall.yaml | 30 ------------------- .../HighlyAvailableArbiter+DualReplica.yaml | 30 ------------------- .../HighlyAvailableArbiter.yaml | 30 ------------------- .../NutanixMultiSubnets.yaml | 30 ------------------- .../VSphereMultiNetworks.yaml | 30 ------------------- ...erator_01_infrastructures-Default.crd.yaml | 25 ---------------- ...nfig_01_controllerconfigs-Default.crd.yaml | 30 ------------------- 30 files changed, 7 insertions(+), 747 deletions(-) diff --git a/config/v1/types_infrastructure.go b/config/v1/types_infrastructure.go index 516e02ff3eb..c0df980cbbb 100644 --- a/config/v1/types_infrastructure.go +++ b/config/v1/types_infrastructure.go @@ -1029,7 +1029,7 @@ type BareMetalPlatformSpec struct { // BareMetalPlatformStatus holds the current status of the BareMetal infrastructure provider. // For more information about the network architecture used with the BareMetal platform type, see: // https://github.com/openshift/installer/blob/master/docs/design/baremetal/networking-infrastructure.md -// +kubebuilder:validation:XValidation: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" +// +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" type BareMetalPlatformStatus struct { // apiServerInternalIP is an IP address to contact the Kubernetes API server that can be used // by components inside the cluster, like kubelets using the infrastructure rather @@ -1173,7 +1173,7 @@ type OpenStackPlatformSpec struct { } // OpenStackPlatformStatus holds the current status of the OpenStack infrastructure provider. -// +kubebuilder:validation:XValidation: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" +// +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" type OpenStackPlatformStatus struct { // apiServerInternalIP is an IP address to contact the Kubernetes API server that can be used // by components inside the cluster, like kubelets using the infrastructure rather @@ -1279,7 +1279,7 @@ type OvirtPlatformLoadBalancer struct { type OvirtPlatformSpec struct{} // OvirtPlatformStatus holds the current status of the oVirt infrastructure provider. -// +kubebuilder:validation:XValidation: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" +// +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" type OvirtPlatformStatus struct { // apiServerInternalIP is an IP address to contact the Kubernetes API server that can be used // by components inside the cluster, like kubelets using the infrastructure rather @@ -1738,7 +1738,7 @@ type VSpherePlatformSpec struct { } // VSpherePlatformStatus holds the current status of the vSphere infrastructure provider. -// +kubebuilder:validation:XValidation: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" +// +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" type VSpherePlatformStatus struct { // apiServerInternalIP is an IP address to contact the Kubernetes API server that can be used // by components inside the cluster, like kubelets using the infrastructure rather @@ -2179,7 +2179,7 @@ type NutanixPrismElementEndpoint struct { } // NutanixPlatformStatus holds the current status of the Nutanix infrastructure provider. -// +kubebuilder:validation:XValidation: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" +// +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" type NutanixPlatformStatus struct { // apiServerInternalIP is an IP address to contact the Kubernetes API server that can be used // by components inside the cluster, like kubelets using the infrastructure rather diff --git a/config/v1/zz_generated.crd-manifests/0000_10_config-operator_01_infrastructures-Default.crd.yaml b/config/v1/zz_generated.crd-manifests/0000_10_config-operator_01_infrastructures-Default.crd.yaml index ebb06b83d24..4ecbc18e963 100644 --- a/config/v1/zz_generated.crd-manifests/0000_10_config-operator_01_infrastructures-Default.crd.yaml +++ b/config/v1/zz_generated.crd-manifests/0000_10_config-operator_01_infrastructures-Default.crd.yaml @@ -1433,11 +1433,6 @@ spec: to the nodes in the cluster. type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External when loadBalancer.type - is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' - || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' equinixMetal: description: equinixMetal contains settings specific to the Equinix Metal infrastructure provider. @@ -1899,11 +1894,6 @@ spec: rule: oldSelf == '' || self == oldSelf type: object type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External when loadBalancer.type - is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' - || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' openstack: description: openstack contains settings specific to the OpenStack infrastructure provider. @@ -2019,11 +2009,6 @@ spec: to the nodes in the cluster. type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External when loadBalancer.type - is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' - || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' ovirt: description: ovirt contains settings specific to the oVirt infrastructure provider. @@ -2112,11 +2097,6 @@ spec: set or honored. It will be removed in a future release.' type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External when loadBalancer.type - is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' - || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' powervs: description: powervs contains settings specific to the Power Systems Virtual Servers infrastructure provider. @@ -2347,11 +2327,6 @@ spec: to the nodes in the cluster. type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External when loadBalancer.type - is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' - || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' type: object type: object required: diff --git a/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/AAA_ungated.yaml b/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/AAA_ungated.yaml index 5c571d89b6d..f7884078c57 100644 --- a/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/AAA_ungated.yaml +++ b/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/AAA_ungated.yaml @@ -1420,11 +1420,6 @@ spec: to the nodes in the cluster. type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External when loadBalancer.type - is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' - || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' equinixMetal: description: equinixMetal contains settings specific to the Equinix Metal infrastructure provider. @@ -1782,11 +1777,6 @@ spec: rule: oldSelf == '' || self == oldSelf type: object type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External when loadBalancer.type - is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' - || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' openstack: description: openstack contains settings specific to the OpenStack infrastructure provider. @@ -1902,11 +1892,6 @@ spec: to the nodes in the cluster. type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External when loadBalancer.type - is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' - || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' ovirt: description: ovirt contains settings specific to the oVirt infrastructure provider. @@ -1995,11 +1980,6 @@ spec: set or honored. It will be removed in a future release.' type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External when loadBalancer.type - is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' - || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' powervs: description: powervs contains settings specific to the Power Systems Virtual Servers infrastructure provider. @@ -2230,11 +2210,6 @@ spec: to the nodes in the cluster. type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External when loadBalancer.type - is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' - || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' type: object type: object required: diff --git a/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/AWSClusterHostedDNSInstall.yaml b/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/AWSClusterHostedDNSInstall.yaml index 4497ab05b2a..b9612aeabd7 100644 --- a/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/AWSClusterHostedDNSInstall.yaml +++ b/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/AWSClusterHostedDNSInstall.yaml @@ -1518,11 +1518,6 @@ spec: to the nodes in the cluster. type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External when loadBalancer.type - is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' - || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' equinixMetal: description: equinixMetal contains settings specific to the Equinix Metal infrastructure provider. @@ -1880,11 +1875,6 @@ spec: rule: oldSelf == '' || self == oldSelf type: object type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External when loadBalancer.type - is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' - || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' openstack: description: openstack contains settings specific to the OpenStack infrastructure provider. @@ -2000,11 +1990,6 @@ spec: to the nodes in the cluster. type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External when loadBalancer.type - is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' - || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' ovirt: description: ovirt contains settings specific to the oVirt infrastructure provider. @@ -2093,11 +2078,6 @@ spec: set or honored. It will be removed in a future release.' type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External when loadBalancer.type - is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' - || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' powervs: description: powervs contains settings specific to the Power Systems Virtual Servers infrastructure provider. @@ -2328,11 +2308,6 @@ spec: to the nodes in the cluster. type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External when loadBalancer.type - is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' - || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' type: object type: object required: diff --git a/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/AzureClusterHostedDNSInstall.yaml b/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/AzureClusterHostedDNSInstall.yaml index 90ca3120a27..9294465523a 100644 --- a/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/AzureClusterHostedDNSInstall.yaml +++ b/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/AzureClusterHostedDNSInstall.yaml @@ -1517,11 +1517,6 @@ spec: to the nodes in the cluster. type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External when loadBalancer.type - is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' - || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' equinixMetal: description: equinixMetal contains settings specific to the Equinix Metal infrastructure provider. @@ -1879,11 +1874,6 @@ spec: rule: oldSelf == '' || self == oldSelf type: object type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External when loadBalancer.type - is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' - || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' openstack: description: openstack contains settings specific to the OpenStack infrastructure provider. @@ -1999,11 +1989,6 @@ spec: to the nodes in the cluster. type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External when loadBalancer.type - is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' - || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' ovirt: description: ovirt contains settings specific to the oVirt infrastructure provider. @@ -2092,11 +2077,6 @@ spec: set or honored. It will be removed in a future release.' type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External when loadBalancer.type - is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' - || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' powervs: description: powervs contains settings specific to the Power Systems Virtual Servers infrastructure provider. @@ -2327,11 +2307,6 @@ spec: to the nodes in the cluster. type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External when loadBalancer.type - is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' - || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' type: object type: object required: diff --git a/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/DualReplica.yaml b/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/DualReplica.yaml index 20c641160e3..18c7e0411d8 100644 --- a/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/DualReplica.yaml +++ b/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/DualReplica.yaml @@ -1419,11 +1419,6 @@ spec: to the nodes in the cluster. type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External when loadBalancer.type - is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' - || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' equinixMetal: description: equinixMetal contains settings specific to the Equinix Metal infrastructure provider. @@ -1781,11 +1776,6 @@ spec: rule: oldSelf == '' || self == oldSelf type: object type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External when loadBalancer.type - is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' - || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' openstack: description: openstack contains settings specific to the OpenStack infrastructure provider. @@ -1901,11 +1891,6 @@ spec: to the nodes in the cluster. type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External when loadBalancer.type - is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' - || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' ovirt: description: ovirt contains settings specific to the oVirt infrastructure provider. @@ -1994,11 +1979,6 @@ spec: set or honored. It will be removed in a future release.' type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External when loadBalancer.type - is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' - || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' powervs: description: powervs contains settings specific to the Power Systems Virtual Servers infrastructure provider. @@ -2229,11 +2209,6 @@ spec: to the nodes in the cluster. type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External when loadBalancer.type - is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' - || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' type: object type: object required: diff --git a/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/DyanmicServiceEndpointIBMCloud.yaml b/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/DyanmicServiceEndpointIBMCloud.yaml index acaa9a2fabb..1e5106c415d 100644 --- a/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/DyanmicServiceEndpointIBMCloud.yaml +++ b/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/DyanmicServiceEndpointIBMCloud.yaml @@ -1476,11 +1476,6 @@ spec: to the nodes in the cluster. type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External when loadBalancer.type - is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' - || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' equinixMetal: description: equinixMetal contains settings specific to the Equinix Metal infrastructure provider. @@ -1843,11 +1838,6 @@ spec: rule: oldSelf == '' || self == oldSelf type: object type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External when loadBalancer.type - is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' - || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' openstack: description: openstack contains settings specific to the OpenStack infrastructure provider. @@ -1963,11 +1953,6 @@ spec: to the nodes in the cluster. type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External when loadBalancer.type - is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' - || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' ovirt: description: ovirt contains settings specific to the oVirt infrastructure provider. @@ -2056,11 +2041,6 @@ spec: set or honored. It will be removed in a future release.' type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External when loadBalancer.type - is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' - || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' powervs: description: powervs contains settings specific to the Power Systems Virtual Servers infrastructure provider. @@ -2291,11 +2271,6 @@ spec: to the nodes in the cluster. type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External when loadBalancer.type - is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' - || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' type: object type: object required: diff --git a/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/GCPClusterHostedDNSInstall.yaml b/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/GCPClusterHostedDNSInstall.yaml index 6ad89d5949d..926fcdeda12 100644 --- a/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/GCPClusterHostedDNSInstall.yaml +++ b/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/GCPClusterHostedDNSInstall.yaml @@ -1414,11 +1414,6 @@ spec: to the nodes in the cluster. type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External when loadBalancer.type - is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' - || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' equinixMetal: description: equinixMetal contains settings specific to the Equinix Metal infrastructure provider. @@ -1880,11 +1875,6 @@ spec: rule: oldSelf == '' || self == oldSelf type: object type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External when loadBalancer.type - is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' - || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' openstack: description: openstack contains settings specific to the OpenStack infrastructure provider. @@ -2000,11 +1990,6 @@ spec: to the nodes in the cluster. type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External when loadBalancer.type - is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' - || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' ovirt: description: ovirt contains settings specific to the oVirt infrastructure provider. @@ -2093,11 +2078,6 @@ spec: set or honored. It will be removed in a future release.' type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External when loadBalancer.type - is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' - || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' powervs: description: powervs contains settings specific to the Power Systems Virtual Servers infrastructure provider. @@ -2328,11 +2308,6 @@ spec: to the nodes in the cluster. type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External when loadBalancer.type - is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' - || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' type: object type: object required: diff --git a/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/GCPCustomAPIEndpointsInstall.yaml b/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/GCPCustomAPIEndpointsInstall.yaml index ea71fd9e697..915710e59f8 100644 --- a/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/GCPCustomAPIEndpointsInstall.yaml +++ b/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/GCPCustomAPIEndpointsInstall.yaml @@ -1414,11 +1414,6 @@ spec: to the nodes in the cluster. type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External when loadBalancer.type - is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' - || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' equinixMetal: description: equinixMetal contains settings specific to the Equinix Metal infrastructure provider. @@ -1844,11 +1839,6 @@ spec: rule: oldSelf == '' || self == oldSelf type: object type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External when loadBalancer.type - is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' - || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' openstack: description: openstack contains settings specific to the OpenStack infrastructure provider. @@ -1964,11 +1954,6 @@ spec: to the nodes in the cluster. type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External when loadBalancer.type - is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' - || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' ovirt: description: ovirt contains settings specific to the oVirt infrastructure provider. @@ -2057,11 +2042,6 @@ spec: set or honored. It will be removed in a future release.' type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External when loadBalancer.type - is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' - || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' powervs: description: powervs contains settings specific to the Power Systems Virtual Servers infrastructure provider. @@ -2292,11 +2272,6 @@ spec: to the nodes in the cluster. type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External when loadBalancer.type - is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' - || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' type: object type: object required: diff --git a/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/HighlyAvailableArbiter+DualReplica.yaml b/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/HighlyAvailableArbiter+DualReplica.yaml index e315fee99f6..b78e5186295 100644 --- a/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/HighlyAvailableArbiter+DualReplica.yaml +++ b/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/HighlyAvailableArbiter+DualReplica.yaml @@ -1421,11 +1421,6 @@ spec: to the nodes in the cluster. type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External when loadBalancer.type - is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' - || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' equinixMetal: description: equinixMetal contains settings specific to the Equinix Metal infrastructure provider. @@ -1783,11 +1778,6 @@ spec: rule: oldSelf == '' || self == oldSelf type: object type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External when loadBalancer.type - is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' - || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' openstack: description: openstack contains settings specific to the OpenStack infrastructure provider. @@ -1903,11 +1893,6 @@ spec: to the nodes in the cluster. type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External when loadBalancer.type - is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' - || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' ovirt: description: ovirt contains settings specific to the oVirt infrastructure provider. @@ -1996,11 +1981,6 @@ spec: set or honored. It will be removed in a future release.' type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External when loadBalancer.type - is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' - || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' powervs: description: powervs contains settings specific to the Power Systems Virtual Servers infrastructure provider. @@ -2231,11 +2211,6 @@ spec: to the nodes in the cluster. type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External when loadBalancer.type - is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' - || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' type: object type: object required: diff --git a/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/HighlyAvailableArbiter.yaml b/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/HighlyAvailableArbiter.yaml index e829bcbeb4d..bad4253572d 100644 --- a/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/HighlyAvailableArbiter.yaml +++ b/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/HighlyAvailableArbiter.yaml @@ -1419,11 +1419,6 @@ spec: to the nodes in the cluster. type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External when loadBalancer.type - is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' - || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' equinixMetal: description: equinixMetal contains settings specific to the Equinix Metal infrastructure provider. @@ -1781,11 +1776,6 @@ spec: rule: oldSelf == '' || self == oldSelf type: object type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External when loadBalancer.type - is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' - || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' openstack: description: openstack contains settings specific to the OpenStack infrastructure provider. @@ -1901,11 +1891,6 @@ spec: to the nodes in the cluster. type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External when loadBalancer.type - is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' - || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' ovirt: description: ovirt contains settings specific to the oVirt infrastructure provider. @@ -1994,11 +1979,6 @@ spec: set or honored. It will be removed in a future release.' type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External when loadBalancer.type - is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' - || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' powervs: description: powervs contains settings specific to the Power Systems Virtual Servers infrastructure provider. @@ -2229,11 +2209,6 @@ spec: to the nodes in the cluster. type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External when loadBalancer.type - is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' - || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' type: object type: object required: diff --git a/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/NutanixMultiSubnets.yaml b/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/NutanixMultiSubnets.yaml index 05faa2aa380..cae8e7a1981 100644 --- a/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/NutanixMultiSubnets.yaml +++ b/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/NutanixMultiSubnets.yaml @@ -1419,11 +1419,6 @@ spec: to the nodes in the cluster. type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External when loadBalancer.type - is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' - || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' equinixMetal: description: equinixMetal contains settings specific to the Equinix Metal infrastructure provider. @@ -1781,11 +1776,6 @@ spec: rule: oldSelf == '' || self == oldSelf type: object type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External when loadBalancer.type - is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' - || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' openstack: description: openstack contains settings specific to the OpenStack infrastructure provider. @@ -1901,11 +1891,6 @@ spec: to the nodes in the cluster. type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External when loadBalancer.type - is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' - || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' ovirt: description: ovirt contains settings specific to the oVirt infrastructure provider. @@ -1994,11 +1979,6 @@ spec: set or honored. It will be removed in a future release.' type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External when loadBalancer.type - is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' - || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' powervs: description: powervs contains settings specific to the Power Systems Virtual Servers infrastructure provider. @@ -2229,11 +2209,6 @@ spec: to the nodes in the cluster. type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External when loadBalancer.type - is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' - || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' type: object type: object required: diff --git a/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/VSphereHostVMGroupZonal.yaml b/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/VSphereHostVMGroupZonal.yaml index 0498a277f3f..80131801ace 100644 --- a/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/VSphereHostVMGroupZonal.yaml +++ b/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/VSphereHostVMGroupZonal.yaml @@ -1425,11 +1425,6 @@ spec: to the nodes in the cluster. type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External when loadBalancer.type - is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' - || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' equinixMetal: description: equinixMetal contains settings specific to the Equinix Metal infrastructure provider. @@ -1787,11 +1782,6 @@ spec: rule: oldSelf == '' || self == oldSelf type: object type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External when loadBalancer.type - is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' - || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' openstack: description: openstack contains settings specific to the OpenStack infrastructure provider. @@ -1907,11 +1897,6 @@ spec: to the nodes in the cluster. type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External when loadBalancer.type - is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' - || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' ovirt: description: ovirt contains settings specific to the oVirt infrastructure provider. @@ -2000,11 +1985,6 @@ spec: set or honored. It will be removed in a future release.' type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External when loadBalancer.type - is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' - || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' powervs: description: powervs contains settings specific to the Power Systems Virtual Servers infrastructure provider. @@ -2235,11 +2215,6 @@ spec: to the nodes in the cluster. type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External when loadBalancer.type - is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' - || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' type: object type: object required: diff --git a/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/VSphereMultiNetworks.yaml b/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/VSphereMultiNetworks.yaml index fdc45165a24..5b9c0c33e78 100644 --- a/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/VSphereMultiNetworks.yaml +++ b/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/VSphereMultiNetworks.yaml @@ -1415,11 +1415,6 @@ spec: to the nodes in the cluster. type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External when loadBalancer.type - is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' - || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' equinixMetal: description: equinixMetal contains settings specific to the Equinix Metal infrastructure provider. @@ -1777,11 +1772,6 @@ spec: rule: oldSelf == '' || self == oldSelf type: object type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External when loadBalancer.type - is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' - || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' openstack: description: openstack contains settings specific to the OpenStack infrastructure provider. @@ -1897,11 +1887,6 @@ spec: to the nodes in the cluster. type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External when loadBalancer.type - is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' - || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' ovirt: description: ovirt contains settings specific to the oVirt infrastructure provider. @@ -1990,11 +1975,6 @@ spec: set or honored. It will be removed in a future release.' type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External when loadBalancer.type - is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' - || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' powervs: description: powervs contains settings specific to the Power Systems Virtual Servers infrastructure provider. @@ -2225,11 +2205,6 @@ spec: to the nodes in the cluster. type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External when loadBalancer.type - is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' - || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' type: object type: object required: diff --git a/machineconfiguration/v1/tests/controllerconfigs.machineconfiguration.openshift.io/OnPremDNSRecords.yaml b/machineconfiguration/v1/tests/controllerconfigs.machineconfiguration.openshift.io/OnPremDNSRecords.yaml index 56772b84b85..b232b94c8af 100644 --- a/machineconfiguration/v1/tests/controllerconfigs.machineconfiguration.openshift.io/OnPremDNSRecords.yaml +++ b/machineconfiguration/v1/tests/controllerconfigs.machineconfiguration.openshift.io/OnPremDNSRecords.yaml @@ -5,7 +5,7 @@ featureGates: - OnPremDNSRecords tests: onCreate: - - name: opnet Should be able to create a ControllerConfig for vSphere with external DNS records + - name: Should be able to create a ControllerConfig for vSphere with external DNS records initial: | apiVersion: machineconfiguration.openshift.io/v1 kind: ControllerConfig diff --git a/machineconfiguration/v1/zz_generated.crd-manifests/0000_80_machine-config_01_controllerconfigs-Default.crd.yaml b/machineconfiguration/v1/zz_generated.crd-manifests/0000_80_machine-config_01_controllerconfigs-Default.crd.yaml index d96e733861e..485501e0ace 100644 --- a/machineconfiguration/v1/zz_generated.crd-manifests/0000_80_machine-config_01_controllerconfigs-Default.crd.yaml +++ b/machineconfiguration/v1/zz_generated.crd-manifests/0000_80_machine-config_01_controllerconfigs-Default.crd.yaml @@ -1718,12 +1718,6 @@ spec: to the nodes in the cluster. type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External - when loadBalancer.type is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType - == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type - == ''UserManaged'')' equinixMetal: description: equinixMetal contains settings specific to the Equinix Metal infrastructure provider. @@ -2192,12 +2186,6 @@ spec: rule: oldSelf == '' || self == oldSelf type: object type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External - when loadBalancer.type is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType - == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type - == ''UserManaged'')' openstack: description: openstack contains settings specific to the OpenStack infrastructure provider. @@ -2313,12 +2301,6 @@ spec: to the nodes in the cluster. type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External - when loadBalancer.type is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType - == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type - == ''UserManaged'')' ovirt: description: ovirt contains settings specific to the oVirt infrastructure provider. @@ -2408,12 +2390,6 @@ spec: a future release.' type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External - when loadBalancer.type is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType - == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type - == ''UserManaged'')' powervs: description: powervs contains settings specific to the Power Systems Virtual Servers infrastructure provider. @@ -2644,12 +2620,6 @@ spec: to the nodes in the cluster. type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External - when loadBalancer.type is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType - == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type - == ''UserManaged'')' type: object type: object required: diff --git a/machineconfiguration/v1/zz_generated.featuregated-crd-manifests.yaml b/machineconfiguration/v1/zz_generated.featuregated-crd-manifests.yaml index 85289209ef2..a060601df0d 100644 --- a/machineconfiguration/v1/zz_generated.featuregated-crd-manifests.yaml +++ b/machineconfiguration/v1/zz_generated.featuregated-crd-manifests.yaml @@ -39,9 +39,9 @@ controllerconfigs.machineconfiguration.openshift.io: - HighlyAvailableArbiter - HighlyAvailableArbiter+DualReplica - NutanixMultiSubnets + - OnPremDNSRecords - VSphereHostVMGroupZonal - VSphereMultiNetworks - - OnPremDNSRecords FilenameOperatorName: machine-config FilenameOperatorOrdering: "01" FilenameRunLevel: "0000_80" diff --git a/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/AAA_ungated.yaml b/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/AAA_ungated.yaml index ecba94dae60..96232d4c515 100644 --- a/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/AAA_ungated.yaml +++ b/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/AAA_ungated.yaml @@ -1717,12 +1717,6 @@ spec: to the nodes in the cluster. type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External - when loadBalancer.type is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType - == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type - == ''UserManaged'')' equinixMetal: description: equinixMetal contains settings specific to the Equinix Metal infrastructure provider. @@ -2087,12 +2081,6 @@ spec: rule: oldSelf == '' || self == oldSelf type: object type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External - when loadBalancer.type is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType - == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type - == ''UserManaged'')' openstack: description: openstack contains settings specific to the OpenStack infrastructure provider. @@ -2208,12 +2196,6 @@ spec: to the nodes in the cluster. type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External - when loadBalancer.type is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType - == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type - == ''UserManaged'')' ovirt: description: ovirt contains settings specific to the oVirt infrastructure provider. @@ -2303,12 +2285,6 @@ spec: a future release.' type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External - when loadBalancer.type is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType - == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type - == ''UserManaged'')' powervs: description: powervs contains settings specific to the Power Systems Virtual Servers infrastructure provider. @@ -2539,12 +2515,6 @@ spec: to the nodes in the cluster. type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External - when loadBalancer.type is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType - == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type - == ''UserManaged'')' type: object type: object required: diff --git a/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/AWSClusterHostedDNSInstall.yaml b/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/AWSClusterHostedDNSInstall.yaml index 3fed32d7f80..c33383187d8 100644 --- a/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/AWSClusterHostedDNSInstall.yaml +++ b/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/AWSClusterHostedDNSInstall.yaml @@ -1815,12 +1815,6 @@ spec: to the nodes in the cluster. type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External - when loadBalancer.type is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType - == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type - == ''UserManaged'')' equinixMetal: description: equinixMetal contains settings specific to the Equinix Metal infrastructure provider. @@ -2185,12 +2179,6 @@ spec: rule: oldSelf == '' || self == oldSelf type: object type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External - when loadBalancer.type is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType - == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type - == ''UserManaged'')' openstack: description: openstack contains settings specific to the OpenStack infrastructure provider. @@ -2306,12 +2294,6 @@ spec: to the nodes in the cluster. type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External - when loadBalancer.type is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType - == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type - == ''UserManaged'')' ovirt: description: ovirt contains settings specific to the oVirt infrastructure provider. @@ -2401,12 +2383,6 @@ spec: a future release.' type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External - when loadBalancer.type is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType - == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type - == ''UserManaged'')' powervs: description: powervs contains settings specific to the Power Systems Virtual Servers infrastructure provider. @@ -2637,12 +2613,6 @@ spec: to the nodes in the cluster. type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External - when loadBalancer.type is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType - == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type - == ''UserManaged'')' type: object type: object required: diff --git a/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/AzureClusterHostedDNSInstall.yaml b/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/AzureClusterHostedDNSInstall.yaml index 7b7c21e6442..941da6d5dc8 100644 --- a/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/AzureClusterHostedDNSInstall.yaml +++ b/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/AzureClusterHostedDNSInstall.yaml @@ -1814,12 +1814,6 @@ spec: to the nodes in the cluster. type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External - when loadBalancer.type is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType - == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type - == ''UserManaged'')' equinixMetal: description: equinixMetal contains settings specific to the Equinix Metal infrastructure provider. @@ -2184,12 +2178,6 @@ spec: rule: oldSelf == '' || self == oldSelf type: object type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External - when loadBalancer.type is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType - == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type - == ''UserManaged'')' openstack: description: openstack contains settings specific to the OpenStack infrastructure provider. @@ -2305,12 +2293,6 @@ spec: to the nodes in the cluster. type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External - when loadBalancer.type is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType - == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type - == ''UserManaged'')' ovirt: description: ovirt contains settings specific to the oVirt infrastructure provider. @@ -2400,12 +2382,6 @@ spec: a future release.' type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External - when loadBalancer.type is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType - == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type - == ''UserManaged'')' powervs: description: powervs contains settings specific to the Power Systems Virtual Servers infrastructure provider. @@ -2636,12 +2612,6 @@ spec: to the nodes in the cluster. type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External - when loadBalancer.type is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType - == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type - == ''UserManaged'')' type: object type: object required: diff --git a/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/DualReplica.yaml b/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/DualReplica.yaml index 001db361add..23e273b0d7e 100644 --- a/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/DualReplica.yaml +++ b/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/DualReplica.yaml @@ -1716,12 +1716,6 @@ spec: to the nodes in the cluster. type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External - when loadBalancer.type is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType - == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type - == ''UserManaged'')' equinixMetal: description: equinixMetal contains settings specific to the Equinix Metal infrastructure provider. @@ -2086,12 +2080,6 @@ spec: rule: oldSelf == '' || self == oldSelf type: object type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External - when loadBalancer.type is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType - == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type - == ''UserManaged'')' openstack: description: openstack contains settings specific to the OpenStack infrastructure provider. @@ -2207,12 +2195,6 @@ spec: to the nodes in the cluster. type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External - when loadBalancer.type is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType - == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type - == ''UserManaged'')' ovirt: description: ovirt contains settings specific to the oVirt infrastructure provider. @@ -2302,12 +2284,6 @@ spec: a future release.' type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External - when loadBalancer.type is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType - == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type - == ''UserManaged'')' powervs: description: powervs contains settings specific to the Power Systems Virtual Servers infrastructure provider. @@ -2538,12 +2514,6 @@ spec: to the nodes in the cluster. type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External - when loadBalancer.type is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType - == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type - == ''UserManaged'')' type: object type: object required: diff --git a/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/DyanmicServiceEndpointIBMCloud.yaml b/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/DyanmicServiceEndpointIBMCloud.yaml index 855485fcecd..67decdcebba 100644 --- a/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/DyanmicServiceEndpointIBMCloud.yaml +++ b/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/DyanmicServiceEndpointIBMCloud.yaml @@ -1774,12 +1774,6 @@ spec: to the nodes in the cluster. type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External - when loadBalancer.type is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType - == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type - == ''UserManaged'')' equinixMetal: description: equinixMetal contains settings specific to the Equinix Metal infrastructure provider. @@ -2150,12 +2144,6 @@ spec: rule: oldSelf == '' || self == oldSelf type: object type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External - when loadBalancer.type is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType - == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type - == ''UserManaged'')' openstack: description: openstack contains settings specific to the OpenStack infrastructure provider. @@ -2271,12 +2259,6 @@ spec: to the nodes in the cluster. type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External - when loadBalancer.type is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType - == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type - == ''UserManaged'')' ovirt: description: ovirt contains settings specific to the oVirt infrastructure provider. @@ -2366,12 +2348,6 @@ spec: a future release.' type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External - when loadBalancer.type is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType - == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type - == ''UserManaged'')' powervs: description: powervs contains settings specific to the Power Systems Virtual Servers infrastructure provider. @@ -2602,12 +2578,6 @@ spec: to the nodes in the cluster. type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External - when loadBalancer.type is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType - == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type - == ''UserManaged'')' type: object type: object required: diff --git a/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/GCPClusterHostedDNSInstall.yaml b/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/GCPClusterHostedDNSInstall.yaml index 914660d9bb1..43937898f3e 100644 --- a/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/GCPClusterHostedDNSInstall.yaml +++ b/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/GCPClusterHostedDNSInstall.yaml @@ -1711,12 +1711,6 @@ spec: to the nodes in the cluster. type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External - when loadBalancer.type is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType - == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type - == ''UserManaged'')' equinixMetal: description: equinixMetal contains settings specific to the Equinix Metal infrastructure provider. @@ -2185,12 +2179,6 @@ spec: rule: oldSelf == '' || self == oldSelf type: object type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External - when loadBalancer.type is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType - == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type - == ''UserManaged'')' openstack: description: openstack contains settings specific to the OpenStack infrastructure provider. @@ -2306,12 +2294,6 @@ spec: to the nodes in the cluster. type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External - when loadBalancer.type is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType - == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type - == ''UserManaged'')' ovirt: description: ovirt contains settings specific to the oVirt infrastructure provider. @@ -2401,12 +2383,6 @@ spec: a future release.' type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External - when loadBalancer.type is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType - == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type - == ''UserManaged'')' powervs: description: powervs contains settings specific to the Power Systems Virtual Servers infrastructure provider. @@ -2637,12 +2613,6 @@ spec: to the nodes in the cluster. type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External - when loadBalancer.type is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType - == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type - == ''UserManaged'')' type: object type: object required: diff --git a/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/GCPCustomAPIEndpointsInstall.yaml b/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/GCPCustomAPIEndpointsInstall.yaml index b4bc6fb2b92..04d4c66016c 100644 --- a/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/GCPCustomAPIEndpointsInstall.yaml +++ b/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/GCPCustomAPIEndpointsInstall.yaml @@ -1711,12 +1711,6 @@ spec: to the nodes in the cluster. type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External - when loadBalancer.type is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType - == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type - == ''UserManaged'')' equinixMetal: description: equinixMetal contains settings specific to the Equinix Metal infrastructure provider. @@ -2149,12 +2143,6 @@ spec: rule: oldSelf == '' || self == oldSelf type: object type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External - when loadBalancer.type is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType - == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type - == ''UserManaged'')' openstack: description: openstack contains settings specific to the OpenStack infrastructure provider. @@ -2270,12 +2258,6 @@ spec: to the nodes in the cluster. type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External - when loadBalancer.type is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType - == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type - == ''UserManaged'')' ovirt: description: ovirt contains settings specific to the oVirt infrastructure provider. @@ -2365,12 +2347,6 @@ spec: a future release.' type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External - when loadBalancer.type is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType - == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type - == ''UserManaged'')' powervs: description: powervs contains settings specific to the Power Systems Virtual Servers infrastructure provider. @@ -2601,12 +2577,6 @@ spec: to the nodes in the cluster. type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External - when loadBalancer.type is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType - == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type - == ''UserManaged'')' type: object type: object required: diff --git a/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/HighlyAvailableArbiter+DualReplica.yaml b/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/HighlyAvailableArbiter+DualReplica.yaml index 41d324bb679..4d3349e51d6 100644 --- a/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/HighlyAvailableArbiter+DualReplica.yaml +++ b/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/HighlyAvailableArbiter+DualReplica.yaml @@ -1718,12 +1718,6 @@ spec: to the nodes in the cluster. type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External - when loadBalancer.type is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType - == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type - == ''UserManaged'')' equinixMetal: description: equinixMetal contains settings specific to the Equinix Metal infrastructure provider. @@ -2088,12 +2082,6 @@ spec: rule: oldSelf == '' || self == oldSelf type: object type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External - when loadBalancer.type is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType - == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type - == ''UserManaged'')' openstack: description: openstack contains settings specific to the OpenStack infrastructure provider. @@ -2209,12 +2197,6 @@ spec: to the nodes in the cluster. type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External - when loadBalancer.type is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType - == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type - == ''UserManaged'')' ovirt: description: ovirt contains settings specific to the oVirt infrastructure provider. @@ -2304,12 +2286,6 @@ spec: a future release.' type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External - when loadBalancer.type is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType - == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type - == ''UserManaged'')' powervs: description: powervs contains settings specific to the Power Systems Virtual Servers infrastructure provider. @@ -2540,12 +2516,6 @@ spec: to the nodes in the cluster. type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External - when loadBalancer.type is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType - == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type - == ''UserManaged'')' type: object type: object required: diff --git a/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/HighlyAvailableArbiter.yaml b/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/HighlyAvailableArbiter.yaml index 878b57521f6..c9e140bda76 100644 --- a/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/HighlyAvailableArbiter.yaml +++ b/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/HighlyAvailableArbiter.yaml @@ -1716,12 +1716,6 @@ spec: to the nodes in the cluster. type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External - when loadBalancer.type is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType - == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type - == ''UserManaged'')' equinixMetal: description: equinixMetal contains settings specific to the Equinix Metal infrastructure provider. @@ -2086,12 +2080,6 @@ spec: rule: oldSelf == '' || self == oldSelf type: object type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External - when loadBalancer.type is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType - == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type - == ''UserManaged'')' openstack: description: openstack contains settings specific to the OpenStack infrastructure provider. @@ -2207,12 +2195,6 @@ spec: to the nodes in the cluster. type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External - when loadBalancer.type is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType - == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type - == ''UserManaged'')' ovirt: description: ovirt contains settings specific to the oVirt infrastructure provider. @@ -2302,12 +2284,6 @@ spec: a future release.' type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External - when loadBalancer.type is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType - == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type - == ''UserManaged'')' powervs: description: powervs contains settings specific to the Power Systems Virtual Servers infrastructure provider. @@ -2538,12 +2514,6 @@ spec: to the nodes in the cluster. type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External - when loadBalancer.type is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType - == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type - == ''UserManaged'')' type: object type: object required: diff --git a/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/NutanixMultiSubnets.yaml b/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/NutanixMultiSubnets.yaml index f79b43ccfd9..ba58a041743 100644 --- a/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/NutanixMultiSubnets.yaml +++ b/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/NutanixMultiSubnets.yaml @@ -1717,12 +1717,6 @@ spec: to the nodes in the cluster. type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External - when loadBalancer.type is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType - == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type - == ''UserManaged'')' equinixMetal: description: equinixMetal contains settings specific to the Equinix Metal infrastructure provider. @@ -2087,12 +2081,6 @@ spec: rule: oldSelf == '' || self == oldSelf type: object type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External - when loadBalancer.type is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType - == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type - == ''UserManaged'')' openstack: description: openstack contains settings specific to the OpenStack infrastructure provider. @@ -2208,12 +2196,6 @@ spec: to the nodes in the cluster. type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External - when loadBalancer.type is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType - == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type - == ''UserManaged'')' ovirt: description: ovirt contains settings specific to the oVirt infrastructure provider. @@ -2303,12 +2285,6 @@ spec: a future release.' type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External - when loadBalancer.type is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType - == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type - == ''UserManaged'')' powervs: description: powervs contains settings specific to the Power Systems Virtual Servers infrastructure provider. @@ -2539,12 +2515,6 @@ spec: to the nodes in the cluster. type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External - when loadBalancer.type is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType - == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type - == ''UserManaged'')' type: object type: object required: diff --git a/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/VSphereMultiNetworks.yaml b/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/VSphereMultiNetworks.yaml index 674aea234fa..6d451e42e52 100644 --- a/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/VSphereMultiNetworks.yaml +++ b/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/VSphereMultiNetworks.yaml @@ -1712,12 +1712,6 @@ spec: to the nodes in the cluster. type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External - when loadBalancer.type is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType - == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type - == ''UserManaged'')' equinixMetal: description: equinixMetal contains settings specific to the Equinix Metal infrastructure provider. @@ -2082,12 +2076,6 @@ spec: rule: oldSelf == '' || self == oldSelf type: object type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External - when loadBalancer.type is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType - == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type - == ''UserManaged'')' openstack: description: openstack contains settings specific to the OpenStack infrastructure provider. @@ -2203,12 +2191,6 @@ spec: to the nodes in the cluster. type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External - when loadBalancer.type is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType - == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type - == ''UserManaged'')' ovirt: description: ovirt contains settings specific to the oVirt infrastructure provider. @@ -2298,12 +2280,6 @@ spec: a future release.' type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External - when loadBalancer.type is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType - == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type - == ''UserManaged'')' powervs: description: powervs contains settings specific to the Power Systems Virtual Servers infrastructure provider. @@ -2534,12 +2510,6 @@ spec: to the nodes in the cluster. type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External - when loadBalancer.type is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType - == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type - == ''UserManaged'')' type: object type: object required: diff --git a/payload-manifests/crds/0000_10_config-operator_01_infrastructures-Default.crd.yaml b/payload-manifests/crds/0000_10_config-operator_01_infrastructures-Default.crd.yaml index ebb06b83d24..4ecbc18e963 100644 --- a/payload-manifests/crds/0000_10_config-operator_01_infrastructures-Default.crd.yaml +++ b/payload-manifests/crds/0000_10_config-operator_01_infrastructures-Default.crd.yaml @@ -1433,11 +1433,6 @@ spec: to the nodes in the cluster. type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External when loadBalancer.type - is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' - || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' equinixMetal: description: equinixMetal contains settings specific to the Equinix Metal infrastructure provider. @@ -1899,11 +1894,6 @@ spec: rule: oldSelf == '' || self == oldSelf type: object type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External when loadBalancer.type - is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' - || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' openstack: description: openstack contains settings specific to the OpenStack infrastructure provider. @@ -2019,11 +2009,6 @@ spec: to the nodes in the cluster. type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External when loadBalancer.type - is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' - || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' ovirt: description: ovirt contains settings specific to the oVirt infrastructure provider. @@ -2112,11 +2097,6 @@ spec: set or honored. It will be removed in a future release.' type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External when loadBalancer.type - is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' - || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' powervs: description: powervs contains settings specific to the Power Systems Virtual Servers infrastructure provider. @@ -2347,11 +2327,6 @@ spec: to the nodes in the cluster. type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External when loadBalancer.type - is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType == ''Internal'' - || (has(self.loadBalancer) && self.loadBalancer.type == ''UserManaged'')' type: object type: object required: diff --git a/payload-manifests/crds/0000_80_machine-config_01_controllerconfigs-Default.crd.yaml b/payload-manifests/crds/0000_80_machine-config_01_controllerconfigs-Default.crd.yaml index d96e733861e..485501e0ace 100644 --- a/payload-manifests/crds/0000_80_machine-config_01_controllerconfigs-Default.crd.yaml +++ b/payload-manifests/crds/0000_80_machine-config_01_controllerconfigs-Default.crd.yaml @@ -1718,12 +1718,6 @@ spec: to the nodes in the cluster. type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External - when loadBalancer.type is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType - == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type - == ''UserManaged'')' equinixMetal: description: equinixMetal contains settings specific to the Equinix Metal infrastructure provider. @@ -2192,12 +2186,6 @@ spec: rule: oldSelf == '' || self == oldSelf type: object type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External - when loadBalancer.type is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType - == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type - == ''UserManaged'')' openstack: description: openstack contains settings specific to the OpenStack infrastructure provider. @@ -2313,12 +2301,6 @@ spec: to the nodes in the cluster. type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External - when loadBalancer.type is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType - == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type - == ''UserManaged'')' ovirt: description: ovirt contains settings specific to the oVirt infrastructure provider. @@ -2408,12 +2390,6 @@ spec: a future release.' type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External - when loadBalancer.type is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType - == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type - == ''UserManaged'')' powervs: description: powervs contains settings specific to the Power Systems Virtual Servers infrastructure provider. @@ -2644,12 +2620,6 @@ spec: to the nodes in the cluster. type: string type: object - x-kubernetes-validations: - - message: dnsRecordsType may only be set to External - when loadBalancer.type is UserManaged - rule: '!has(self.dnsRecordsType) || self.dnsRecordsType - == ''Internal'' || (has(self.loadBalancer) && self.loadBalancer.type - == ''UserManaged'')' type: object type: object required: From 7aa746c3451ad41f7accc62d23eceac35de42c20 Mon Sep 17 00:00:00 2001 From: Ben Nemec Date: Mon, 3 Nov 2025 16:27:47 -0600 Subject: [PATCH 10/11] Move validation to type and explicitly reference loadBalancer field --- config/v1/types_infrastructure.go | 12 +++++------- ...rator_01_infrastructures-CustomNoUpgrade.crd.yaml | 4 ++-- ...r_01_infrastructures-DevPreviewNoUpgrade.crd.yaml | 4 ++-- ..._01_infrastructures-TechPreviewNoUpgrade.crd.yaml | 4 ++-- .../OnPremDNSRecords.yaml | 4 ++-- config/v1/zz_generated.swagger_doc_generated.go | 2 +- ...fig_01_controllerconfigs-CustomNoUpgrade.crd.yaml | 4 ++-- ...01_controllerconfigs-DevPreviewNoUpgrade.crd.yaml | 4 ++-- ...1_controllerconfigs-TechPreviewNoUpgrade.crd.yaml | 4 ++-- .../OnPremDNSRecords.yaml | 4 ++-- openapi/generated_openapi/zz_generated.openapi.go | 2 +- ...rator_01_infrastructures-CustomNoUpgrade.crd.yaml | 4 ++-- ...r_01_infrastructures-DevPreviewNoUpgrade.crd.yaml | 4 ++-- ..._01_infrastructures-TechPreviewNoUpgrade.crd.yaml | 4 ++-- ...fig_01_controllerconfigs-CustomNoUpgrade.crd.yaml | 4 ++-- ...01_controllerconfigs-DevPreviewNoUpgrade.crd.yaml | 4 ++-- ...1_controllerconfigs-TechPreviewNoUpgrade.crd.yaml | 4 ++-- 17 files changed, 35 insertions(+), 37 deletions(-) diff --git a/config/v1/types_infrastructure.go b/config/v1/types_infrastructure.go index c0df980cbbb..ec790ddfbdd 100644 --- a/config/v1/types_infrastructure.go +++ b/config/v1/types_infrastructure.go @@ -183,6 +183,9 @@ const ( LoadBalancerTypeOpenShiftManagedDefault PlatformLoadBalancerType = "OpenShiftManagedDefault" ) +// DNSRecordsType defines whether api, api-int, and ingress records are provided by +// the internal DNS infrastructure or must be configured external to the cluster. +// +kubebuilder:validation:Enum=Internal;External type DNSRecordsType string const ( @@ -1087,12 +1090,11 @@ type BareMetalPlatformStatus struct { // Allowed values are `Internal`, `External`, and omitted. // When set to `Internal`, records are provided by the internal infrastructure // When set to `External`, records are not provided by the internal infrastructure - // and must be configured by the user. This value may only be set when a - // user-managed loadbalancer is configured. + // and must be configured by the user. This value may only be set when + // loadBalancer.type is set to UserManaged. // When omitted, this means the user has no opinion and the platform is left // to choose reasonable defaults. These defaults are subject to change over time. // The current default is `Internal`. - // +kubebuilder:validation:Enum=Internal;External // +openshift:enable:FeatureGate=OnPremDNSRecords // +optional DNSRecordsType DNSRecordsType `json:"dnsRecordsType,omitempty"` @@ -1240,7 +1242,6 @@ type OpenStackPlatformStatus struct { // When omitted, this means the user has no opinion and the platform is left // to choose reasonable defaults. These defaults are subject to change over time. // The current default is `Internal`. - // +kubebuilder:validation:Enum=Internal;External // +openshift:enable:FeatureGate=OnPremDNSRecords // +optional DNSRecordsType DNSRecordsType `json:"dnsRecordsType,omitempty"` @@ -1337,7 +1338,6 @@ type OvirtPlatformStatus struct { // When omitted, this means the user has no opinion and the platform is left // to choose reasonable defaults. These defaults are subject to change over time. // The current default is `Internal`. - // +kubebuilder:validation:Enum=Internal;External // +openshift:enable:FeatureGate=OnPremDNSRecords // +optional DNSRecordsType DNSRecordsType `json:"dnsRecordsType,omitempty"` @@ -1801,7 +1801,6 @@ type VSpherePlatformStatus struct { // When omitted, this means the user has no opinion and the platform is left // to choose reasonable defaults. These defaults are subject to change over time. // The current default is `Internal`. - // +kubebuilder:validation:Enum=Internal;External // +openshift:enable:FeatureGate=OnPremDNSRecords // +optional DNSRecordsType DNSRecordsType `json:"dnsRecordsType,omitempty"` @@ -2234,7 +2233,6 @@ type NutanixPlatformStatus struct { // When omitted, this means the user has no opinion and the platform is left // to choose reasonable defaults. These defaults are subject to change over time. // The current default is `Internal`. - // +kubebuilder:validation:Enum=Internal;External // +openshift:enable:FeatureGate=OnPremDNSRecords // +optional DNSRecordsType DNSRecordsType `json:"dnsRecordsType,omitempty"` diff --git a/config/v1/zz_generated.crd-manifests/0000_10_config-operator_01_infrastructures-CustomNoUpgrade.crd.yaml b/config/v1/zz_generated.crd-manifests/0000_10_config-operator_01_infrastructures-CustomNoUpgrade.crd.yaml index be3db811a68..5da611d3bb5 100644 --- a/config/v1/zz_generated.crd-manifests/0000_10_config-operator_01_infrastructures-CustomNoUpgrade.crd.yaml +++ b/config/v1/zz_generated.crd-manifests/0000_10_config-operator_01_infrastructures-CustomNoUpgrade.crd.yaml @@ -1677,8 +1677,8 @@ spec: Allowed values are `Internal`, `External`, and omitted. When set to `Internal`, records are provided by the internal infrastructure When set to `External`, records are not provided by the internal infrastructure - and must be configured by the user. This value may only be set when a - user-managed loadbalancer is configured. + and must be configured by the user. This value may only be set when + loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`. diff --git a/config/v1/zz_generated.crd-manifests/0000_10_config-operator_01_infrastructures-DevPreviewNoUpgrade.crd.yaml b/config/v1/zz_generated.crd-manifests/0000_10_config-operator_01_infrastructures-DevPreviewNoUpgrade.crd.yaml index 57cfe58b2e2..ce8a36dbcdc 100644 --- a/config/v1/zz_generated.crd-manifests/0000_10_config-operator_01_infrastructures-DevPreviewNoUpgrade.crd.yaml +++ b/config/v1/zz_generated.crd-manifests/0000_10_config-operator_01_infrastructures-DevPreviewNoUpgrade.crd.yaml @@ -1677,8 +1677,8 @@ spec: Allowed values are `Internal`, `External`, and omitted. When set to `Internal`, records are provided by the internal infrastructure When set to `External`, records are not provided by the internal infrastructure - and must be configured by the user. This value may only be set when a - user-managed loadbalancer is configured. + and must be configured by the user. This value may only be set when + loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`. diff --git a/config/v1/zz_generated.crd-manifests/0000_10_config-operator_01_infrastructures-TechPreviewNoUpgrade.crd.yaml b/config/v1/zz_generated.crd-manifests/0000_10_config-operator_01_infrastructures-TechPreviewNoUpgrade.crd.yaml index 9a64be5533a..ba3a8a2f454 100644 --- a/config/v1/zz_generated.crd-manifests/0000_10_config-operator_01_infrastructures-TechPreviewNoUpgrade.crd.yaml +++ b/config/v1/zz_generated.crd-manifests/0000_10_config-operator_01_infrastructures-TechPreviewNoUpgrade.crd.yaml @@ -1677,8 +1677,8 @@ spec: Allowed values are `Internal`, `External`, and omitted. When set to `Internal`, records are provided by the internal infrastructure When set to `External`, records are not provided by the internal infrastructure - and must be configured by the user. This value may only be set when a - user-managed loadbalancer is configured. + and must be configured by the user. This value may only be set when + loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`. diff --git a/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/OnPremDNSRecords.yaml b/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/OnPremDNSRecords.yaml index 35124c507fc..91cf86c2630 100644 --- a/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/OnPremDNSRecords.yaml +++ b/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/OnPremDNSRecords.yaml @@ -1343,8 +1343,8 @@ spec: Allowed values are `Internal`, `External`, and omitted. When set to `Internal`, records are provided by the internal infrastructure When set to `External`, records are not provided by the internal infrastructure - and must be configured by the user. This value may only be set when a - user-managed loadbalancer is configured. + and must be configured by the user. This value may only be set when + loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`. diff --git a/config/v1/zz_generated.swagger_doc_generated.go b/config/v1/zz_generated.swagger_doc_generated.go index bff747562e5..486f3918864 100644 --- a/config/v1/zz_generated.swagger_doc_generated.go +++ b/config/v1/zz_generated.swagger_doc_generated.go @@ -1527,7 +1527,7 @@ var map_BareMetalPlatformStatus = map[string]string{ "ingressIPs": "ingressIPs are the external IPs which route to the default ingress controller. The IPs are suitable targets of a wildcard DNS record used to resolve default route host names. In dual stack clusters this list contains two IPs otherwise only one.", "nodeDNSIP": "nodeDNSIP is the IP address for the internal DNS used by the nodes. Unlike the one managed by the DNS operator, `NodeDNSIP` provides name resolution for the nodes themselves. There is no DNS-as-a-service for BareMetal deployments. In order to minimize necessary changes to the datacenter DNS, a DNS service is hosted as a static pod to serve those hostnames to the nodes in the cluster.", "loadBalancer": "loadBalancer defines how the load balancer used by the cluster is configured.", - "dnsRecordsType": "dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. When set to `Internal`, records are provided by the internal infrastructure When set to `External`, records are not provided by the internal infrastructure and must be configured by the user. This value may only be set when a user-managed loadbalancer is configured. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`.", + "dnsRecordsType": "dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. When set to `Internal`, records are provided by the internal infrastructure When set to `External`, records are not provided by the internal infrastructure and must be configured by the user. This value may only be set when loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`.", "machineNetworks": "machineNetworks are IP networks used to connect all the OpenShift cluster nodes.", } diff --git a/machineconfiguration/v1/zz_generated.crd-manifests/0000_80_machine-config_01_controllerconfigs-CustomNoUpgrade.crd.yaml b/machineconfiguration/v1/zz_generated.crd-manifests/0000_80_machine-config_01_controllerconfigs-CustomNoUpgrade.crd.yaml index 7a2db8edf1f..6ff1c2bb93e 100644 --- a/machineconfiguration/v1/zz_generated.crd-manifests/0000_80_machine-config_01_controllerconfigs-CustomNoUpgrade.crd.yaml +++ b/machineconfiguration/v1/zz_generated.crd-manifests/0000_80_machine-config_01_controllerconfigs-CustomNoUpgrade.crd.yaml @@ -1966,8 +1966,8 @@ spec: Allowed values are `Internal`, `External`, and omitted. When set to `Internal`, records are provided by the internal infrastructure When set to `External`, records are not provided by the internal infrastructure - and must be configured by the user. This value may only be set when a - user-managed loadbalancer is configured. + and must be configured by the user. This value may only be set when + loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`. diff --git a/machineconfiguration/v1/zz_generated.crd-manifests/0000_80_machine-config_01_controllerconfigs-DevPreviewNoUpgrade.crd.yaml b/machineconfiguration/v1/zz_generated.crd-manifests/0000_80_machine-config_01_controllerconfigs-DevPreviewNoUpgrade.crd.yaml index b51d6a75232..0710a27c651 100644 --- a/machineconfiguration/v1/zz_generated.crd-manifests/0000_80_machine-config_01_controllerconfigs-DevPreviewNoUpgrade.crd.yaml +++ b/machineconfiguration/v1/zz_generated.crd-manifests/0000_80_machine-config_01_controllerconfigs-DevPreviewNoUpgrade.crd.yaml @@ -1966,8 +1966,8 @@ spec: Allowed values are `Internal`, `External`, and omitted. When set to `Internal`, records are provided by the internal infrastructure When set to `External`, records are not provided by the internal infrastructure - and must be configured by the user. This value may only be set when a - user-managed loadbalancer is configured. + and must be configured by the user. This value may only be set when + loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`. diff --git a/machineconfiguration/v1/zz_generated.crd-manifests/0000_80_machine-config_01_controllerconfigs-TechPreviewNoUpgrade.crd.yaml b/machineconfiguration/v1/zz_generated.crd-manifests/0000_80_machine-config_01_controllerconfigs-TechPreviewNoUpgrade.crd.yaml index b1fb88ea736..34c2deb19ee 100644 --- a/machineconfiguration/v1/zz_generated.crd-manifests/0000_80_machine-config_01_controllerconfigs-TechPreviewNoUpgrade.crd.yaml +++ b/machineconfiguration/v1/zz_generated.crd-manifests/0000_80_machine-config_01_controllerconfigs-TechPreviewNoUpgrade.crd.yaml @@ -1966,8 +1966,8 @@ spec: Allowed values are `Internal`, `External`, and omitted. When set to `Internal`, records are provided by the internal infrastructure When set to `External`, records are not provided by the internal infrastructure - and must be configured by the user. This value may only be set when a - user-managed loadbalancer is configured. + and must be configured by the user. This value may only be set when + loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`. diff --git a/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/OnPremDNSRecords.yaml b/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/OnPremDNSRecords.yaml index ca3d0519e69..b0e8c8263cf 100644 --- a/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/OnPremDNSRecords.yaml +++ b/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/OnPremDNSRecords.yaml @@ -1640,8 +1640,8 @@ spec: Allowed values are `Internal`, `External`, and omitted. When set to `Internal`, records are provided by the internal infrastructure When set to `External`, records are not provided by the internal infrastructure - and must be configured by the user. This value may only be set when a - user-managed loadbalancer is configured. + and must be configured by the user. This value may only be set when + loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`. diff --git a/openapi/generated_openapi/zz_generated.openapi.go b/openapi/generated_openapi/zz_generated.openapi.go index 2ba9cf5b5a5..c169eeb8a67 100644 --- a/openapi/generated_openapi/zz_generated.openapi.go +++ b/openapi/generated_openapi/zz_generated.openapi.go @@ -9738,7 +9738,7 @@ func schema_openshift_api_config_v1_BareMetalPlatformStatus(ref common.Reference }, "dnsRecordsType": { SchemaProps: spec.SchemaProps{ - Description: "dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. When set to `Internal`, records are provided by the internal infrastructure When set to `External`, records are not provided by the internal infrastructure and must be configured by the user. This value may only be set when a user-managed loadbalancer is configured. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`.", + Description: "dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. When set to `Internal`, records are provided by the internal infrastructure When set to `External`, records are not provided by the internal infrastructure and must be configured by the user. This value may only be set when loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`.", Type: []string{"string"}, Format: "", }, diff --git a/payload-manifests/crds/0000_10_config-operator_01_infrastructures-CustomNoUpgrade.crd.yaml b/payload-manifests/crds/0000_10_config-operator_01_infrastructures-CustomNoUpgrade.crd.yaml index be3db811a68..5da611d3bb5 100644 --- a/payload-manifests/crds/0000_10_config-operator_01_infrastructures-CustomNoUpgrade.crd.yaml +++ b/payload-manifests/crds/0000_10_config-operator_01_infrastructures-CustomNoUpgrade.crd.yaml @@ -1677,8 +1677,8 @@ spec: Allowed values are `Internal`, `External`, and omitted. When set to `Internal`, records are provided by the internal infrastructure When set to `External`, records are not provided by the internal infrastructure - and must be configured by the user. This value may only be set when a - user-managed loadbalancer is configured. + and must be configured by the user. This value may only be set when + loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`. diff --git a/payload-manifests/crds/0000_10_config-operator_01_infrastructures-DevPreviewNoUpgrade.crd.yaml b/payload-manifests/crds/0000_10_config-operator_01_infrastructures-DevPreviewNoUpgrade.crd.yaml index 57cfe58b2e2..ce8a36dbcdc 100644 --- a/payload-manifests/crds/0000_10_config-operator_01_infrastructures-DevPreviewNoUpgrade.crd.yaml +++ b/payload-manifests/crds/0000_10_config-operator_01_infrastructures-DevPreviewNoUpgrade.crd.yaml @@ -1677,8 +1677,8 @@ spec: Allowed values are `Internal`, `External`, and omitted. When set to `Internal`, records are provided by the internal infrastructure When set to `External`, records are not provided by the internal infrastructure - and must be configured by the user. This value may only be set when a - user-managed loadbalancer is configured. + and must be configured by the user. This value may only be set when + loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`. diff --git a/payload-manifests/crds/0000_10_config-operator_01_infrastructures-TechPreviewNoUpgrade.crd.yaml b/payload-manifests/crds/0000_10_config-operator_01_infrastructures-TechPreviewNoUpgrade.crd.yaml index 9a64be5533a..ba3a8a2f454 100644 --- a/payload-manifests/crds/0000_10_config-operator_01_infrastructures-TechPreviewNoUpgrade.crd.yaml +++ b/payload-manifests/crds/0000_10_config-operator_01_infrastructures-TechPreviewNoUpgrade.crd.yaml @@ -1677,8 +1677,8 @@ spec: Allowed values are `Internal`, `External`, and omitted. When set to `Internal`, records are provided by the internal infrastructure When set to `External`, records are not provided by the internal infrastructure - and must be configured by the user. This value may only be set when a - user-managed loadbalancer is configured. + and must be configured by the user. This value may only be set when + loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`. diff --git a/payload-manifests/crds/0000_80_machine-config_01_controllerconfigs-CustomNoUpgrade.crd.yaml b/payload-manifests/crds/0000_80_machine-config_01_controllerconfigs-CustomNoUpgrade.crd.yaml index 7a2db8edf1f..6ff1c2bb93e 100644 --- a/payload-manifests/crds/0000_80_machine-config_01_controllerconfigs-CustomNoUpgrade.crd.yaml +++ b/payload-manifests/crds/0000_80_machine-config_01_controllerconfigs-CustomNoUpgrade.crd.yaml @@ -1966,8 +1966,8 @@ spec: Allowed values are `Internal`, `External`, and omitted. When set to `Internal`, records are provided by the internal infrastructure When set to `External`, records are not provided by the internal infrastructure - and must be configured by the user. This value may only be set when a - user-managed loadbalancer is configured. + and must be configured by the user. This value may only be set when + loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`. diff --git a/payload-manifests/crds/0000_80_machine-config_01_controllerconfigs-DevPreviewNoUpgrade.crd.yaml b/payload-manifests/crds/0000_80_machine-config_01_controllerconfigs-DevPreviewNoUpgrade.crd.yaml index b51d6a75232..0710a27c651 100644 --- a/payload-manifests/crds/0000_80_machine-config_01_controllerconfigs-DevPreviewNoUpgrade.crd.yaml +++ b/payload-manifests/crds/0000_80_machine-config_01_controllerconfigs-DevPreviewNoUpgrade.crd.yaml @@ -1966,8 +1966,8 @@ spec: Allowed values are `Internal`, `External`, and omitted. When set to `Internal`, records are provided by the internal infrastructure When set to `External`, records are not provided by the internal infrastructure - and must be configured by the user. This value may only be set when a - user-managed loadbalancer is configured. + and must be configured by the user. This value may only be set when + loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`. diff --git a/payload-manifests/crds/0000_80_machine-config_01_controllerconfigs-TechPreviewNoUpgrade.crd.yaml b/payload-manifests/crds/0000_80_machine-config_01_controllerconfigs-TechPreviewNoUpgrade.crd.yaml index b1fb88ea736..34c2deb19ee 100644 --- a/payload-manifests/crds/0000_80_machine-config_01_controllerconfigs-TechPreviewNoUpgrade.crd.yaml +++ b/payload-manifests/crds/0000_80_machine-config_01_controllerconfigs-TechPreviewNoUpgrade.crd.yaml @@ -1966,8 +1966,8 @@ spec: Allowed values are `Internal`, `External`, and omitted. When set to `Internal`, records are provided by the internal infrastructure When set to `External`, records are not provided by the internal infrastructure - and must be configured by the user. This value may only be set when a - user-managed loadbalancer is configured. + and must be configured by the user. This value may only be set when + loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`. From c72fe4d93e6b39e234719b66fb979e1b50e057d3 Mon Sep 17 00:00:00 2001 From: Ben Nemec Date: Wed, 12 Nov 2025 11:17:40 -0600 Subject: [PATCH 11/11] Update godoc to clarify user requirements --- config/v1/types_infrastructure.go | 41 ++++++++++++------- ...1_infrastructures-CustomNoUpgrade.crd.yaml | 40 +++++++++++------- ...frastructures-DevPreviewNoUpgrade.crd.yaml | 40 +++++++++++------- ...rastructures-TechPreviewNoUpgrade.crd.yaml | 40 +++++++++++------- .../OnPremDNSRecords.yaml | 40 +++++++++++------- .../v1/zz_generated.swagger_doc_generated.go | 10 ++--- ...controllerconfigs-CustomNoUpgrade.crd.yaml | 40 +++++++++++------- ...rollerconfigs-DevPreviewNoUpgrade.crd.yaml | 40 +++++++++++------- ...ollerconfigs-TechPreviewNoUpgrade.crd.yaml | 40 +++++++++++------- .../OnPremDNSRecords.yaml | 40 +++++++++++------- .../generated_openapi/zz_generated.openapi.go | 15 ++++--- ...1_infrastructures-CustomNoUpgrade.crd.yaml | 40 +++++++++++------- ...frastructures-DevPreviewNoUpgrade.crd.yaml | 40 +++++++++++------- ...rastructures-TechPreviewNoUpgrade.crd.yaml | 40 +++++++++++------- ...controllerconfigs-CustomNoUpgrade.crd.yaml | 40 +++++++++++------- ...rollerconfigs-DevPreviewNoUpgrade.crd.yaml | 40 +++++++++++------- ...ollerconfigs-TechPreviewNoUpgrade.crd.yaml | 40 +++++++++++------- 17 files changed, 391 insertions(+), 235 deletions(-) diff --git a/config/v1/types_infrastructure.go b/config/v1/types_infrastructure.go index ec790ddfbdd..2f80945d381 100644 --- a/config/v1/types_infrastructure.go +++ b/config/v1/types_infrastructure.go @@ -186,6 +186,7 @@ const ( // DNSRecordsType defines whether api, api-int, and ingress records are provided by // the internal DNS infrastructure or must be configured external to the cluster. // +kubebuilder:validation:Enum=Internal;External +// +enum type DNSRecordsType string const ( @@ -1088,10 +1089,12 @@ type BareMetalPlatformStatus struct { // dnsRecordsType determines whether records for api, api-int, and ingress // are provided by the internal DNS service or externally. // Allowed values are `Internal`, `External`, and omitted. - // When set to `Internal`, records are provided by the internal infrastructure + // When set to `Internal`, records are provided by the internal infrastructure and + // no additional user configuration is required for the cluster to function. // When set to `External`, records are not provided by the internal infrastructure - // and must be configured by the user. This value may only be set when - // loadBalancer.type is set to UserManaged. + // and must be configured by the user on a DNS server outside the cluster. + // Cluster nodes must use this external server for their upstream DNS requests. + // This value may only be set when loadBalancer.type is set to UserManaged. // When omitted, this means the user has no opinion and the platform is left // to choose reasonable defaults. These defaults are subject to change over time. // The current default is `Internal`. @@ -1235,10 +1238,12 @@ type OpenStackPlatformStatus struct { // dnsRecordsType determines whether records for api, api-int, and ingress // are provided by the internal DNS service or externally. // Allowed values are `Internal`, `External`, and omitted. - // When set to `Internal`, records are provided by the internal infrastructure + // When set to `Internal`, records are provided by the internal infrastructure and + // no additional user configuration is required for the cluster to function. // When set to `External`, records are not provided by the internal infrastructure - // and must be configured by the user. This value may only be set when a - // user-managed loadbalancer is configured. + // and must be configured by the user on a DNS server outside the cluster. + // Cluster nodes must use this external server for their upstream DNS requests. + // This value may only be set when loadBalancer.type is set to UserManaged. // When omitted, this means the user has no opinion and the platform is left // to choose reasonable defaults. These defaults are subject to change over time. // The current default is `Internal`. @@ -1331,10 +1336,12 @@ type OvirtPlatformStatus struct { // dnsRecordsType determines whether records for api, api-int, and ingress // are provided by the internal DNS service or externally. // Allowed values are `Internal`, `External`, and omitted. - // When set to `Internal`, records are provided by the internal infrastructure + // When set to `Internal`, records are provided by the internal infrastructure and + // no additional user configuration is required for the cluster to function. // When set to `External`, records are not provided by the internal infrastructure - // and must be configured by the user. This value may only be set when a - // user-managed loadbalancer is configured. + // and must be configured by the user on a DNS server outside the cluster. + // Cluster nodes must use this external server for their upstream DNS requests. + // This value may only be set when loadBalancer.type is set to UserManaged. // When omitted, this means the user has no opinion and the platform is left // to choose reasonable defaults. These defaults are subject to change over time. // The current default is `Internal`. @@ -1794,10 +1801,12 @@ type VSpherePlatformStatus struct { // dnsRecordsType determines whether records for api, api-int, and ingress // are provided by the internal DNS service or externally. // Allowed values are `Internal`, `External`, and omitted. - // When set to `Internal`, records are provided by the internal infrastructure + // When set to `Internal`, records are provided by the internal infrastructure and + // no additional user configuration is required for the cluster to function. // When set to `External`, records are not provided by the internal infrastructure - // and must be configured by the user. This value may only be set when a - // user-managed loadbalancer is configured. + // and must be configured by the user on a DNS server outside the cluster. + // Cluster nodes must use this external server for their upstream DNS requests. + // This value may only be set when loadBalancer.type is set to UserManaged. // When omitted, this means the user has no opinion and the platform is left // to choose reasonable defaults. These defaults are subject to change over time. // The current default is `Internal`. @@ -2226,10 +2235,12 @@ type NutanixPlatformStatus struct { // dnsRecordsType determines whether records for api, api-int, and ingress // are provided by the internal DNS service or externally. // Allowed values are `Internal`, `External`, and omitted. - // When set to `Internal`, records are provided by the internal infrastructure + // When set to `Internal`, records are provided by the internal infrastructure and + // no additional user configuration is required for the cluster to function. // When set to `External`, records are not provided by the internal infrastructure - // and must be configured by the user. This value may only be set when a - // user-managed loadbalancer is configured. + // and must be configured by the user on a DNS server outside the cluster. + // Cluster nodes must use this external server for their upstream DNS requests. + // This value may only be set when loadBalancer.type is set to UserManaged. // When omitted, this means the user has no opinion and the platform is left // to choose reasonable defaults. These defaults are subject to change over time. // The current default is `Internal`. diff --git a/config/v1/zz_generated.crd-manifests/0000_10_config-operator_01_infrastructures-CustomNoUpgrade.crd.yaml b/config/v1/zz_generated.crd-manifests/0000_10_config-operator_01_infrastructures-CustomNoUpgrade.crd.yaml index 5da611d3bb5..85875e8a347 100644 --- a/config/v1/zz_generated.crd-manifests/0000_10_config-operator_01_infrastructures-CustomNoUpgrade.crd.yaml +++ b/config/v1/zz_generated.crd-manifests/0000_10_config-operator_01_infrastructures-CustomNoUpgrade.crd.yaml @@ -1675,10 +1675,12 @@ spec: dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. - When set to `Internal`, records are provided by the internal infrastructure + When set to `Internal`, records are provided by the internal infrastructure and + no additional user configuration is required for the cluster to function. When set to `External`, records are not provided by the internal infrastructure - and must be configured by the user. This value may only be set when - loadBalancer.type is set to UserManaged. + and must be configured by the user on a DNS server outside the cluster. + Cluster nodes must use this external server for their upstream DNS requests. + This value may only be set when loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`. @@ -2252,10 +2254,12 @@ spec: dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. - When set to `Internal`, records are provided by the internal infrastructure + When set to `Internal`, records are provided by the internal infrastructure and + no additional user configuration is required for the cluster to function. When set to `External`, records are not provided by the internal infrastructure - and must be configured by the user. This value may only be set when a - user-managed loadbalancer is configured. + and must be configured by the user on a DNS server outside the cluster. + Cluster nodes must use this external server for their upstream DNS requests. + This value may only be set when loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`. @@ -2362,10 +2366,12 @@ spec: dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. - When set to `Internal`, records are provided by the internal infrastructure + When set to `Internal`, records are provided by the internal infrastructure and + no additional user configuration is required for the cluster to function. When set to `External`, records are not provided by the internal infrastructure - and must be configured by the user. This value may only be set when a - user-managed loadbalancer is configured. + and must be configured by the user on a DNS server outside the cluster. + Cluster nodes must use this external server for their upstream DNS requests. + This value may only be set when loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`. @@ -2493,10 +2499,12 @@ spec: dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. - When set to `Internal`, records are provided by the internal infrastructure + When set to `Internal`, records are provided by the internal infrastructure and + no additional user configuration is required for the cluster to function. When set to `External`, records are not provided by the internal infrastructure - and must be configured by the user. This value may only be set when a - user-managed loadbalancer is configured. + and must be configured by the user on a DNS server outside the cluster. + Cluster nodes must use this external server for their upstream DNS requests. + This value may only be set when loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`. @@ -2722,10 +2730,12 @@ spec: dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. - When set to `Internal`, records are provided by the internal infrastructure + When set to `Internal`, records are provided by the internal infrastructure and + no additional user configuration is required for the cluster to function. When set to `External`, records are not provided by the internal infrastructure - and must be configured by the user. This value may only be set when a - user-managed loadbalancer is configured. + and must be configured by the user on a DNS server outside the cluster. + Cluster nodes must use this external server for their upstream DNS requests. + This value may only be set when loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`. diff --git a/config/v1/zz_generated.crd-manifests/0000_10_config-operator_01_infrastructures-DevPreviewNoUpgrade.crd.yaml b/config/v1/zz_generated.crd-manifests/0000_10_config-operator_01_infrastructures-DevPreviewNoUpgrade.crd.yaml index ce8a36dbcdc..f3dd3c3247d 100644 --- a/config/v1/zz_generated.crd-manifests/0000_10_config-operator_01_infrastructures-DevPreviewNoUpgrade.crd.yaml +++ b/config/v1/zz_generated.crd-manifests/0000_10_config-operator_01_infrastructures-DevPreviewNoUpgrade.crd.yaml @@ -1675,10 +1675,12 @@ spec: dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. - When set to `Internal`, records are provided by the internal infrastructure + When set to `Internal`, records are provided by the internal infrastructure and + no additional user configuration is required for the cluster to function. When set to `External`, records are not provided by the internal infrastructure - and must be configured by the user. This value may only be set when - loadBalancer.type is set to UserManaged. + and must be configured by the user on a DNS server outside the cluster. + Cluster nodes must use this external server for their upstream DNS requests. + This value may only be set when loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`. @@ -2252,10 +2254,12 @@ spec: dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. - When set to `Internal`, records are provided by the internal infrastructure + When set to `Internal`, records are provided by the internal infrastructure and + no additional user configuration is required for the cluster to function. When set to `External`, records are not provided by the internal infrastructure - and must be configured by the user. This value may only be set when a - user-managed loadbalancer is configured. + and must be configured by the user on a DNS server outside the cluster. + Cluster nodes must use this external server for their upstream DNS requests. + This value may only be set when loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`. @@ -2362,10 +2366,12 @@ spec: dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. - When set to `Internal`, records are provided by the internal infrastructure + When set to `Internal`, records are provided by the internal infrastructure and + no additional user configuration is required for the cluster to function. When set to `External`, records are not provided by the internal infrastructure - and must be configured by the user. This value may only be set when a - user-managed loadbalancer is configured. + and must be configured by the user on a DNS server outside the cluster. + Cluster nodes must use this external server for their upstream DNS requests. + This value may only be set when loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`. @@ -2493,10 +2499,12 @@ spec: dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. - When set to `Internal`, records are provided by the internal infrastructure + When set to `Internal`, records are provided by the internal infrastructure and + no additional user configuration is required for the cluster to function. When set to `External`, records are not provided by the internal infrastructure - and must be configured by the user. This value may only be set when a - user-managed loadbalancer is configured. + and must be configured by the user on a DNS server outside the cluster. + Cluster nodes must use this external server for their upstream DNS requests. + This value may only be set when loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`. @@ -2722,10 +2730,12 @@ spec: dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. - When set to `Internal`, records are provided by the internal infrastructure + When set to `Internal`, records are provided by the internal infrastructure and + no additional user configuration is required for the cluster to function. When set to `External`, records are not provided by the internal infrastructure - and must be configured by the user. This value may only be set when a - user-managed loadbalancer is configured. + and must be configured by the user on a DNS server outside the cluster. + Cluster nodes must use this external server for their upstream DNS requests. + This value may only be set when loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`. diff --git a/config/v1/zz_generated.crd-manifests/0000_10_config-operator_01_infrastructures-TechPreviewNoUpgrade.crd.yaml b/config/v1/zz_generated.crd-manifests/0000_10_config-operator_01_infrastructures-TechPreviewNoUpgrade.crd.yaml index ba3a8a2f454..99b975aeeec 100644 --- a/config/v1/zz_generated.crd-manifests/0000_10_config-operator_01_infrastructures-TechPreviewNoUpgrade.crd.yaml +++ b/config/v1/zz_generated.crd-manifests/0000_10_config-operator_01_infrastructures-TechPreviewNoUpgrade.crd.yaml @@ -1675,10 +1675,12 @@ spec: dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. - When set to `Internal`, records are provided by the internal infrastructure + When set to `Internal`, records are provided by the internal infrastructure and + no additional user configuration is required for the cluster to function. When set to `External`, records are not provided by the internal infrastructure - and must be configured by the user. This value may only be set when - loadBalancer.type is set to UserManaged. + and must be configured by the user on a DNS server outside the cluster. + Cluster nodes must use this external server for their upstream DNS requests. + This value may only be set when loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`. @@ -2252,10 +2254,12 @@ spec: dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. - When set to `Internal`, records are provided by the internal infrastructure + When set to `Internal`, records are provided by the internal infrastructure and + no additional user configuration is required for the cluster to function. When set to `External`, records are not provided by the internal infrastructure - and must be configured by the user. This value may only be set when a - user-managed loadbalancer is configured. + and must be configured by the user on a DNS server outside the cluster. + Cluster nodes must use this external server for their upstream DNS requests. + This value may only be set when loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`. @@ -2362,10 +2366,12 @@ spec: dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. - When set to `Internal`, records are provided by the internal infrastructure + When set to `Internal`, records are provided by the internal infrastructure and + no additional user configuration is required for the cluster to function. When set to `External`, records are not provided by the internal infrastructure - and must be configured by the user. This value may only be set when a - user-managed loadbalancer is configured. + and must be configured by the user on a DNS server outside the cluster. + Cluster nodes must use this external server for their upstream DNS requests. + This value may only be set when loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`. @@ -2493,10 +2499,12 @@ spec: dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. - When set to `Internal`, records are provided by the internal infrastructure + When set to `Internal`, records are provided by the internal infrastructure and + no additional user configuration is required for the cluster to function. When set to `External`, records are not provided by the internal infrastructure - and must be configured by the user. This value may only be set when a - user-managed loadbalancer is configured. + and must be configured by the user on a DNS server outside the cluster. + Cluster nodes must use this external server for their upstream DNS requests. + This value may only be set when loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`. @@ -2722,10 +2730,12 @@ spec: dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. - When set to `Internal`, records are provided by the internal infrastructure + When set to `Internal`, records are provided by the internal infrastructure and + no additional user configuration is required for the cluster to function. When set to `External`, records are not provided by the internal infrastructure - and must be configured by the user. This value may only be set when a - user-managed loadbalancer is configured. + and must be configured by the user on a DNS server outside the cluster. + Cluster nodes must use this external server for their upstream DNS requests. + This value may only be set when loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`. diff --git a/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/OnPremDNSRecords.yaml b/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/OnPremDNSRecords.yaml index 91cf86c2630..40654b1af1e 100644 --- a/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/OnPremDNSRecords.yaml +++ b/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/OnPremDNSRecords.yaml @@ -1341,10 +1341,12 @@ spec: dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. - When set to `Internal`, records are provided by the internal infrastructure + When set to `Internal`, records are provided by the internal infrastructure and + no additional user configuration is required for the cluster to function. When set to `External`, records are not provided by the internal infrastructure - and must be configured by the user. This value may only be set when - loadBalancer.type is set to UserManaged. + and must be configured by the user on a DNS server outside the cluster. + Cluster nodes must use this external server for their upstream DNS requests. + This value may only be set when loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`. @@ -1745,10 +1747,12 @@ spec: dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. - When set to `Internal`, records are provided by the internal infrastructure + When set to `Internal`, records are provided by the internal infrastructure and + no additional user configuration is required for the cluster to function. When set to `External`, records are not provided by the internal infrastructure - and must be configured by the user. This value may only be set when a - user-managed loadbalancer is configured. + and must be configured by the user on a DNS server outside the cluster. + Cluster nodes must use this external server for their upstream DNS requests. + This value may only be set when loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`. @@ -1855,10 +1859,12 @@ spec: dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. - When set to `Internal`, records are provided by the internal infrastructure + When set to `Internal`, records are provided by the internal infrastructure and + no additional user configuration is required for the cluster to function. When set to `External`, records are not provided by the internal infrastructure - and must be configured by the user. This value may only be set when a - user-managed loadbalancer is configured. + and must be configured by the user on a DNS server outside the cluster. + Cluster nodes must use this external server for their upstream DNS requests. + This value may only be set when loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`. @@ -1986,10 +1992,12 @@ spec: dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. - When set to `Internal`, records are provided by the internal infrastructure + When set to `Internal`, records are provided by the internal infrastructure and + no additional user configuration is required for the cluster to function. When set to `External`, records are not provided by the internal infrastructure - and must be configured by the user. This value may only be set when a - user-managed loadbalancer is configured. + and must be configured by the user on a DNS server outside the cluster. + Cluster nodes must use this external server for their upstream DNS requests. + This value may only be set when loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`. @@ -2215,10 +2223,12 @@ spec: dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. - When set to `Internal`, records are provided by the internal infrastructure + When set to `Internal`, records are provided by the internal infrastructure and + no additional user configuration is required for the cluster to function. When set to `External`, records are not provided by the internal infrastructure - and must be configured by the user. This value may only be set when a - user-managed loadbalancer is configured. + and must be configured by the user on a DNS server outside the cluster. + Cluster nodes must use this external server for their upstream DNS requests. + This value may only be set when loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`. diff --git a/config/v1/zz_generated.swagger_doc_generated.go b/config/v1/zz_generated.swagger_doc_generated.go index 486f3918864..b9d0799fbdf 100644 --- a/config/v1/zz_generated.swagger_doc_generated.go +++ b/config/v1/zz_generated.swagger_doc_generated.go @@ -1527,7 +1527,7 @@ var map_BareMetalPlatformStatus = map[string]string{ "ingressIPs": "ingressIPs are the external IPs which route to the default ingress controller. The IPs are suitable targets of a wildcard DNS record used to resolve default route host names. In dual stack clusters this list contains two IPs otherwise only one.", "nodeDNSIP": "nodeDNSIP is the IP address for the internal DNS used by the nodes. Unlike the one managed by the DNS operator, `NodeDNSIP` provides name resolution for the nodes themselves. There is no DNS-as-a-service for BareMetal deployments. In order to minimize necessary changes to the datacenter DNS, a DNS service is hosted as a static pod to serve those hostnames to the nodes in the cluster.", "loadBalancer": "loadBalancer defines how the load balancer used by the cluster is configured.", - "dnsRecordsType": "dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. When set to `Internal`, records are provided by the internal infrastructure When set to `External`, records are not provided by the internal infrastructure and must be configured by the user. This value may only be set when loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`.", + "dnsRecordsType": "dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. When set to `Internal`, records are provided by the internal infrastructure and no additional user configuration is required for the cluster to function. When set to `External`, records are not provided by the internal infrastructure and must be configured by the user on a DNS server outside the cluster. Cluster nodes must use this external server for their upstream DNS requests. This value may only be set when loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`.", "machineNetworks": "machineNetworks are IP networks used to connect all the OpenShift cluster nodes.", } @@ -1790,7 +1790,7 @@ var map_NutanixPlatformStatus = map[string]string{ "ingressIP": "ingressIP is an external IP which routes to the default ingress controller. The IP is a suitable target of a wildcard DNS record used to resolve default route host names.\n\nDeprecated: Use IngressIPs instead.", "ingressIPs": "ingressIPs are the external IPs which route to the default ingress controller. The IPs are suitable targets of a wildcard DNS record used to resolve default route host names. In dual stack clusters this list contains two IPs otherwise only one.", "loadBalancer": "loadBalancer defines how the load balancer used by the cluster is configured.", - "dnsRecordsType": "dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. When set to `Internal`, records are provided by the internal infrastructure When set to `External`, records are not provided by the internal infrastructure and must be configured by the user. This value may only be set when a user-managed loadbalancer is configured. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`.", + "dnsRecordsType": "dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. When set to `Internal`, records are provided by the internal infrastructure and no additional user configuration is required for the cluster to function. When set to `External`, records are not provided by the internal infrastructure and must be configured by the user on a DNS server outside the cluster. Cluster nodes must use this external server for their upstream DNS requests. This value may only be set when loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`.", } func (NutanixPlatformStatus) SwaggerDoc() map[string]string { @@ -1857,7 +1857,7 @@ var map_OpenStackPlatformStatus = map[string]string{ "ingressIPs": "ingressIPs are the external IPs which route to the default ingress controller. The IPs are suitable targets of a wildcard DNS record used to resolve default route host names. In dual stack clusters this list contains two IPs otherwise only one.", "nodeDNSIP": "nodeDNSIP is the IP address for the internal DNS used by the nodes. Unlike the one managed by the DNS operator, `NodeDNSIP` provides name resolution for the nodes themselves. There is no DNS-as-a-service for OpenStack deployments. In order to minimize necessary changes to the datacenter DNS, a DNS service is hosted as a static pod to serve those hostnames to the nodes in the cluster.", "loadBalancer": "loadBalancer defines how the load balancer used by the cluster is configured.", - "dnsRecordsType": "dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. When set to `Internal`, records are provided by the internal infrastructure When set to `External`, records are not provided by the internal infrastructure and must be configured by the user. This value may only be set when a user-managed loadbalancer is configured. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`.", + "dnsRecordsType": "dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. When set to `Internal`, records are provided by the internal infrastructure and no additional user configuration is required for the cluster to function. When set to `External`, records are not provided by the internal infrastructure and must be configured by the user on a DNS server outside the cluster. Cluster nodes must use this external server for their upstream DNS requests. This value may only be set when loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`.", "machineNetworks": "machineNetworks are IP networks used to connect all the OpenShift cluster nodes.", } @@ -1890,7 +1890,7 @@ var map_OvirtPlatformStatus = map[string]string{ "ingressIPs": "ingressIPs are the external IPs which route to the default ingress controller. The IPs are suitable targets of a wildcard DNS record used to resolve default route host names. In dual stack clusters this list contains two IPs otherwise only one.", "nodeDNSIP": "deprecated: as of 4.6, this field is no longer set or honored. It will be removed in a future release.", "loadBalancer": "loadBalancer defines how the load balancer used by the cluster is configured.", - "dnsRecordsType": "dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. When set to `Internal`, records are provided by the internal infrastructure When set to `External`, records are not provided by the internal infrastructure and must be configured by the user. This value may only be set when a user-managed loadbalancer is configured. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`.", + "dnsRecordsType": "dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. When set to `Internal`, records are provided by the internal infrastructure and no additional user configuration is required for the cluster to function. When set to `External`, records are not provided by the internal infrastructure and must be configured by the user on a DNS server outside the cluster. Cluster nodes must use this external server for their upstream DNS requests. This value may only be set when loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`.", } func (OvirtPlatformStatus) SwaggerDoc() map[string]string { @@ -2073,7 +2073,7 @@ var map_VSpherePlatformStatus = map[string]string{ "ingressIPs": "ingressIPs are the external IPs which route to the default ingress controller. The IPs are suitable targets of a wildcard DNS record used to resolve default route host names. In dual stack clusters this list contains two IPs otherwise only one.", "nodeDNSIP": "nodeDNSIP is the IP address for the internal DNS used by the nodes. Unlike the one managed by the DNS operator, `NodeDNSIP` provides name resolution for the nodes themselves. There is no DNS-as-a-service for vSphere deployments. In order to minimize necessary changes to the datacenter DNS, a DNS service is hosted as a static pod to serve those hostnames to the nodes in the cluster.", "loadBalancer": "loadBalancer defines how the load balancer used by the cluster is configured.", - "dnsRecordsType": "dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. When set to `Internal`, records are provided by the internal infrastructure When set to `External`, records are not provided by the internal infrastructure and must be configured by the user. This value may only be set when a user-managed loadbalancer is configured. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`.", + "dnsRecordsType": "dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. When set to `Internal`, records are provided by the internal infrastructure and no additional user configuration is required for the cluster to function. When set to `External`, records are not provided by the internal infrastructure and must be configured by the user on a DNS server outside the cluster. Cluster nodes must use this external server for their upstream DNS requests. This value may only be set when loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`.", "machineNetworks": "machineNetworks are IP networks used to connect all the OpenShift cluster nodes.", } diff --git a/machineconfiguration/v1/zz_generated.crd-manifests/0000_80_machine-config_01_controllerconfigs-CustomNoUpgrade.crd.yaml b/machineconfiguration/v1/zz_generated.crd-manifests/0000_80_machine-config_01_controllerconfigs-CustomNoUpgrade.crd.yaml index 6ff1c2bb93e..425536913fd 100644 --- a/machineconfiguration/v1/zz_generated.crd-manifests/0000_80_machine-config_01_controllerconfigs-CustomNoUpgrade.crd.yaml +++ b/machineconfiguration/v1/zz_generated.crd-manifests/0000_80_machine-config_01_controllerconfigs-CustomNoUpgrade.crd.yaml @@ -1964,10 +1964,12 @@ spec: dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. - When set to `Internal`, records are provided by the internal infrastructure + When set to `Internal`, records are provided by the internal infrastructure and + no additional user configuration is required for the cluster to function. When set to `External`, records are not provided by the internal infrastructure - and must be configured by the user. This value may only be set when - loadBalancer.type is set to UserManaged. + and must be configured by the user on a DNS server outside the cluster. + Cluster nodes must use this external server for their upstream DNS requests. + This value may only be set when loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`. @@ -2549,10 +2551,12 @@ spec: dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. - When set to `Internal`, records are provided by the internal infrastructure + When set to `Internal`, records are provided by the internal infrastructure and + no additional user configuration is required for the cluster to function. When set to `External`, records are not provided by the internal infrastructure - and must be configured by the user. This value may only be set when a - user-managed loadbalancer is configured. + and must be configured by the user on a DNS server outside the cluster. + Cluster nodes must use this external server for their upstream DNS requests. + This value may only be set when loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`. @@ -2660,10 +2664,12 @@ spec: dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. - When set to `Internal`, records are provided by the internal infrastructure + When set to `Internal`, records are provided by the internal infrastructure and + no additional user configuration is required for the cluster to function. When set to `External`, records are not provided by the internal infrastructure - and must be configured by the user. This value may only be set when a - user-managed loadbalancer is configured. + and must be configured by the user on a DNS server outside the cluster. + Cluster nodes must use this external server for their upstream DNS requests. + This value may only be set when loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`. @@ -2792,10 +2798,12 @@ spec: dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. - When set to `Internal`, records are provided by the internal infrastructure + When set to `Internal`, records are provided by the internal infrastructure and + no additional user configuration is required for the cluster to function. When set to `External`, records are not provided by the internal infrastructure - and must be configured by the user. This value may only be set when a - user-managed loadbalancer is configured. + and must be configured by the user on a DNS server outside the cluster. + Cluster nodes must use this external server for their upstream DNS requests. + This value may only be set when loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`. @@ -3023,10 +3031,12 @@ spec: dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. - When set to `Internal`, records are provided by the internal infrastructure + When set to `Internal`, records are provided by the internal infrastructure and + no additional user configuration is required for the cluster to function. When set to `External`, records are not provided by the internal infrastructure - and must be configured by the user. This value may only be set when a - user-managed loadbalancer is configured. + and must be configured by the user on a DNS server outside the cluster. + Cluster nodes must use this external server for their upstream DNS requests. + This value may only be set when loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`. diff --git a/machineconfiguration/v1/zz_generated.crd-manifests/0000_80_machine-config_01_controllerconfigs-DevPreviewNoUpgrade.crd.yaml b/machineconfiguration/v1/zz_generated.crd-manifests/0000_80_machine-config_01_controllerconfigs-DevPreviewNoUpgrade.crd.yaml index 0710a27c651..84652accb85 100644 --- a/machineconfiguration/v1/zz_generated.crd-manifests/0000_80_machine-config_01_controllerconfigs-DevPreviewNoUpgrade.crd.yaml +++ b/machineconfiguration/v1/zz_generated.crd-manifests/0000_80_machine-config_01_controllerconfigs-DevPreviewNoUpgrade.crd.yaml @@ -1964,10 +1964,12 @@ spec: dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. - When set to `Internal`, records are provided by the internal infrastructure + When set to `Internal`, records are provided by the internal infrastructure and + no additional user configuration is required for the cluster to function. When set to `External`, records are not provided by the internal infrastructure - and must be configured by the user. This value may only be set when - loadBalancer.type is set to UserManaged. + and must be configured by the user on a DNS server outside the cluster. + Cluster nodes must use this external server for their upstream DNS requests. + This value may only be set when loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`. @@ -2549,10 +2551,12 @@ spec: dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. - When set to `Internal`, records are provided by the internal infrastructure + When set to `Internal`, records are provided by the internal infrastructure and + no additional user configuration is required for the cluster to function. When set to `External`, records are not provided by the internal infrastructure - and must be configured by the user. This value may only be set when a - user-managed loadbalancer is configured. + and must be configured by the user on a DNS server outside the cluster. + Cluster nodes must use this external server for their upstream DNS requests. + This value may only be set when loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`. @@ -2660,10 +2664,12 @@ spec: dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. - When set to `Internal`, records are provided by the internal infrastructure + When set to `Internal`, records are provided by the internal infrastructure and + no additional user configuration is required for the cluster to function. When set to `External`, records are not provided by the internal infrastructure - and must be configured by the user. This value may only be set when a - user-managed loadbalancer is configured. + and must be configured by the user on a DNS server outside the cluster. + Cluster nodes must use this external server for their upstream DNS requests. + This value may only be set when loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`. @@ -2792,10 +2798,12 @@ spec: dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. - When set to `Internal`, records are provided by the internal infrastructure + When set to `Internal`, records are provided by the internal infrastructure and + no additional user configuration is required for the cluster to function. When set to `External`, records are not provided by the internal infrastructure - and must be configured by the user. This value may only be set when a - user-managed loadbalancer is configured. + and must be configured by the user on a DNS server outside the cluster. + Cluster nodes must use this external server for their upstream DNS requests. + This value may only be set when loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`. @@ -3023,10 +3031,12 @@ spec: dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. - When set to `Internal`, records are provided by the internal infrastructure + When set to `Internal`, records are provided by the internal infrastructure and + no additional user configuration is required for the cluster to function. When set to `External`, records are not provided by the internal infrastructure - and must be configured by the user. This value may only be set when a - user-managed loadbalancer is configured. + and must be configured by the user on a DNS server outside the cluster. + Cluster nodes must use this external server for their upstream DNS requests. + This value may only be set when loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`. diff --git a/machineconfiguration/v1/zz_generated.crd-manifests/0000_80_machine-config_01_controllerconfigs-TechPreviewNoUpgrade.crd.yaml b/machineconfiguration/v1/zz_generated.crd-manifests/0000_80_machine-config_01_controllerconfigs-TechPreviewNoUpgrade.crd.yaml index 34c2deb19ee..d6eccf009d4 100644 --- a/machineconfiguration/v1/zz_generated.crd-manifests/0000_80_machine-config_01_controllerconfigs-TechPreviewNoUpgrade.crd.yaml +++ b/machineconfiguration/v1/zz_generated.crd-manifests/0000_80_machine-config_01_controllerconfigs-TechPreviewNoUpgrade.crd.yaml @@ -1964,10 +1964,12 @@ spec: dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. - When set to `Internal`, records are provided by the internal infrastructure + When set to `Internal`, records are provided by the internal infrastructure and + no additional user configuration is required for the cluster to function. When set to `External`, records are not provided by the internal infrastructure - and must be configured by the user. This value may only be set when - loadBalancer.type is set to UserManaged. + and must be configured by the user on a DNS server outside the cluster. + Cluster nodes must use this external server for their upstream DNS requests. + This value may only be set when loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`. @@ -2549,10 +2551,12 @@ spec: dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. - When set to `Internal`, records are provided by the internal infrastructure + When set to `Internal`, records are provided by the internal infrastructure and + no additional user configuration is required for the cluster to function. When set to `External`, records are not provided by the internal infrastructure - and must be configured by the user. This value may only be set when a - user-managed loadbalancer is configured. + and must be configured by the user on a DNS server outside the cluster. + Cluster nodes must use this external server for their upstream DNS requests. + This value may only be set when loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`. @@ -2660,10 +2664,12 @@ spec: dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. - When set to `Internal`, records are provided by the internal infrastructure + When set to `Internal`, records are provided by the internal infrastructure and + no additional user configuration is required for the cluster to function. When set to `External`, records are not provided by the internal infrastructure - and must be configured by the user. This value may only be set when a - user-managed loadbalancer is configured. + and must be configured by the user on a DNS server outside the cluster. + Cluster nodes must use this external server for their upstream DNS requests. + This value may only be set when loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`. @@ -2792,10 +2798,12 @@ spec: dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. - When set to `Internal`, records are provided by the internal infrastructure + When set to `Internal`, records are provided by the internal infrastructure and + no additional user configuration is required for the cluster to function. When set to `External`, records are not provided by the internal infrastructure - and must be configured by the user. This value may only be set when a - user-managed loadbalancer is configured. + and must be configured by the user on a DNS server outside the cluster. + Cluster nodes must use this external server for their upstream DNS requests. + This value may only be set when loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`. @@ -3023,10 +3031,12 @@ spec: dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. - When set to `Internal`, records are provided by the internal infrastructure + When set to `Internal`, records are provided by the internal infrastructure and + no additional user configuration is required for the cluster to function. When set to `External`, records are not provided by the internal infrastructure - and must be configured by the user. This value may only be set when a - user-managed loadbalancer is configured. + and must be configured by the user on a DNS server outside the cluster. + Cluster nodes must use this external server for their upstream DNS requests. + This value may only be set when loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`. diff --git a/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/OnPremDNSRecords.yaml b/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/OnPremDNSRecords.yaml index b0e8c8263cf..9950318768d 100644 --- a/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/OnPremDNSRecords.yaml +++ b/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/OnPremDNSRecords.yaml @@ -1638,10 +1638,12 @@ spec: dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. - When set to `Internal`, records are provided by the internal infrastructure + When set to `Internal`, records are provided by the internal infrastructure and + no additional user configuration is required for the cluster to function. When set to `External`, records are not provided by the internal infrastructure - and must be configured by the user. This value may only be set when - loadBalancer.type is set to UserManaged. + and must be configured by the user on a DNS server outside the cluster. + Cluster nodes must use this external server for their upstream DNS requests. + This value may only be set when loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`. @@ -2050,10 +2052,12 @@ spec: dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. - When set to `Internal`, records are provided by the internal infrastructure + When set to `Internal`, records are provided by the internal infrastructure and + no additional user configuration is required for the cluster to function. When set to `External`, records are not provided by the internal infrastructure - and must be configured by the user. This value may only be set when a - user-managed loadbalancer is configured. + and must be configured by the user on a DNS server outside the cluster. + Cluster nodes must use this external server for their upstream DNS requests. + This value may only be set when loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`. @@ -2161,10 +2165,12 @@ spec: dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. - When set to `Internal`, records are provided by the internal infrastructure + When set to `Internal`, records are provided by the internal infrastructure and + no additional user configuration is required for the cluster to function. When set to `External`, records are not provided by the internal infrastructure - and must be configured by the user. This value may only be set when a - user-managed loadbalancer is configured. + and must be configured by the user on a DNS server outside the cluster. + Cluster nodes must use this external server for their upstream DNS requests. + This value may only be set when loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`. @@ -2293,10 +2299,12 @@ spec: dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. - When set to `Internal`, records are provided by the internal infrastructure + When set to `Internal`, records are provided by the internal infrastructure and + no additional user configuration is required for the cluster to function. When set to `External`, records are not provided by the internal infrastructure - and must be configured by the user. This value may only be set when a - user-managed loadbalancer is configured. + and must be configured by the user on a DNS server outside the cluster. + Cluster nodes must use this external server for their upstream DNS requests. + This value may only be set when loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`. @@ -2524,10 +2532,12 @@ spec: dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. - When set to `Internal`, records are provided by the internal infrastructure + When set to `Internal`, records are provided by the internal infrastructure and + no additional user configuration is required for the cluster to function. When set to `External`, records are not provided by the internal infrastructure - and must be configured by the user. This value may only be set when a - user-managed loadbalancer is configured. + and must be configured by the user on a DNS server outside the cluster. + Cluster nodes must use this external server for their upstream DNS requests. + This value may only be set when loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`. diff --git a/openapi/generated_openapi/zz_generated.openapi.go b/openapi/generated_openapi/zz_generated.openapi.go index c169eeb8a67..f9bb752de49 100644 --- a/openapi/generated_openapi/zz_generated.openapi.go +++ b/openapi/generated_openapi/zz_generated.openapi.go @@ -9738,9 +9738,10 @@ func schema_openshift_api_config_v1_BareMetalPlatformStatus(ref common.Reference }, "dnsRecordsType": { SchemaProps: spec.SchemaProps{ - Description: "dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. When set to `Internal`, records are provided by the internal infrastructure When set to `External`, records are not provided by the internal infrastructure and must be configured by the user. This value may only be set when loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`.", + Description: "dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. When set to `Internal`, records are provided by the internal infrastructure and no additional user configuration is required for the cluster to function. When set to `External`, records are not provided by the internal infrastructure and must be configured by the user on a DNS server outside the cluster. Cluster nodes must use this external server for their upstream DNS requests. This value may only be set when loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`.\n\nPossible enum values:\n - `\"External\"`\n - `\"Internal\"`", Type: []string{"string"}, Format: "", + Enum: []interface{}{"External", "Internal"}, }, }, "machineNetworks": { @@ -16844,9 +16845,10 @@ func schema_openshift_api_config_v1_NutanixPlatformStatus(ref common.ReferenceCa }, "dnsRecordsType": { SchemaProps: spec.SchemaProps{ - Description: "dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. When set to `Internal`, records are provided by the internal infrastructure When set to `External`, records are not provided by the internal infrastructure and must be configured by the user. This value may only be set when a user-managed loadbalancer is configured. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`.", + Description: "dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. When set to `Internal`, records are provided by the internal infrastructure and no additional user configuration is required for the cluster to function. When set to `External`, records are not provided by the internal infrastructure and must be configured by the user on a DNS server outside the cluster. Cluster nodes must use this external server for their upstream DNS requests. This value may only be set when loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`.\n\nPossible enum values:\n - `\"External\"`\n - `\"Internal\"`", Type: []string{"string"}, Format: "", + Enum: []interface{}{"External", "Internal"}, }, }, }, @@ -17912,9 +17914,10 @@ func schema_openshift_api_config_v1_OpenStackPlatformStatus(ref common.Reference }, "dnsRecordsType": { SchemaProps: spec.SchemaProps{ - Description: "dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. When set to `Internal`, records are provided by the internal infrastructure When set to `External`, records are not provided by the internal infrastructure and must be configured by the user. This value may only be set when a user-managed loadbalancer is configured. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`.", + Description: "dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. When set to `Internal`, records are provided by the internal infrastructure and no additional user configuration is required for the cluster to function. When set to `External`, records are not provided by the internal infrastructure and must be configured by the user on a DNS server outside the cluster. Cluster nodes must use this external server for their upstream DNS requests. This value may only be set when loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`.\n\nPossible enum values:\n - `\"External\"`\n - `\"Internal\"`", Type: []string{"string"}, Format: "", + Enum: []interface{}{"External", "Internal"}, }, }, "machineNetworks": { @@ -18258,9 +18261,10 @@ func schema_openshift_api_config_v1_OvirtPlatformStatus(ref common.ReferenceCall }, "dnsRecordsType": { SchemaProps: spec.SchemaProps{ - Description: "dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. When set to `Internal`, records are provided by the internal infrastructure When set to `External`, records are not provided by the internal infrastructure and must be configured by the user. This value may only be set when a user-managed loadbalancer is configured. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`.", + Description: "dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. When set to `Internal`, records are provided by the internal infrastructure and no additional user configuration is required for the cluster to function. When set to `External`, records are not provided by the internal infrastructure and must be configured by the user on a DNS server outside the cluster. Cluster nodes must use this external server for their upstream DNS requests. This value may only be set when loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`.\n\nPossible enum values:\n - `\"External\"`\n - `\"Internal\"`", Type: []string{"string"}, Format: "", + Enum: []interface{}{"External", "Internal"}, }, }, }, @@ -21458,9 +21462,10 @@ func schema_openshift_api_config_v1_VSpherePlatformStatus(ref common.ReferenceCa }, "dnsRecordsType": { SchemaProps: spec.SchemaProps{ - Description: "dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. When set to `Internal`, records are provided by the internal infrastructure When set to `External`, records are not provided by the internal infrastructure and must be configured by the user. This value may only be set when a user-managed loadbalancer is configured. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`.", + Description: "dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. When set to `Internal`, records are provided by the internal infrastructure and no additional user configuration is required for the cluster to function. When set to `External`, records are not provided by the internal infrastructure and must be configured by the user on a DNS server outside the cluster. Cluster nodes must use this external server for their upstream DNS requests. This value may only be set when loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`.\n\nPossible enum values:\n - `\"External\"`\n - `\"Internal\"`", Type: []string{"string"}, Format: "", + Enum: []interface{}{"External", "Internal"}, }, }, "machineNetworks": { diff --git a/payload-manifests/crds/0000_10_config-operator_01_infrastructures-CustomNoUpgrade.crd.yaml b/payload-manifests/crds/0000_10_config-operator_01_infrastructures-CustomNoUpgrade.crd.yaml index 5da611d3bb5..85875e8a347 100644 --- a/payload-manifests/crds/0000_10_config-operator_01_infrastructures-CustomNoUpgrade.crd.yaml +++ b/payload-manifests/crds/0000_10_config-operator_01_infrastructures-CustomNoUpgrade.crd.yaml @@ -1675,10 +1675,12 @@ spec: dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. - When set to `Internal`, records are provided by the internal infrastructure + When set to `Internal`, records are provided by the internal infrastructure and + no additional user configuration is required for the cluster to function. When set to `External`, records are not provided by the internal infrastructure - and must be configured by the user. This value may only be set when - loadBalancer.type is set to UserManaged. + and must be configured by the user on a DNS server outside the cluster. + Cluster nodes must use this external server for their upstream DNS requests. + This value may only be set when loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`. @@ -2252,10 +2254,12 @@ spec: dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. - When set to `Internal`, records are provided by the internal infrastructure + When set to `Internal`, records are provided by the internal infrastructure and + no additional user configuration is required for the cluster to function. When set to `External`, records are not provided by the internal infrastructure - and must be configured by the user. This value may only be set when a - user-managed loadbalancer is configured. + and must be configured by the user on a DNS server outside the cluster. + Cluster nodes must use this external server for their upstream DNS requests. + This value may only be set when loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`. @@ -2362,10 +2366,12 @@ spec: dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. - When set to `Internal`, records are provided by the internal infrastructure + When set to `Internal`, records are provided by the internal infrastructure and + no additional user configuration is required for the cluster to function. When set to `External`, records are not provided by the internal infrastructure - and must be configured by the user. This value may only be set when a - user-managed loadbalancer is configured. + and must be configured by the user on a DNS server outside the cluster. + Cluster nodes must use this external server for their upstream DNS requests. + This value may only be set when loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`. @@ -2493,10 +2499,12 @@ spec: dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. - When set to `Internal`, records are provided by the internal infrastructure + When set to `Internal`, records are provided by the internal infrastructure and + no additional user configuration is required for the cluster to function. When set to `External`, records are not provided by the internal infrastructure - and must be configured by the user. This value may only be set when a - user-managed loadbalancer is configured. + and must be configured by the user on a DNS server outside the cluster. + Cluster nodes must use this external server for their upstream DNS requests. + This value may only be set when loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`. @@ -2722,10 +2730,12 @@ spec: dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. - When set to `Internal`, records are provided by the internal infrastructure + When set to `Internal`, records are provided by the internal infrastructure and + no additional user configuration is required for the cluster to function. When set to `External`, records are not provided by the internal infrastructure - and must be configured by the user. This value may only be set when a - user-managed loadbalancer is configured. + and must be configured by the user on a DNS server outside the cluster. + Cluster nodes must use this external server for their upstream DNS requests. + This value may only be set when loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`. diff --git a/payload-manifests/crds/0000_10_config-operator_01_infrastructures-DevPreviewNoUpgrade.crd.yaml b/payload-manifests/crds/0000_10_config-operator_01_infrastructures-DevPreviewNoUpgrade.crd.yaml index ce8a36dbcdc..f3dd3c3247d 100644 --- a/payload-manifests/crds/0000_10_config-operator_01_infrastructures-DevPreviewNoUpgrade.crd.yaml +++ b/payload-manifests/crds/0000_10_config-operator_01_infrastructures-DevPreviewNoUpgrade.crd.yaml @@ -1675,10 +1675,12 @@ spec: dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. - When set to `Internal`, records are provided by the internal infrastructure + When set to `Internal`, records are provided by the internal infrastructure and + no additional user configuration is required for the cluster to function. When set to `External`, records are not provided by the internal infrastructure - and must be configured by the user. This value may only be set when - loadBalancer.type is set to UserManaged. + and must be configured by the user on a DNS server outside the cluster. + Cluster nodes must use this external server for their upstream DNS requests. + This value may only be set when loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`. @@ -2252,10 +2254,12 @@ spec: dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. - When set to `Internal`, records are provided by the internal infrastructure + When set to `Internal`, records are provided by the internal infrastructure and + no additional user configuration is required for the cluster to function. When set to `External`, records are not provided by the internal infrastructure - and must be configured by the user. This value may only be set when a - user-managed loadbalancer is configured. + and must be configured by the user on a DNS server outside the cluster. + Cluster nodes must use this external server for their upstream DNS requests. + This value may only be set when loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`. @@ -2362,10 +2366,12 @@ spec: dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. - When set to `Internal`, records are provided by the internal infrastructure + When set to `Internal`, records are provided by the internal infrastructure and + no additional user configuration is required for the cluster to function. When set to `External`, records are not provided by the internal infrastructure - and must be configured by the user. This value may only be set when a - user-managed loadbalancer is configured. + and must be configured by the user on a DNS server outside the cluster. + Cluster nodes must use this external server for their upstream DNS requests. + This value may only be set when loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`. @@ -2493,10 +2499,12 @@ spec: dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. - When set to `Internal`, records are provided by the internal infrastructure + When set to `Internal`, records are provided by the internal infrastructure and + no additional user configuration is required for the cluster to function. When set to `External`, records are not provided by the internal infrastructure - and must be configured by the user. This value may only be set when a - user-managed loadbalancer is configured. + and must be configured by the user on a DNS server outside the cluster. + Cluster nodes must use this external server for their upstream DNS requests. + This value may only be set when loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`. @@ -2722,10 +2730,12 @@ spec: dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. - When set to `Internal`, records are provided by the internal infrastructure + When set to `Internal`, records are provided by the internal infrastructure and + no additional user configuration is required for the cluster to function. When set to `External`, records are not provided by the internal infrastructure - and must be configured by the user. This value may only be set when a - user-managed loadbalancer is configured. + and must be configured by the user on a DNS server outside the cluster. + Cluster nodes must use this external server for their upstream DNS requests. + This value may only be set when loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`. diff --git a/payload-manifests/crds/0000_10_config-operator_01_infrastructures-TechPreviewNoUpgrade.crd.yaml b/payload-manifests/crds/0000_10_config-operator_01_infrastructures-TechPreviewNoUpgrade.crd.yaml index ba3a8a2f454..99b975aeeec 100644 --- a/payload-manifests/crds/0000_10_config-operator_01_infrastructures-TechPreviewNoUpgrade.crd.yaml +++ b/payload-manifests/crds/0000_10_config-operator_01_infrastructures-TechPreviewNoUpgrade.crd.yaml @@ -1675,10 +1675,12 @@ spec: dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. - When set to `Internal`, records are provided by the internal infrastructure + When set to `Internal`, records are provided by the internal infrastructure and + no additional user configuration is required for the cluster to function. When set to `External`, records are not provided by the internal infrastructure - and must be configured by the user. This value may only be set when - loadBalancer.type is set to UserManaged. + and must be configured by the user on a DNS server outside the cluster. + Cluster nodes must use this external server for their upstream DNS requests. + This value may only be set when loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`. @@ -2252,10 +2254,12 @@ spec: dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. - When set to `Internal`, records are provided by the internal infrastructure + When set to `Internal`, records are provided by the internal infrastructure and + no additional user configuration is required for the cluster to function. When set to `External`, records are not provided by the internal infrastructure - and must be configured by the user. This value may only be set when a - user-managed loadbalancer is configured. + and must be configured by the user on a DNS server outside the cluster. + Cluster nodes must use this external server for their upstream DNS requests. + This value may only be set when loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`. @@ -2362,10 +2366,12 @@ spec: dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. - When set to `Internal`, records are provided by the internal infrastructure + When set to `Internal`, records are provided by the internal infrastructure and + no additional user configuration is required for the cluster to function. When set to `External`, records are not provided by the internal infrastructure - and must be configured by the user. This value may only be set when a - user-managed loadbalancer is configured. + and must be configured by the user on a DNS server outside the cluster. + Cluster nodes must use this external server for their upstream DNS requests. + This value may only be set when loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`. @@ -2493,10 +2499,12 @@ spec: dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. - When set to `Internal`, records are provided by the internal infrastructure + When set to `Internal`, records are provided by the internal infrastructure and + no additional user configuration is required for the cluster to function. When set to `External`, records are not provided by the internal infrastructure - and must be configured by the user. This value may only be set when a - user-managed loadbalancer is configured. + and must be configured by the user on a DNS server outside the cluster. + Cluster nodes must use this external server for their upstream DNS requests. + This value may only be set when loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`. @@ -2722,10 +2730,12 @@ spec: dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. - When set to `Internal`, records are provided by the internal infrastructure + When set to `Internal`, records are provided by the internal infrastructure and + no additional user configuration is required for the cluster to function. When set to `External`, records are not provided by the internal infrastructure - and must be configured by the user. This value may only be set when a - user-managed loadbalancer is configured. + and must be configured by the user on a DNS server outside the cluster. + Cluster nodes must use this external server for their upstream DNS requests. + This value may only be set when loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`. diff --git a/payload-manifests/crds/0000_80_machine-config_01_controllerconfigs-CustomNoUpgrade.crd.yaml b/payload-manifests/crds/0000_80_machine-config_01_controllerconfigs-CustomNoUpgrade.crd.yaml index 6ff1c2bb93e..425536913fd 100644 --- a/payload-manifests/crds/0000_80_machine-config_01_controllerconfigs-CustomNoUpgrade.crd.yaml +++ b/payload-manifests/crds/0000_80_machine-config_01_controllerconfigs-CustomNoUpgrade.crd.yaml @@ -1964,10 +1964,12 @@ spec: dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. - When set to `Internal`, records are provided by the internal infrastructure + When set to `Internal`, records are provided by the internal infrastructure and + no additional user configuration is required for the cluster to function. When set to `External`, records are not provided by the internal infrastructure - and must be configured by the user. This value may only be set when - loadBalancer.type is set to UserManaged. + and must be configured by the user on a DNS server outside the cluster. + Cluster nodes must use this external server for their upstream DNS requests. + This value may only be set when loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`. @@ -2549,10 +2551,12 @@ spec: dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. - When set to `Internal`, records are provided by the internal infrastructure + When set to `Internal`, records are provided by the internal infrastructure and + no additional user configuration is required for the cluster to function. When set to `External`, records are not provided by the internal infrastructure - and must be configured by the user. This value may only be set when a - user-managed loadbalancer is configured. + and must be configured by the user on a DNS server outside the cluster. + Cluster nodes must use this external server for their upstream DNS requests. + This value may only be set when loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`. @@ -2660,10 +2664,12 @@ spec: dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. - When set to `Internal`, records are provided by the internal infrastructure + When set to `Internal`, records are provided by the internal infrastructure and + no additional user configuration is required for the cluster to function. When set to `External`, records are not provided by the internal infrastructure - and must be configured by the user. This value may only be set when a - user-managed loadbalancer is configured. + and must be configured by the user on a DNS server outside the cluster. + Cluster nodes must use this external server for their upstream DNS requests. + This value may only be set when loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`. @@ -2792,10 +2798,12 @@ spec: dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. - When set to `Internal`, records are provided by the internal infrastructure + When set to `Internal`, records are provided by the internal infrastructure and + no additional user configuration is required for the cluster to function. When set to `External`, records are not provided by the internal infrastructure - and must be configured by the user. This value may only be set when a - user-managed loadbalancer is configured. + and must be configured by the user on a DNS server outside the cluster. + Cluster nodes must use this external server for their upstream DNS requests. + This value may only be set when loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`. @@ -3023,10 +3031,12 @@ spec: dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. - When set to `Internal`, records are provided by the internal infrastructure + When set to `Internal`, records are provided by the internal infrastructure and + no additional user configuration is required for the cluster to function. When set to `External`, records are not provided by the internal infrastructure - and must be configured by the user. This value may only be set when a - user-managed loadbalancer is configured. + and must be configured by the user on a DNS server outside the cluster. + Cluster nodes must use this external server for their upstream DNS requests. + This value may only be set when loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`. diff --git a/payload-manifests/crds/0000_80_machine-config_01_controllerconfigs-DevPreviewNoUpgrade.crd.yaml b/payload-manifests/crds/0000_80_machine-config_01_controllerconfigs-DevPreviewNoUpgrade.crd.yaml index 0710a27c651..84652accb85 100644 --- a/payload-manifests/crds/0000_80_machine-config_01_controllerconfigs-DevPreviewNoUpgrade.crd.yaml +++ b/payload-manifests/crds/0000_80_machine-config_01_controllerconfigs-DevPreviewNoUpgrade.crd.yaml @@ -1964,10 +1964,12 @@ spec: dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. - When set to `Internal`, records are provided by the internal infrastructure + When set to `Internal`, records are provided by the internal infrastructure and + no additional user configuration is required for the cluster to function. When set to `External`, records are not provided by the internal infrastructure - and must be configured by the user. This value may only be set when - loadBalancer.type is set to UserManaged. + and must be configured by the user on a DNS server outside the cluster. + Cluster nodes must use this external server for their upstream DNS requests. + This value may only be set when loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`. @@ -2549,10 +2551,12 @@ spec: dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. - When set to `Internal`, records are provided by the internal infrastructure + When set to `Internal`, records are provided by the internal infrastructure and + no additional user configuration is required for the cluster to function. When set to `External`, records are not provided by the internal infrastructure - and must be configured by the user. This value may only be set when a - user-managed loadbalancer is configured. + and must be configured by the user on a DNS server outside the cluster. + Cluster nodes must use this external server for their upstream DNS requests. + This value may only be set when loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`. @@ -2660,10 +2664,12 @@ spec: dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. - When set to `Internal`, records are provided by the internal infrastructure + When set to `Internal`, records are provided by the internal infrastructure and + no additional user configuration is required for the cluster to function. When set to `External`, records are not provided by the internal infrastructure - and must be configured by the user. This value may only be set when a - user-managed loadbalancer is configured. + and must be configured by the user on a DNS server outside the cluster. + Cluster nodes must use this external server for their upstream DNS requests. + This value may only be set when loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`. @@ -2792,10 +2798,12 @@ spec: dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. - When set to `Internal`, records are provided by the internal infrastructure + When set to `Internal`, records are provided by the internal infrastructure and + no additional user configuration is required for the cluster to function. When set to `External`, records are not provided by the internal infrastructure - and must be configured by the user. This value may only be set when a - user-managed loadbalancer is configured. + and must be configured by the user on a DNS server outside the cluster. + Cluster nodes must use this external server for their upstream DNS requests. + This value may only be set when loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`. @@ -3023,10 +3031,12 @@ spec: dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. - When set to `Internal`, records are provided by the internal infrastructure + When set to `Internal`, records are provided by the internal infrastructure and + no additional user configuration is required for the cluster to function. When set to `External`, records are not provided by the internal infrastructure - and must be configured by the user. This value may only be set when a - user-managed loadbalancer is configured. + and must be configured by the user on a DNS server outside the cluster. + Cluster nodes must use this external server for their upstream DNS requests. + This value may only be set when loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`. diff --git a/payload-manifests/crds/0000_80_machine-config_01_controllerconfigs-TechPreviewNoUpgrade.crd.yaml b/payload-manifests/crds/0000_80_machine-config_01_controllerconfigs-TechPreviewNoUpgrade.crd.yaml index 34c2deb19ee..d6eccf009d4 100644 --- a/payload-manifests/crds/0000_80_machine-config_01_controllerconfigs-TechPreviewNoUpgrade.crd.yaml +++ b/payload-manifests/crds/0000_80_machine-config_01_controllerconfigs-TechPreviewNoUpgrade.crd.yaml @@ -1964,10 +1964,12 @@ spec: dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. - When set to `Internal`, records are provided by the internal infrastructure + When set to `Internal`, records are provided by the internal infrastructure and + no additional user configuration is required for the cluster to function. When set to `External`, records are not provided by the internal infrastructure - and must be configured by the user. This value may only be set when - loadBalancer.type is set to UserManaged. + and must be configured by the user on a DNS server outside the cluster. + Cluster nodes must use this external server for their upstream DNS requests. + This value may only be set when loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`. @@ -2549,10 +2551,12 @@ spec: dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. - When set to `Internal`, records are provided by the internal infrastructure + When set to `Internal`, records are provided by the internal infrastructure and + no additional user configuration is required for the cluster to function. When set to `External`, records are not provided by the internal infrastructure - and must be configured by the user. This value may only be set when a - user-managed loadbalancer is configured. + and must be configured by the user on a DNS server outside the cluster. + Cluster nodes must use this external server for their upstream DNS requests. + This value may only be set when loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`. @@ -2660,10 +2664,12 @@ spec: dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. - When set to `Internal`, records are provided by the internal infrastructure + When set to `Internal`, records are provided by the internal infrastructure and + no additional user configuration is required for the cluster to function. When set to `External`, records are not provided by the internal infrastructure - and must be configured by the user. This value may only be set when a - user-managed loadbalancer is configured. + and must be configured by the user on a DNS server outside the cluster. + Cluster nodes must use this external server for their upstream DNS requests. + This value may only be set when loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`. @@ -2792,10 +2798,12 @@ spec: dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. - When set to `Internal`, records are provided by the internal infrastructure + When set to `Internal`, records are provided by the internal infrastructure and + no additional user configuration is required for the cluster to function. When set to `External`, records are not provided by the internal infrastructure - and must be configured by the user. This value may only be set when a - user-managed loadbalancer is configured. + and must be configured by the user on a DNS server outside the cluster. + Cluster nodes must use this external server for their upstream DNS requests. + This value may only be set when loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`. @@ -3023,10 +3031,12 @@ spec: dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. - When set to `Internal`, records are provided by the internal infrastructure + When set to `Internal`, records are provided by the internal infrastructure and + no additional user configuration is required for the cluster to function. When set to `External`, records are not provided by the internal infrastructure - and must be configured by the user. This value may only be set when a - user-managed loadbalancer is configured. + and must be configured by the user on a DNS server outside the cluster. + Cluster nodes must use this external server for their upstream DNS requests. + This value may only be set when loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`.