From a2f03bb6aaa3606bca9dfc6264eca1f6be343b5b Mon Sep 17 00:00:00 2001 From: barbacbd Date: Wed, 15 Jan 2025 15:02:08 -0500 Subject: [PATCH] ** Add the ServiceEndpoint Structure that includes the api name and endpoint. ** Add the Service Endpoints to the GCP Spec and Status structs. --- config/v1/types_infrastructure.go | 36 ++++++++- ...1_infrastructures-CustomNoUpgrade.crd.yaml | 61 +++++++++++++++ ...erator_01_infrastructures-Default.crd.yaml | 61 +++++++++++++++ ...frastructures-DevPreviewNoUpgrade.crd.yaml | 61 +++++++++++++++ ...rastructures-TechPreviewNoUpgrade.crd.yaml | 61 +++++++++++++++ config/v1/zz_generated.deepcopy.go | 28 ++++++- .../AAA_ungated.yaml | 61 +++++++++++++++ .../AWSClusterHostedDNS.yaml | 61 +++++++++++++++ .../BareMetalLoadBalancer.yaml | 61 +++++++++++++++ .../GCPClusterHostedDNS.yaml | 61 +++++++++++++++ .../GCPLabelsTags.yaml | 61 +++++++++++++++ .../HighlyAvailableArbiter.yaml | 61 +++++++++++++++ .../NutanixMultiSubnets.yaml | 61 +++++++++++++++ .../VSphereControlPlaneMachineSet.yaml | 61 +++++++++++++++ .../VSphereHostVMGroupZonal.yaml | 61 +++++++++++++++ .../VSphereMultiNetworks.yaml | 61 +++++++++++++++ .../VSphereMultiVCenters.yaml | 61 +++++++++++++++ .../v1/zz_generated.swagger_doc_generated.go | 14 +++- ...controllerconfigs-CustomNoUpgrade.crd.yaml | 61 +++++++++++++++ ...nfig_01_controllerconfigs-Default.crd.yaml | 61 +++++++++++++++ ...rollerconfigs-DevPreviewNoUpgrade.crd.yaml | 61 +++++++++++++++ ...ollerconfigs-TechPreviewNoUpgrade.crd.yaml | 61 +++++++++++++++ .../AAA_ungated.yaml | 61 +++++++++++++++ .../AWSClusterHostedDNS.yaml | 61 +++++++++++++++ .../BareMetalLoadBalancer.yaml | 61 +++++++++++++++ .../GCPClusterHostedDNS.yaml | 61 +++++++++++++++ .../GCPLabelsTags.yaml | 61 +++++++++++++++ .../HighlyAvailableArbiter.yaml | 61 +++++++++++++++ .../NutanixMultiSubnets.yaml | 61 +++++++++++++++ .../VSphereControlPlaneMachineSet.yaml | 61 +++++++++++++++ .../VSphereMultiNetworks.yaml | 61 +++++++++++++++ .../VSphereMultiVCenters.yaml | 61 +++++++++++++++ .../generated_openapi/zz_generated.openapi.go | 75 ++++++++++++++++++- openapi/openapi.json | 42 ++++++++++- ...1_infrastructures-CustomNoUpgrade.crd.yaml | 61 +++++++++++++++ ...erator_01_infrastructures-Default.crd.yaml | 61 +++++++++++++++ ...frastructures-DevPreviewNoUpgrade.crd.yaml | 61 +++++++++++++++ ...rastructures-TechPreviewNoUpgrade.crd.yaml | 61 +++++++++++++++ ...controllerconfigs-CustomNoUpgrade.crd.yaml | 61 +++++++++++++++ ...nfig_01_controllerconfigs-Default.crd.yaml | 61 +++++++++++++++ ...rollerconfigs-DevPreviewNoUpgrade.crd.yaml | 61 +++++++++++++++ ...ollerconfigs-TechPreviewNoUpgrade.crd.yaml | 61 +++++++++++++++ 42 files changed, 2447 insertions(+), 5 deletions(-) diff --git a/config/v1/types_infrastructure.go b/config/v1/types_infrastructure.go index 0293603d78d..6bd0ac2fb48 100644 --- a/config/v1/types_infrastructure.go +++ b/config/v1/types_infrastructure.go @@ -620,9 +620,36 @@ const ( AzureStackCloud AzureCloudEnvironment = "AzureStackCloud" ) +// GCPServiceEndpoint store the configuration of a custom url to +// override existing defaults of GCP Services. +type GCPServiceEndpoint struct { + // name is the name of the GCP service. + // The list of all the service names can be found at https://developers.google.com/apis-explorer + // This must be provided and cannot be empty. + // + // +kubebuilder:validation:Pattern=`^[a-z0-9-]+$` + // +required + Name string `json:"name"` + + // 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. + // + // +kubebuilder:validation:Pattern=`^https://` + // +required + URL string `json:"url"` +} + // GCPPlatformSpec holds the desired state of the Google Cloud Platform infrastructure provider. // This only includes fields that can be modified in the cluster. -type GCPPlatformSpec struct{} +type GCPPlatformSpec struct { + // serviceEndpoints list contains custom endpoints which will override default + // service endpoint of GCP Services. + // There must be only one ServiceEndpoint for a service. + // +listType=atomic + // +optional + ServiceEndpoints []GCPServiceEndpoint `json:"serviceEndpoints,omitempty"` +} // GCPPlatformStatus holds the current status of the Google Cloud Platform infrastructure provider. // +openshift:validation:FeatureGateAwareXValidation:featureGate=GCPLabelsTags,rule="!has(oldSelf.resourceLabels) && !has(self.resourceLabels) || has(oldSelf.resourceLabels) && has(self.resourceLabels)",message="resourceLabels may only be configured during installation" @@ -675,6 +702,13 @@ type GCPPlatformStatus struct { // +optional // +nullable CloudLoadBalancerConfig *CloudLoadBalancerConfig `json:"cloudLoadBalancerConfig,omitempty"` + + // serviceEndpoints list contains custom endpoints which will override default + // service endpoint of GCP Services. + // There must be only one ServiceEndpoint for a service. + // +listType=atomic + // +optional + ServiceEndpoints []GCPServiceEndpoint `json:"serviceEndpoints,omitempty"` } // GCPResourceLabel is a label to apply to GCP resources created for the cluster. 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 299a6d52a17..95345139d5f 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 @@ -219,6 +219,37 @@ spec: gcp: description: gcp contains settings specific to the Google Cloud Platform infrastructure provider. + properties: + serviceEndpoints: + description: |- + serviceEndpoints list contains custom endpoints which will override default + service endpoint of GCP Services. + There must be only one ServiceEndpoint for a service. + items: + description: |- + GCPServiceEndpoint store the configuration of a custom url to + override existing defaults of GCP Services. + properties: + name: + description: |- + name is the name of the GCP service. + The list of all the service names can be found at https://developers.google.com/apis-explorer + 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 + required: + - name + - url + type: object + type: array + x-kubernetes-list-type: atomic type: object ibmcloud: description: ibmcloud contains settings specific to the IBMCloud @@ -1808,6 +1839,36 @@ spec: - message: resourceTags are immutable and may only be configured during installation rule: self.all(x, x in oldSelf) && oldSelf.all(x, x in self) + serviceEndpoints: + description: |- + serviceEndpoints list contains custom endpoints which will override default + service endpoint of GCP Services. + There must be only one ServiceEndpoint for a service. + items: + description: |- + GCPServiceEndpoint store the configuration of a custom url to + override existing defaults of GCP Services. + properties: + name: + description: |- + name is the name of the GCP service. + The list of all the service names can be found at https://developers.google.com/apis-explorer + 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 + required: + - name + - url + type: object + type: array + x-kubernetes-list-type: atomic type: object x-kubernetes-validations: - message: resourceLabels may only be configured during installation 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 55ec17de53a..262a8398ad6 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 @@ -219,6 +219,37 @@ spec: gcp: description: gcp contains settings specific to the Google Cloud Platform infrastructure provider. + properties: + serviceEndpoints: + description: |- + serviceEndpoints list contains custom endpoints which will override default + service endpoint of GCP Services. + There must be only one ServiceEndpoint for a service. + items: + description: |- + GCPServiceEndpoint store the configuration of a custom url to + override existing defaults of GCP Services. + properties: + name: + description: |- + name is the name of the GCP service. + The list of all the service names can be found at https://developers.google.com/apis-explorer + 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 + required: + - name + - url + type: object + type: array + x-kubernetes-list-type: atomic type: object ibmcloud: description: ibmcloud contains settings specific to the IBMCloud @@ -1584,6 +1615,36 @@ spec: - message: resourceTags are immutable and may only be configured during installation rule: self.all(x, x in oldSelf) && oldSelf.all(x, x in self) + serviceEndpoints: + description: |- + serviceEndpoints list contains custom endpoints which will override default + service endpoint of GCP Services. + There must be only one ServiceEndpoint for a service. + items: + description: |- + GCPServiceEndpoint store the configuration of a custom url to + override existing defaults of GCP Services. + properties: + name: + description: |- + name is the name of the GCP service. + The list of all the service names can be found at https://developers.google.com/apis-explorer + 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 + required: + - name + - url + type: object + type: array + x-kubernetes-list-type: atomic type: object x-kubernetes-validations: - message: resourceLabels may only be configured during installation 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 9b6a6716a51..67f73cd0e15 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 @@ -219,6 +219,37 @@ spec: gcp: description: gcp contains settings specific to the Google Cloud Platform infrastructure provider. + properties: + serviceEndpoints: + description: |- + serviceEndpoints list contains custom endpoints which will override default + service endpoint of GCP Services. + There must be only one ServiceEndpoint for a service. + items: + description: |- + GCPServiceEndpoint store the configuration of a custom url to + override existing defaults of GCP Services. + properties: + name: + description: |- + name is the name of the GCP service. + The list of all the service names can be found at https://developers.google.com/apis-explorer + 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 + required: + - name + - url + type: object + type: array + x-kubernetes-list-type: atomic type: object ibmcloud: description: ibmcloud contains settings specific to the IBMCloud @@ -1808,6 +1839,36 @@ spec: - message: resourceTags are immutable and may only be configured during installation rule: self.all(x, x in oldSelf) && oldSelf.all(x, x in self) + serviceEndpoints: + description: |- + serviceEndpoints list contains custom endpoints which will override default + service endpoint of GCP Services. + There must be only one ServiceEndpoint for a service. + items: + description: |- + GCPServiceEndpoint store the configuration of a custom url to + override existing defaults of GCP Services. + properties: + name: + description: |- + name is the name of the GCP service. + The list of all the service names can be found at https://developers.google.com/apis-explorer + 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 + required: + - name + - url + type: object + type: array + x-kubernetes-list-type: atomic type: object x-kubernetes-validations: - message: resourceLabels may only be configured during installation 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 b0c12e2eb22..24109046ca6 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 @@ -219,6 +219,37 @@ spec: gcp: description: gcp contains settings specific to the Google Cloud Platform infrastructure provider. + properties: + serviceEndpoints: + description: |- + serviceEndpoints list contains custom endpoints which will override default + service endpoint of GCP Services. + There must be only one ServiceEndpoint for a service. + items: + description: |- + GCPServiceEndpoint store the configuration of a custom url to + override existing defaults of GCP Services. + properties: + name: + description: |- + name is the name of the GCP service. + The list of all the service names can be found at https://developers.google.com/apis-explorer + 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 + required: + - name + - url + type: object + type: array + x-kubernetes-list-type: atomic type: object ibmcloud: description: ibmcloud contains settings specific to the IBMCloud @@ -1808,6 +1839,36 @@ spec: - message: resourceTags are immutable and may only be configured during installation rule: self.all(x, x in oldSelf) && oldSelf.all(x, x in self) + serviceEndpoints: + description: |- + serviceEndpoints list contains custom endpoints which will override default + service endpoint of GCP Services. + There must be only one ServiceEndpoint for a service. + items: + description: |- + GCPServiceEndpoint store the configuration of a custom url to + override existing defaults of GCP Services. + properties: + name: + description: |- + name is the name of the GCP service. + The list of all the service names can be found at https://developers.google.com/apis-explorer + 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 + required: + - name + - url + type: object + type: array + x-kubernetes-list-type: atomic type: object x-kubernetes-validations: - message: resourceLabels may only be configured during installation diff --git a/config/v1/zz_generated.deepcopy.go b/config/v1/zz_generated.deepcopy.go index 1a77c6af5be..9e3c2f20963 100644 --- a/config/v1/zz_generated.deepcopy.go +++ b/config/v1/zz_generated.deepcopy.go @@ -2289,6 +2289,11 @@ func (in *FeatureGateTests) DeepCopy() *FeatureGateTests { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *GCPPlatformSpec) DeepCopyInto(out *GCPPlatformSpec) { *out = *in + if in.ServiceEndpoints != nil { + in, out := &in.ServiceEndpoints, &out.ServiceEndpoints + *out = make([]GCPServiceEndpoint, len(*in)) + copy(*out, *in) + } return } @@ -2320,6 +2325,11 @@ func (in *GCPPlatformStatus) DeepCopyInto(out *GCPPlatformStatus) { *out = new(CloudLoadBalancerConfig) (*in).DeepCopyInto(*out) } + if in.ServiceEndpoints != nil { + in, out := &in.ServiceEndpoints, &out.ServiceEndpoints + *out = make([]GCPServiceEndpoint, len(*in)) + copy(*out, *in) + } return } @@ -2365,6 +2375,22 @@ func (in *GCPResourceTag) DeepCopy() *GCPResourceTag { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GCPServiceEndpoint) DeepCopyInto(out *GCPServiceEndpoint) { + *out = *in + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GCPServiceEndpoint. +func (in *GCPServiceEndpoint) DeepCopy() *GCPServiceEndpoint { + if in == nil { + return nil + } + out := new(GCPServiceEndpoint) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *GenericAPIServerConfig) DeepCopyInto(out *GenericAPIServerConfig) { *out = *in @@ -4758,7 +4784,7 @@ func (in *PlatformSpec) DeepCopyInto(out *PlatformSpec) { if in.GCP != nil { in, out := &in.GCP, &out.GCP *out = new(GCPPlatformSpec) - **out = **in + (*in).DeepCopyInto(*out) } if in.BareMetal != nil { in, out := &in.BareMetal, &out.BareMetal 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 a43246cbaca..530a08c51bb 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 @@ -219,6 +219,37 @@ spec: gcp: description: gcp contains settings specific to the Google Cloud Platform infrastructure provider. + properties: + serviceEndpoints: + description: |- + serviceEndpoints list contains custom endpoints which will override default + service endpoint of GCP Services. + There must be only one ServiceEndpoint for a service. + items: + description: |- + GCPServiceEndpoint store the configuration of a custom url to + override existing defaults of GCP Services. + properties: + name: + description: |- + name is the name of the GCP service. + The list of all the service names can be found at https://developers.google.com/apis-explorer + 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 + required: + - name + - url + type: object + type: array + x-kubernetes-list-type: atomic type: object ibmcloud: description: ibmcloud contains settings specific to the IBMCloud @@ -1432,6 +1463,36 @@ spec: description: region holds the region for new GCP resources created for the cluster. type: string + serviceEndpoints: + description: |- + serviceEndpoints list contains custom endpoints which will override default + service endpoint of GCP Services. + There must be only one ServiceEndpoint for a service. + items: + description: |- + GCPServiceEndpoint store the configuration of a custom url to + override existing defaults of GCP Services. + properties: + name: + description: |- + name is the name of the GCP service. + The list of all the service names can be found at https://developers.google.com/apis-explorer + 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 + required: + - name + - url + type: object + type: array + x-kubernetes-list-type: atomic type: object ibmcloud: description: ibmcloud contains settings specific to the IBMCloud diff --git a/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/AWSClusterHostedDNS.yaml b/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/AWSClusterHostedDNS.yaml index a51c2d2fef3..3ae945fd382 100644 --- a/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/AWSClusterHostedDNS.yaml +++ b/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/AWSClusterHostedDNS.yaml @@ -219,6 +219,37 @@ spec: gcp: description: gcp contains settings specific to the Google Cloud Platform infrastructure provider. + properties: + serviceEndpoints: + description: |- + serviceEndpoints list contains custom endpoints which will override default + service endpoint of GCP Services. + There must be only one ServiceEndpoint for a service. + items: + description: |- + GCPServiceEndpoint store the configuration of a custom url to + override existing defaults of GCP Services. + properties: + name: + description: |- + name is the name of the GCP service. + The list of all the service names can be found at https://developers.google.com/apis-explorer + 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 + required: + - name + - url + type: object + type: array + x-kubernetes-list-type: atomic type: object ibmcloud: description: ibmcloud contains settings specific to the IBMCloud @@ -1529,6 +1560,36 @@ spec: description: region holds the region for new GCP resources created for the cluster. type: string + serviceEndpoints: + description: |- + serviceEndpoints list contains custom endpoints which will override default + service endpoint of GCP Services. + There must be only one ServiceEndpoint for a service. + items: + description: |- + GCPServiceEndpoint store the configuration of a custom url to + override existing defaults of GCP Services. + properties: + name: + description: |- + name is the name of the GCP service. + The list of all the service names can be found at https://developers.google.com/apis-explorer + 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 + required: + - name + - url + type: object + type: array + x-kubernetes-list-type: atomic type: object ibmcloud: description: ibmcloud contains settings specific to the IBMCloud diff --git a/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/BareMetalLoadBalancer.yaml b/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/BareMetalLoadBalancer.yaml index 94b201a8f20..217d79dc0e2 100644 --- a/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/BareMetalLoadBalancer.yaml +++ b/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/BareMetalLoadBalancer.yaml @@ -219,6 +219,37 @@ spec: gcp: description: gcp contains settings specific to the Google Cloud Platform infrastructure provider. + properties: + serviceEndpoints: + description: |- + serviceEndpoints list contains custom endpoints which will override default + service endpoint of GCP Services. + There must be only one ServiceEndpoint for a service. + items: + description: |- + GCPServiceEndpoint store the configuration of a custom url to + override existing defaults of GCP Services. + properties: + name: + description: |- + name is the name of the GCP service. + The list of all the service names can be found at https://developers.google.com/apis-explorer + 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 + required: + - name + - url + type: object + type: array + x-kubernetes-list-type: atomic type: object ibmcloud: description: ibmcloud contains settings specific to the IBMCloud @@ -1451,6 +1482,36 @@ spec: description: region holds the region for new GCP resources created for the cluster. type: string + serviceEndpoints: + description: |- + serviceEndpoints list contains custom endpoints which will override default + service endpoint of GCP Services. + There must be only one ServiceEndpoint for a service. + items: + description: |- + GCPServiceEndpoint store the configuration of a custom url to + override existing defaults of GCP Services. + properties: + name: + description: |- + name is the name of the GCP service. + The list of all the service names can be found at https://developers.google.com/apis-explorer + 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 + required: + - name + - url + type: object + type: array + x-kubernetes-list-type: atomic type: object ibmcloud: description: ibmcloud contains settings specific to the IBMCloud diff --git a/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/GCPClusterHostedDNS.yaml b/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/GCPClusterHostedDNS.yaml index 0463495fd33..c65a6b911aa 100644 --- a/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/GCPClusterHostedDNS.yaml +++ b/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/GCPClusterHostedDNS.yaml @@ -219,6 +219,37 @@ spec: gcp: description: gcp contains settings specific to the Google Cloud Platform infrastructure provider. + properties: + serviceEndpoints: + description: |- + serviceEndpoints list contains custom endpoints which will override default + service endpoint of GCP Services. + There must be only one ServiceEndpoint for a service. + items: + description: |- + GCPServiceEndpoint store the configuration of a custom url to + override existing defaults of GCP Services. + properties: + name: + description: |- + name is the name of the GCP service. + The list of all the service names can be found at https://developers.google.com/apis-explorer + 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 + required: + - name + - url + type: object + type: array + x-kubernetes-list-type: atomic type: object ibmcloud: description: ibmcloud contains settings specific to the IBMCloud @@ -1529,6 +1560,36 @@ spec: description: region holds the region for new GCP resources created for the cluster. type: string + serviceEndpoints: + description: |- + serviceEndpoints list contains custom endpoints which will override default + service endpoint of GCP Services. + There must be only one ServiceEndpoint for a service. + items: + description: |- + GCPServiceEndpoint store the configuration of a custom url to + override existing defaults of GCP Services. + properties: + name: + description: |- + name is the name of the GCP service. + The list of all the service names can be found at https://developers.google.com/apis-explorer + 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 + required: + - name + - url + type: object + type: array + x-kubernetes-list-type: atomic type: object ibmcloud: description: ibmcloud contains settings specific to the IBMCloud diff --git a/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/GCPLabelsTags.yaml b/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/GCPLabelsTags.yaml index da5d68516e0..1511685429f 100644 --- a/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/GCPLabelsTags.yaml +++ b/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/GCPLabelsTags.yaml @@ -219,6 +219,37 @@ spec: gcp: description: gcp contains settings specific to the Google Cloud Platform infrastructure provider. + properties: + serviceEndpoints: + description: |- + serviceEndpoints list contains custom endpoints which will override default + service endpoint of GCP Services. + There must be only one ServiceEndpoint for a service. + items: + description: |- + GCPServiceEndpoint store the configuration of a custom url to + override existing defaults of GCP Services. + properties: + name: + description: |- + name is the name of the GCP service. + The list of all the service names can be found at https://developers.google.com/apis-explorer + 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 + required: + - name + - url + type: object + type: array + x-kubernetes-list-type: atomic type: object ibmcloud: description: ibmcloud contains settings specific to the IBMCloud @@ -1524,6 +1555,36 @@ spec: - message: resourceTags are immutable and may only be configured during installation rule: self.all(x, x in oldSelf) && oldSelf.all(x, x in self) + serviceEndpoints: + description: |- + serviceEndpoints list contains custom endpoints which will override default + service endpoint of GCP Services. + There must be only one ServiceEndpoint for a service. + items: + description: |- + GCPServiceEndpoint store the configuration of a custom url to + override existing defaults of GCP Services. + properties: + name: + description: |- + name is the name of the GCP service. + The list of all the service names can be found at https://developers.google.com/apis-explorer + 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 + required: + - name + - url + type: object + type: array + x-kubernetes-list-type: atomic type: object x-kubernetes-validations: - message: resourceLabels may only be configured during installation 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 1fa4d06e7f2..b674bf1e9e1 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 @@ -219,6 +219,37 @@ spec: gcp: description: gcp contains settings specific to the Google Cloud Platform infrastructure provider. + properties: + serviceEndpoints: + description: |- + serviceEndpoints list contains custom endpoints which will override default + service endpoint of GCP Services. + There must be only one ServiceEndpoint for a service. + items: + description: |- + GCPServiceEndpoint store the configuration of a custom url to + override existing defaults of GCP Services. + properties: + name: + description: |- + name is the name of the GCP service. + The list of all the service names can be found at https://developers.google.com/apis-explorer + 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 + required: + - name + - url + type: object + type: array + x-kubernetes-list-type: atomic type: object ibmcloud: description: ibmcloud contains settings specific to the IBMCloud @@ -1430,6 +1461,36 @@ spec: description: region holds the region for new GCP resources created for the cluster. type: string + serviceEndpoints: + description: |- + serviceEndpoints list contains custom endpoints which will override default + service endpoint of GCP Services. + There must be only one ServiceEndpoint for a service. + items: + description: |- + GCPServiceEndpoint store the configuration of a custom url to + override existing defaults of GCP Services. + properties: + name: + description: |- + name is the name of the GCP service. + The list of all the service names can be found at https://developers.google.com/apis-explorer + 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 + required: + - name + - url + type: object + type: array + x-kubernetes-list-type: atomic type: object ibmcloud: description: ibmcloud contains settings specific to the IBMCloud 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 f3f3d03351c..8f513d07332 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 @@ -219,6 +219,37 @@ spec: gcp: description: gcp contains settings specific to the Google Cloud Platform infrastructure provider. + properties: + serviceEndpoints: + description: |- + serviceEndpoints list contains custom endpoints which will override default + service endpoint of GCP Services. + There must be only one ServiceEndpoint for a service. + items: + description: |- + GCPServiceEndpoint store the configuration of a custom url to + override existing defaults of GCP Services. + properties: + name: + description: |- + name is the name of the GCP service. + The list of all the service names can be found at https://developers.google.com/apis-explorer + 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 + required: + - name + - url + type: object + type: array + x-kubernetes-list-type: atomic type: object ibmcloud: description: ibmcloud contains settings specific to the IBMCloud @@ -1430,6 +1461,36 @@ spec: description: region holds the region for new GCP resources created for the cluster. type: string + serviceEndpoints: + description: |- + serviceEndpoints list contains custom endpoints which will override default + service endpoint of GCP Services. + There must be only one ServiceEndpoint for a service. + items: + description: |- + GCPServiceEndpoint store the configuration of a custom url to + override existing defaults of GCP Services. + properties: + name: + description: |- + name is the name of the GCP service. + The list of all the service names can be found at https://developers.google.com/apis-explorer + 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 + required: + - name + - url + type: object + type: array + x-kubernetes-list-type: atomic type: object ibmcloud: description: ibmcloud contains settings specific to the IBMCloud diff --git a/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/VSphereControlPlaneMachineSet.yaml b/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/VSphereControlPlaneMachineSet.yaml index e376f0af4c7..87d88df4e90 100644 --- a/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/VSphereControlPlaneMachineSet.yaml +++ b/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/VSphereControlPlaneMachineSet.yaml @@ -219,6 +219,37 @@ spec: gcp: description: gcp contains settings specific to the Google Cloud Platform infrastructure provider. + properties: + serviceEndpoints: + description: |- + serviceEndpoints list contains custom endpoints which will override default + service endpoint of GCP Services. + There must be only one ServiceEndpoint for a service. + items: + description: |- + GCPServiceEndpoint store the configuration of a custom url to + override existing defaults of GCP Services. + properties: + name: + description: |- + name is the name of the GCP service. + The list of all the service names can be found at https://developers.google.com/apis-explorer + 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 + required: + - name + - url + type: object + type: array + x-kubernetes-list-type: atomic type: object ibmcloud: description: ibmcloud contains settings specific to the IBMCloud @@ -1440,6 +1471,36 @@ spec: description: region holds the region for new GCP resources created for the cluster. type: string + serviceEndpoints: + description: |- + serviceEndpoints list contains custom endpoints which will override default + service endpoint of GCP Services. + There must be only one ServiceEndpoint for a service. + items: + description: |- + GCPServiceEndpoint store the configuration of a custom url to + override existing defaults of GCP Services. + properties: + name: + description: |- + name is the name of the GCP service. + The list of all the service names can be found at https://developers.google.com/apis-explorer + 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 + required: + - name + - url + type: object + type: array + x-kubernetes-list-type: atomic type: object ibmcloud: description: ibmcloud contains settings specific to the IBMCloud 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 08f93379752..8a4c4d75fb2 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 @@ -219,6 +219,37 @@ spec: gcp: description: gcp contains settings specific to the Google Cloud Platform infrastructure provider. + properties: + serviceEndpoints: + description: |- + serviceEndpoints list contains custom endpoints which will override default + service endpoint of GCP Services. + There must be only one ServiceEndpoint for a service. + items: + description: |- + GCPServiceEndpoint store the configuration of a custom url to + override existing defaults of GCP Services. + properties: + name: + description: |- + name is the name of the GCP service. + The list of all the service names can be found at https://developers.google.com/apis-explorer + 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 + required: + - name + - url + type: object + type: array + x-kubernetes-list-type: atomic type: object ibmcloud: description: ibmcloud contains settings specific to the IBMCloud @@ -1436,6 +1467,36 @@ spec: description: region holds the region for new GCP resources created for the cluster. type: string + serviceEndpoints: + description: |- + serviceEndpoints list contains custom endpoints which will override default + service endpoint of GCP Services. + There must be only one ServiceEndpoint for a service. + items: + description: |- + GCPServiceEndpoint store the configuration of a custom url to + override existing defaults of GCP Services. + properties: + name: + description: |- + name is the name of the GCP service. + The list of all the service names can be found at https://developers.google.com/apis-explorer + 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 + required: + - name + - url + type: object + type: array + x-kubernetes-list-type: atomic type: object ibmcloud: description: ibmcloud contains settings specific to the IBMCloud 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 75accfad587..fd1341a4f2b 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 @@ -219,6 +219,37 @@ spec: gcp: description: gcp contains settings specific to the Google Cloud Platform infrastructure provider. + properties: + serviceEndpoints: + description: |- + serviceEndpoints list contains custom endpoints which will override default + service endpoint of GCP Services. + There must be only one ServiceEndpoint for a service. + items: + description: |- + GCPServiceEndpoint store the configuration of a custom url to + override existing defaults of GCP Services. + properties: + name: + description: |- + name is the name of the GCP service. + The list of all the service names can be found at https://developers.google.com/apis-explorer + 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 + required: + - name + - url + type: object + type: array + x-kubernetes-list-type: atomic type: object ibmcloud: description: ibmcloud contains settings specific to the IBMCloud @@ -1426,6 +1457,36 @@ spec: description: region holds the region for new GCP resources created for the cluster. type: string + serviceEndpoints: + description: |- + serviceEndpoints list contains custom endpoints which will override default + service endpoint of GCP Services. + There must be only one ServiceEndpoint for a service. + items: + description: |- + GCPServiceEndpoint store the configuration of a custom url to + override existing defaults of GCP Services. + properties: + name: + description: |- + name is the name of the GCP service. + The list of all the service names can be found at https://developers.google.com/apis-explorer + 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 + required: + - name + - url + type: object + type: array + x-kubernetes-list-type: atomic type: object ibmcloud: description: ibmcloud contains settings specific to the IBMCloud diff --git a/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/VSphereMultiVCenters.yaml b/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/VSphereMultiVCenters.yaml index 15c30c110b5..795126e6f15 100644 --- a/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/VSphereMultiVCenters.yaml +++ b/config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/VSphereMultiVCenters.yaml @@ -219,6 +219,37 @@ spec: gcp: description: gcp contains settings specific to the Google Cloud Platform infrastructure provider. + properties: + serviceEndpoints: + description: |- + serviceEndpoints list contains custom endpoints which will override default + service endpoint of GCP Services. + There must be only one ServiceEndpoint for a service. + items: + description: |- + GCPServiceEndpoint store the configuration of a custom url to + override existing defaults of GCP Services. + properties: + name: + description: |- + name is the name of the GCP service. + The list of all the service names can be found at https://developers.google.com/apis-explorer + 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 + required: + - name + - url + type: object + type: array + x-kubernetes-list-type: atomic type: object ibmcloud: description: ibmcloud contains settings specific to the IBMCloud @@ -1426,6 +1457,36 @@ spec: description: region holds the region for new GCP resources created for the cluster. type: string + serviceEndpoints: + description: |- + serviceEndpoints list contains custom endpoints which will override default + service endpoint of GCP Services. + There must be only one ServiceEndpoint for a service. + items: + description: |- + GCPServiceEndpoint store the configuration of a custom url to + override existing defaults of GCP Services. + properties: + name: + description: |- + name is the name of the GCP service. + The list of all the service names can be found at https://developers.google.com/apis-explorer + 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 + required: + - name + - url + type: object + type: array + x-kubernetes-list-type: atomic type: object ibmcloud: description: ibmcloud contains settings specific to the IBMCloud diff --git a/config/v1/zz_generated.swagger_doc_generated.go b/config/v1/zz_generated.swagger_doc_generated.go index c45b58eef9b..5c62c5dc66d 100644 --- a/config/v1/zz_generated.swagger_doc_generated.go +++ b/config/v1/zz_generated.swagger_doc_generated.go @@ -1425,7 +1425,8 @@ func (ExternalPlatformStatus) SwaggerDoc() map[string]string { } var map_GCPPlatformSpec = map[string]string{ - "": "GCPPlatformSpec holds the desired state of the Google Cloud Platform infrastructure provider. This only includes fields that can be modified in the cluster.", + "": "GCPPlatformSpec holds the desired state of the Google Cloud Platform infrastructure provider. This only includes fields that can be modified in the cluster.", + "serviceEndpoints": "serviceEndpoints list contains custom endpoints which will override default service endpoint of GCP Services. There must be only one ServiceEndpoint for a service.", } func (GCPPlatformSpec) SwaggerDoc() map[string]string { @@ -1439,6 +1440,7 @@ var map_GCPPlatformStatus = map[string]string{ "resourceLabels": "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.", "resourceTags": "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.", "cloudLoadBalancerConfig": "cloudLoadBalancerConfig holds configuration related to DNS and cloud load balancers. It allows configuration of in-cluster DNS as an alternative to the platform default DNS implementation. When using the ClusterHosted DNS type, Load Balancer IP addresses must be provided for the API and internal API load balancers as well as the ingress load balancer.", + "serviceEndpoints": "serviceEndpoints list contains custom endpoints which will override default service endpoint of GCP Services. There must be only one ServiceEndpoint for a service.", } func (GCPPlatformStatus) SwaggerDoc() map[string]string { @@ -1466,6 +1468,16 @@ func (GCPResourceTag) SwaggerDoc() map[string]string { return map_GCPResourceTag } +var map_GCPServiceEndpoint = map[string]string{ + "": "GCPServiceEndpoint store the configuration of a custom url to override existing defaults of GCP Services.", + "name": "name is the name of the GCP service. The list of all the service names can be found at https://developers.google.com/apis-explorer This must be provided and cannot be empty.", + "url": "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.", +} + +func (GCPServiceEndpoint) SwaggerDoc() map[string]string { + return map_GCPServiceEndpoint +} + var map_IBMCloudPlatformSpec = map[string]string{ "": "IBMCloudPlatformSpec holds the desired state of the IBMCloud infrastructure provider. This only includes fields that can be modified in the cluster.", } 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 b51ea7a749e..4e8bfd0b0b2 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 @@ -498,6 +498,37 @@ spec: gcp: description: gcp contains settings specific to the Google Cloud Platform infrastructure provider. + properties: + serviceEndpoints: + description: |- + serviceEndpoints list contains custom endpoints which will override default + service endpoint of GCP Services. + There must be only one ServiceEndpoint for a service. + items: + description: |- + GCPServiceEndpoint store the configuration of a custom url to + override existing defaults of GCP Services. + properties: + name: + description: |- + name is the name of the GCP service. + The list of all the service names can be found at https://developers.google.com/apis-explorer + 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 + required: + - name + - url + type: object + type: array + x-kubernetes-list-type: atomic type: object ibmcloud: description: ibmcloud contains settings specific to the @@ -2087,6 +2118,36 @@ spec: be configured during installation rule: self.all(x, x in oldSelf) && oldSelf.all(x, x in self) + serviceEndpoints: + description: |- + serviceEndpoints list contains custom endpoints which will override default + service endpoint of GCP Services. + There must be only one ServiceEndpoint for a service. + items: + description: |- + GCPServiceEndpoint store the configuration of a custom url to + override existing defaults of GCP Services. + properties: + name: + description: |- + name is the name of the GCP service. + The list of all the service names can be found at https://developers.google.com/apis-explorer + 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 + required: + - name + - url + type: object + type: array + x-kubernetes-list-type: atomic type: object x-kubernetes-validations: - message: resourceLabels may only be configured during 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 5886525c9ab..7594a2adb4b 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 @@ -498,6 +498,37 @@ spec: gcp: description: gcp contains settings specific to the Google Cloud Platform infrastructure provider. + properties: + serviceEndpoints: + description: |- + serviceEndpoints list contains custom endpoints which will override default + service endpoint of GCP Services. + There must be only one ServiceEndpoint for a service. + items: + description: |- + GCPServiceEndpoint store the configuration of a custom url to + override existing defaults of GCP Services. + properties: + name: + description: |- + name is the name of the GCP service. + The list of all the service names can be found at https://developers.google.com/apis-explorer + 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 + required: + - name + - url + type: object + type: array + x-kubernetes-list-type: atomic type: object ibmcloud: description: ibmcloud contains settings specific to the @@ -1873,6 +1904,36 @@ spec: be configured during installation rule: self.all(x, x in oldSelf) && oldSelf.all(x, x in self) + serviceEndpoints: + description: |- + serviceEndpoints list contains custom endpoints which will override default + service endpoint of GCP Services. + There must be only one ServiceEndpoint for a service. + items: + description: |- + GCPServiceEndpoint store the configuration of a custom url to + override existing defaults of GCP Services. + properties: + name: + description: |- + name is the name of the GCP service. + The list of all the service names can be found at https://developers.google.com/apis-explorer + 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 + required: + - name + - url + type: object + type: array + x-kubernetes-list-type: atomic type: object x-kubernetes-validations: - message: resourceLabels may only be configured during 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 dbc9258d236..7f98282b51a 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 @@ -498,6 +498,37 @@ spec: gcp: description: gcp contains settings specific to the Google Cloud Platform infrastructure provider. + properties: + serviceEndpoints: + description: |- + serviceEndpoints list contains custom endpoints which will override default + service endpoint of GCP Services. + There must be only one ServiceEndpoint for a service. + items: + description: |- + GCPServiceEndpoint store the configuration of a custom url to + override existing defaults of GCP Services. + properties: + name: + description: |- + name is the name of the GCP service. + The list of all the service names can be found at https://developers.google.com/apis-explorer + 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 + required: + - name + - url + type: object + type: array + x-kubernetes-list-type: atomic type: object ibmcloud: description: ibmcloud contains settings specific to the @@ -2087,6 +2118,36 @@ spec: be configured during installation rule: self.all(x, x in oldSelf) && oldSelf.all(x, x in self) + serviceEndpoints: + description: |- + serviceEndpoints list contains custom endpoints which will override default + service endpoint of GCP Services. + There must be only one ServiceEndpoint for a service. + items: + description: |- + GCPServiceEndpoint store the configuration of a custom url to + override existing defaults of GCP Services. + properties: + name: + description: |- + name is the name of the GCP service. + The list of all the service names can be found at https://developers.google.com/apis-explorer + 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 + required: + - name + - url + type: object + type: array + x-kubernetes-list-type: atomic type: object x-kubernetes-validations: - message: resourceLabels may only be configured during 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 4fc2a73abcb..7dd840a7a02 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 @@ -498,6 +498,37 @@ spec: gcp: description: gcp contains settings specific to the Google Cloud Platform infrastructure provider. + properties: + serviceEndpoints: + description: |- + serviceEndpoints list contains custom endpoints which will override default + service endpoint of GCP Services. + There must be only one ServiceEndpoint for a service. + items: + description: |- + GCPServiceEndpoint store the configuration of a custom url to + override existing defaults of GCP Services. + properties: + name: + description: |- + name is the name of the GCP service. + The list of all the service names can be found at https://developers.google.com/apis-explorer + 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 + required: + - name + - url + type: object + type: array + x-kubernetes-list-type: atomic type: object ibmcloud: description: ibmcloud contains settings specific to the @@ -2087,6 +2118,36 @@ spec: be configured during installation rule: self.all(x, x in oldSelf) && oldSelf.all(x, x in self) + serviceEndpoints: + description: |- + serviceEndpoints list contains custom endpoints which will override default + service endpoint of GCP Services. + There must be only one ServiceEndpoint for a service. + items: + description: |- + GCPServiceEndpoint store the configuration of a custom url to + override existing defaults of GCP Services. + properties: + name: + description: |- + name is the name of the GCP service. + The list of all the service names can be found at https://developers.google.com/apis-explorer + 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 + required: + - name + - url + type: object + type: array + x-kubernetes-list-type: atomic type: object x-kubernetes-validations: - message: resourceLabels may only be configured during 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 e449ff012a3..9dad9b5a024 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 @@ -498,6 +498,37 @@ spec: gcp: description: gcp contains settings specific to the Google Cloud Platform infrastructure provider. + properties: + serviceEndpoints: + description: |- + serviceEndpoints list contains custom endpoints which will override default + service endpoint of GCP Services. + There must be only one ServiceEndpoint for a service. + items: + description: |- + GCPServiceEndpoint store the configuration of a custom url to + override existing defaults of GCP Services. + properties: + name: + description: |- + name is the name of the GCP service. + The list of all the service names can be found at https://developers.google.com/apis-explorer + 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 + required: + - name + - url + type: object + type: array + x-kubernetes-list-type: atomic type: object ibmcloud: description: ibmcloud contains settings specific to the @@ -1730,6 +1761,36 @@ spec: description: region holds the region for new GCP resources created for the cluster. type: string + serviceEndpoints: + description: |- + serviceEndpoints list contains custom endpoints which will override default + service endpoint of GCP Services. + There must be only one ServiceEndpoint for a service. + items: + description: |- + GCPServiceEndpoint store the configuration of a custom url to + override existing defaults of GCP Services. + properties: + name: + description: |- + name is the name of the GCP service. + The list of all the service names can be found at https://developers.google.com/apis-explorer + 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 + required: + - name + - url + type: object + type: array + x-kubernetes-list-type: atomic type: object ibmcloud: description: ibmcloud contains settings specific to the diff --git a/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/AWSClusterHostedDNS.yaml b/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/AWSClusterHostedDNS.yaml index d0002dd38e3..95dd50d41f9 100644 --- a/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/AWSClusterHostedDNS.yaml +++ b/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/AWSClusterHostedDNS.yaml @@ -498,6 +498,37 @@ spec: gcp: description: gcp contains settings specific to the Google Cloud Platform infrastructure provider. + properties: + serviceEndpoints: + description: |- + serviceEndpoints list contains custom endpoints which will override default + service endpoint of GCP Services. + There must be only one ServiceEndpoint for a service. + items: + description: |- + GCPServiceEndpoint store the configuration of a custom url to + override existing defaults of GCP Services. + properties: + name: + description: |- + name is the name of the GCP service. + The list of all the service names can be found at https://developers.google.com/apis-explorer + 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 + required: + - name + - url + type: object + type: array + x-kubernetes-list-type: atomic type: object ibmcloud: description: ibmcloud contains settings specific to the @@ -1827,6 +1858,36 @@ spec: description: region holds the region for new GCP resources created for the cluster. type: string + serviceEndpoints: + description: |- + serviceEndpoints list contains custom endpoints which will override default + service endpoint of GCP Services. + There must be only one ServiceEndpoint for a service. + items: + description: |- + GCPServiceEndpoint store the configuration of a custom url to + override existing defaults of GCP Services. + properties: + name: + description: |- + name is the name of the GCP service. + The list of all the service names can be found at https://developers.google.com/apis-explorer + 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 + required: + - name + - url + type: object + type: array + x-kubernetes-list-type: atomic type: object ibmcloud: description: ibmcloud contains settings specific to the diff --git a/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/BareMetalLoadBalancer.yaml b/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/BareMetalLoadBalancer.yaml index 3a74f508839..1d9cffcb889 100644 --- a/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/BareMetalLoadBalancer.yaml +++ b/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/BareMetalLoadBalancer.yaml @@ -498,6 +498,37 @@ spec: gcp: description: gcp contains settings specific to the Google Cloud Platform infrastructure provider. + properties: + serviceEndpoints: + description: |- + serviceEndpoints list contains custom endpoints which will override default + service endpoint of GCP Services. + There must be only one ServiceEndpoint for a service. + items: + description: |- + GCPServiceEndpoint store the configuration of a custom url to + override existing defaults of GCP Services. + properties: + name: + description: |- + name is the name of the GCP service. + The list of all the service names can be found at https://developers.google.com/apis-explorer + 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 + required: + - name + - url + type: object + type: array + x-kubernetes-list-type: atomic type: object ibmcloud: description: ibmcloud contains settings specific to the @@ -1749,6 +1780,36 @@ spec: description: region holds the region for new GCP resources created for the cluster. type: string + serviceEndpoints: + description: |- + serviceEndpoints list contains custom endpoints which will override default + service endpoint of GCP Services. + There must be only one ServiceEndpoint for a service. + items: + description: |- + GCPServiceEndpoint store the configuration of a custom url to + override existing defaults of GCP Services. + properties: + name: + description: |- + name is the name of the GCP service. + The list of all the service names can be found at https://developers.google.com/apis-explorer + 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 + required: + - name + - url + type: object + type: array + x-kubernetes-list-type: atomic type: object ibmcloud: description: ibmcloud contains settings specific to the diff --git a/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/GCPClusterHostedDNS.yaml b/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/GCPClusterHostedDNS.yaml index 50be0fc330f..8c216b5d3fa 100644 --- a/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/GCPClusterHostedDNS.yaml +++ b/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/GCPClusterHostedDNS.yaml @@ -498,6 +498,37 @@ spec: gcp: description: gcp contains settings specific to the Google Cloud Platform infrastructure provider. + properties: + serviceEndpoints: + description: |- + serviceEndpoints list contains custom endpoints which will override default + service endpoint of GCP Services. + There must be only one ServiceEndpoint for a service. + items: + description: |- + GCPServiceEndpoint store the configuration of a custom url to + override existing defaults of GCP Services. + properties: + name: + description: |- + name is the name of the GCP service. + The list of all the service names can be found at https://developers.google.com/apis-explorer + 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 + required: + - name + - url + type: object + type: array + x-kubernetes-list-type: atomic type: object ibmcloud: description: ibmcloud contains settings specific to the @@ -1827,6 +1858,36 @@ spec: description: region holds the region for new GCP resources created for the cluster. type: string + serviceEndpoints: + description: |- + serviceEndpoints list contains custom endpoints which will override default + service endpoint of GCP Services. + There must be only one ServiceEndpoint for a service. + items: + description: |- + GCPServiceEndpoint store the configuration of a custom url to + override existing defaults of GCP Services. + properties: + name: + description: |- + name is the name of the GCP service. + The list of all the service names can be found at https://developers.google.com/apis-explorer + 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 + required: + - name + - url + type: object + type: array + x-kubernetes-list-type: atomic type: object ibmcloud: description: ibmcloud contains settings specific to the diff --git a/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/GCPLabelsTags.yaml b/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/GCPLabelsTags.yaml index 1f8b9acfe8b..f7e83f4f948 100644 --- a/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/GCPLabelsTags.yaml +++ b/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/GCPLabelsTags.yaml @@ -498,6 +498,37 @@ spec: gcp: description: gcp contains settings specific to the Google Cloud Platform infrastructure provider. + properties: + serviceEndpoints: + description: |- + serviceEndpoints list contains custom endpoints which will override default + service endpoint of GCP Services. + There must be only one ServiceEndpoint for a service. + items: + description: |- + GCPServiceEndpoint store the configuration of a custom url to + override existing defaults of GCP Services. + properties: + name: + description: |- + name is the name of the GCP service. + The list of all the service names can be found at https://developers.google.com/apis-explorer + 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 + required: + - name + - url + type: object + type: array + x-kubernetes-list-type: atomic type: object ibmcloud: description: ibmcloud contains settings specific to the @@ -1825,6 +1856,36 @@ spec: be configured during installation rule: self.all(x, x in oldSelf) && oldSelf.all(x, x in self) + serviceEndpoints: + description: |- + serviceEndpoints list contains custom endpoints which will override default + service endpoint of GCP Services. + There must be only one ServiceEndpoint for a service. + items: + description: |- + GCPServiceEndpoint store the configuration of a custom url to + override existing defaults of GCP Services. + properties: + name: + description: |- + name is the name of the GCP service. + The list of all the service names can be found at https://developers.google.com/apis-explorer + 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 + required: + - name + - url + type: object + type: array + x-kubernetes-list-type: atomic type: object x-kubernetes-validations: - message: resourceLabels may only be configured during 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 eb50f2cddef..7ac2bb62a37 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 @@ -498,6 +498,37 @@ spec: gcp: description: gcp contains settings specific to the Google Cloud Platform infrastructure provider. + properties: + serviceEndpoints: + description: |- + serviceEndpoints list contains custom endpoints which will override default + service endpoint of GCP Services. + There must be only one ServiceEndpoint for a service. + items: + description: |- + GCPServiceEndpoint store the configuration of a custom url to + override existing defaults of GCP Services. + properties: + name: + description: |- + name is the name of the GCP service. + The list of all the service names can be found at https://developers.google.com/apis-explorer + 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 + required: + - name + - url + type: object + type: array + x-kubernetes-list-type: atomic type: object ibmcloud: description: ibmcloud contains settings specific to the @@ -1728,6 +1759,36 @@ spec: description: region holds the region for new GCP resources created for the cluster. type: string + serviceEndpoints: + description: |- + serviceEndpoints list contains custom endpoints which will override default + service endpoint of GCP Services. + There must be only one ServiceEndpoint for a service. + items: + description: |- + GCPServiceEndpoint store the configuration of a custom url to + override existing defaults of GCP Services. + properties: + name: + description: |- + name is the name of the GCP service. + The list of all the service names can be found at https://developers.google.com/apis-explorer + 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 + required: + - name + - url + type: object + type: array + x-kubernetes-list-type: atomic type: object ibmcloud: description: ibmcloud contains settings specific to the 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 511b90e31ca..6fc56f4a270 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 @@ -498,6 +498,37 @@ spec: gcp: description: gcp contains settings specific to the Google Cloud Platform infrastructure provider. + properties: + serviceEndpoints: + description: |- + serviceEndpoints list contains custom endpoints which will override default + service endpoint of GCP Services. + There must be only one ServiceEndpoint for a service. + items: + description: |- + GCPServiceEndpoint store the configuration of a custom url to + override existing defaults of GCP Services. + properties: + name: + description: |- + name is the name of the GCP service. + The list of all the service names can be found at https://developers.google.com/apis-explorer + 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 + required: + - name + - url + type: object + type: array + x-kubernetes-list-type: atomic type: object ibmcloud: description: ibmcloud contains settings specific to the @@ -1729,6 +1760,36 @@ spec: description: region holds the region for new GCP resources created for the cluster. type: string + serviceEndpoints: + description: |- + serviceEndpoints list contains custom endpoints which will override default + service endpoint of GCP Services. + There must be only one ServiceEndpoint for a service. + items: + description: |- + GCPServiceEndpoint store the configuration of a custom url to + override existing defaults of GCP Services. + properties: + name: + description: |- + name is the name of the GCP service. + The list of all the service names can be found at https://developers.google.com/apis-explorer + 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 + required: + - name + - url + type: object + type: array + x-kubernetes-list-type: atomic type: object ibmcloud: description: ibmcloud contains settings specific to the diff --git a/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/VSphereControlPlaneMachineSet.yaml b/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/VSphereControlPlaneMachineSet.yaml index bc84d204eb1..f26b26007d3 100644 --- a/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/VSphereControlPlaneMachineSet.yaml +++ b/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/VSphereControlPlaneMachineSet.yaml @@ -498,6 +498,37 @@ spec: gcp: description: gcp contains settings specific to the Google Cloud Platform infrastructure provider. + properties: + serviceEndpoints: + description: |- + serviceEndpoints list contains custom endpoints which will override default + service endpoint of GCP Services. + There must be only one ServiceEndpoint for a service. + items: + description: |- + GCPServiceEndpoint store the configuration of a custom url to + override existing defaults of GCP Services. + properties: + name: + description: |- + name is the name of the GCP service. + The list of all the service names can be found at https://developers.google.com/apis-explorer + 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 + required: + - name + - url + type: object + type: array + x-kubernetes-list-type: atomic type: object ibmcloud: description: ibmcloud contains settings specific to the @@ -1738,6 +1769,36 @@ spec: description: region holds the region for new GCP resources created for the cluster. type: string + serviceEndpoints: + description: |- + serviceEndpoints list contains custom endpoints which will override default + service endpoint of GCP Services. + There must be only one ServiceEndpoint for a service. + items: + description: |- + GCPServiceEndpoint store the configuration of a custom url to + override existing defaults of GCP Services. + properties: + name: + description: |- + name is the name of the GCP service. + The list of all the service names can be found at https://developers.google.com/apis-explorer + 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 + required: + - name + - url + type: object + type: array + x-kubernetes-list-type: atomic type: object ibmcloud: description: ibmcloud contains settings specific to the 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 2f7e420a2ae..19c9cf5b028 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 @@ -498,6 +498,37 @@ spec: gcp: description: gcp contains settings specific to the Google Cloud Platform infrastructure provider. + properties: + serviceEndpoints: + description: |- + serviceEndpoints list contains custom endpoints which will override default + service endpoint of GCP Services. + There must be only one ServiceEndpoint for a service. + items: + description: |- + GCPServiceEndpoint store the configuration of a custom url to + override existing defaults of GCP Services. + properties: + name: + description: |- + name is the name of the GCP service. + The list of all the service names can be found at https://developers.google.com/apis-explorer + 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 + required: + - name + - url + type: object + type: array + x-kubernetes-list-type: atomic type: object ibmcloud: description: ibmcloud contains settings specific to the @@ -1724,6 +1755,36 @@ spec: description: region holds the region for new GCP resources created for the cluster. type: string + serviceEndpoints: + description: |- + serviceEndpoints list contains custom endpoints which will override default + service endpoint of GCP Services. + There must be only one ServiceEndpoint for a service. + items: + description: |- + GCPServiceEndpoint store the configuration of a custom url to + override existing defaults of GCP Services. + properties: + name: + description: |- + name is the name of the GCP service. + The list of all the service names can be found at https://developers.google.com/apis-explorer + 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 + required: + - name + - url + type: object + type: array + x-kubernetes-list-type: atomic type: object ibmcloud: description: ibmcloud contains settings specific to the diff --git a/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/VSphereMultiVCenters.yaml b/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/VSphereMultiVCenters.yaml index 6c5adce4516..abb0d65adc2 100644 --- a/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/VSphereMultiVCenters.yaml +++ b/machineconfiguration/v1/zz_generated.featuregated-crd-manifests/controllerconfigs.machineconfiguration.openshift.io/VSphereMultiVCenters.yaml @@ -498,6 +498,37 @@ spec: gcp: description: gcp contains settings specific to the Google Cloud Platform infrastructure provider. + properties: + serviceEndpoints: + description: |- + serviceEndpoints list contains custom endpoints which will override default + service endpoint of GCP Services. + There must be only one ServiceEndpoint for a service. + items: + description: |- + GCPServiceEndpoint store the configuration of a custom url to + override existing defaults of GCP Services. + properties: + name: + description: |- + name is the name of the GCP service. + The list of all the service names can be found at https://developers.google.com/apis-explorer + 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 + required: + - name + - url + type: object + type: array + x-kubernetes-list-type: atomic type: object ibmcloud: description: ibmcloud contains settings specific to the @@ -1724,6 +1755,36 @@ spec: description: region holds the region for new GCP resources created for the cluster. type: string + serviceEndpoints: + description: |- + serviceEndpoints list contains custom endpoints which will override default + service endpoint of GCP Services. + There must be only one ServiceEndpoint for a service. + items: + description: |- + GCPServiceEndpoint store the configuration of a custom url to + override existing defaults of GCP Services. + properties: + name: + description: |- + name is the name of the GCP service. + The list of all the service names can be found at https://developers.google.com/apis-explorer + 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 + required: + - name + - url + type: object + type: array + x-kubernetes-list-type: atomic type: object ibmcloud: description: ibmcloud contains settings specific to the diff --git a/openapi/generated_openapi/zz_generated.openapi.go b/openapi/generated_openapi/zz_generated.openapi.go index 8b3e977fb6a..a80005d9b91 100644 --- a/openapi/generated_openapi/zz_generated.openapi.go +++ b/openapi/generated_openapi/zz_generated.openapi.go @@ -243,6 +243,7 @@ func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenA "github.com/openshift/api/config/v1.GCPPlatformStatus": schema_openshift_api_config_v1_GCPPlatformStatus(ref), "github.com/openshift/api/config/v1.GCPResourceLabel": schema_openshift_api_config_v1_GCPResourceLabel(ref), "github.com/openshift/api/config/v1.GCPResourceTag": schema_openshift_api_config_v1_GCPResourceTag(ref), + "github.com/openshift/api/config/v1.GCPServiceEndpoint": schema_openshift_api_config_v1_GCPServiceEndpoint(ref), "github.com/openshift/api/config/v1.GenericAPIServerConfig": schema_openshift_api_config_v1_GenericAPIServerConfig(ref), "github.com/openshift/api/config/v1.GenericControllerConfig": schema_openshift_api_config_v1_GenericControllerConfig(ref), "github.com/openshift/api/config/v1.GitHubIdentityProvider": schema_openshift_api_config_v1_GitHubIdentityProvider(ref), @@ -12514,8 +12515,31 @@ func schema_openshift_api_config_v1_GCPPlatformSpec(ref common.ReferenceCallback SchemaProps: spec.SchemaProps{ Description: "GCPPlatformSpec holds the desired state of the Google Cloud Platform infrastructure provider. This only includes fields that can be modified in the cluster.", Type: []string{"object"}, + Properties: map[string]spec.Schema{ + "serviceEndpoints": { + VendorExtensible: spec.VendorExtensible{ + Extensions: spec.Extensions{ + "x-kubernetes-list-type": "atomic", + }, + }, + SchemaProps: spec.SchemaProps{ + Description: "serviceEndpoints list contains custom endpoints which will override default service endpoint of GCP Services. There must be only one ServiceEndpoint for a service.", + Type: []string{"array"}, + Items: &spec.SchemaOrArray{ + Schema: &spec.Schema{ + SchemaProps: spec.SchemaProps{ + Default: map[string]interface{}{}, + Ref: ref("github.com/openshift/api/config/v1.GCPServiceEndpoint"), + }, + }, + }, + }, + }, + }, }, }, + Dependencies: []string{ + "github.com/openshift/api/config/v1.GCPServiceEndpoint"}, } } @@ -12593,12 +12617,31 @@ func schema_openshift_api_config_v1_GCPPlatformStatus(ref common.ReferenceCallba Ref: ref("github.com/openshift/api/config/v1.CloudLoadBalancerConfig"), }, }, + "serviceEndpoints": { + VendorExtensible: spec.VendorExtensible{ + Extensions: spec.Extensions{ + "x-kubernetes-list-type": "atomic", + }, + }, + SchemaProps: spec.SchemaProps{ + Description: "serviceEndpoints list contains custom endpoints which will override default service endpoint of GCP Services. There must be only one ServiceEndpoint for a service.", + Type: []string{"array"}, + Items: &spec.SchemaOrArray{ + Schema: &spec.Schema{ + SchemaProps: spec.SchemaProps{ + Default: map[string]interface{}{}, + Ref: ref("github.com/openshift/api/config/v1.GCPServiceEndpoint"), + }, + }, + }, + }, + }, }, Required: []string{"projectID", "region"}, }, }, Dependencies: []string{ - "github.com/openshift/api/config/v1.CloudLoadBalancerConfig", "github.com/openshift/api/config/v1.GCPResourceLabel", "github.com/openshift/api/config/v1.GCPResourceTag"}, + "github.com/openshift/api/config/v1.CloudLoadBalancerConfig", "github.com/openshift/api/config/v1.GCPResourceLabel", "github.com/openshift/api/config/v1.GCPResourceTag", "github.com/openshift/api/config/v1.GCPServiceEndpoint"}, } } @@ -12670,6 +12713,36 @@ func schema_openshift_api_config_v1_GCPResourceTag(ref common.ReferenceCallback) } } +func schema_openshift_api_config_v1_GCPServiceEndpoint(ref common.ReferenceCallback) common.OpenAPIDefinition { + return common.OpenAPIDefinition{ + Schema: spec.Schema{ + SchemaProps: spec.SchemaProps{ + Description: "GCPServiceEndpoint store the configuration of a custom url to override existing defaults of GCP Services.", + Type: []string{"object"}, + Properties: map[string]spec.Schema{ + "name": { + SchemaProps: spec.SchemaProps{ + Description: "name is the name of the GCP service. The list of all the service names can be found at https://developers.google.com/apis-explorer This must be provided and cannot be empty.", + Default: "", + Type: []string{"string"}, + Format: "", + }, + }, + "url": { + SchemaProps: spec.SchemaProps{ + 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.", + Default: "", + Type: []string{"string"}, + Format: "", + }, + }, + }, + Required: []string{"name", "url"}, + }, + }, + } +} + func schema_openshift_api_config_v1_GenericAPIServerConfig(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ diff --git a/openapi/openapi.json b/openapi/openapi.json index 343dcd3b717..af9c46f4961 100644 --- a/openapi/openapi.json +++ b/openapi/openapi.json @@ -6463,7 +6463,18 @@ }, "com.github.openshift.api.config.v1.GCPPlatformSpec": { "description": "GCPPlatformSpec holds the desired state of the Google Cloud Platform infrastructure provider. This only includes fields that can be modified in the cluster.", - "type": "object" + "type": "object", + "properties": { + "serviceEndpoints": { + "description": "serviceEndpoints list contains custom endpoints which will override default service endpoint of GCP Services. There must be only one ServiceEndpoint for a service.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/com.github.openshift.api.config.v1.GCPServiceEndpoint" + }, + "x-kubernetes-list-type": "atomic" + } + } }, "com.github.openshift.api.config.v1.GCPPlatformStatus": { "description": "GCPPlatformStatus holds the current status of the Google Cloud Platform infrastructure provider.", @@ -6513,6 +6524,15 @@ "key" ], "x-kubernetes-list-type": "map" + }, + "serviceEndpoints": { + "description": "serviceEndpoints list contains custom endpoints which will override default service endpoint of GCP Services. There must be only one ServiceEndpoint for a service.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/com.github.openshift.api.config.v1.GCPServiceEndpoint" + }, + "x-kubernetes-list-type": "atomic" } } }, @@ -6562,6 +6582,26 @@ } } }, + "com.github.openshift.api.config.v1.GCPServiceEndpoint": { + "description": "GCPServiceEndpoint store the configuration of a custom url to override existing defaults of GCP Services.", + "type": "object", + "required": [ + "name", + "url" + ], + "properties": { + "name": { + "description": "name is the name of the GCP service. The list of all the service names can be found at https://developers.google.com/apis-explorer This must be provided and cannot be empty.", + "type": "string", + "default": "" + }, + "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.", + "type": "string", + "default": "" + } + } + }, "com.github.openshift.api.config.v1.GenericAPIServerConfig": { "description": "GenericAPIServerConfig is an inline-able struct for aggregated apiservers that need to store data in etcd", "type": "object", 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 299a6d52a17..95345139d5f 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 @@ -219,6 +219,37 @@ spec: gcp: description: gcp contains settings specific to the Google Cloud Platform infrastructure provider. + properties: + serviceEndpoints: + description: |- + serviceEndpoints list contains custom endpoints which will override default + service endpoint of GCP Services. + There must be only one ServiceEndpoint for a service. + items: + description: |- + GCPServiceEndpoint store the configuration of a custom url to + override existing defaults of GCP Services. + properties: + name: + description: |- + name is the name of the GCP service. + The list of all the service names can be found at https://developers.google.com/apis-explorer + 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 + required: + - name + - url + type: object + type: array + x-kubernetes-list-type: atomic type: object ibmcloud: description: ibmcloud contains settings specific to the IBMCloud @@ -1808,6 +1839,36 @@ spec: - message: resourceTags are immutable and may only be configured during installation rule: self.all(x, x in oldSelf) && oldSelf.all(x, x in self) + serviceEndpoints: + description: |- + serviceEndpoints list contains custom endpoints which will override default + service endpoint of GCP Services. + There must be only one ServiceEndpoint for a service. + items: + description: |- + GCPServiceEndpoint store the configuration of a custom url to + override existing defaults of GCP Services. + properties: + name: + description: |- + name is the name of the GCP service. + The list of all the service names can be found at https://developers.google.com/apis-explorer + 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 + required: + - name + - url + type: object + type: array + x-kubernetes-list-type: atomic type: object x-kubernetes-validations: - message: resourceLabels may only be configured during installation 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 55ec17de53a..262a8398ad6 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 @@ -219,6 +219,37 @@ spec: gcp: description: gcp contains settings specific to the Google Cloud Platform infrastructure provider. + properties: + serviceEndpoints: + description: |- + serviceEndpoints list contains custom endpoints which will override default + service endpoint of GCP Services. + There must be only one ServiceEndpoint for a service. + items: + description: |- + GCPServiceEndpoint store the configuration of a custom url to + override existing defaults of GCP Services. + properties: + name: + description: |- + name is the name of the GCP service. + The list of all the service names can be found at https://developers.google.com/apis-explorer + 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 + required: + - name + - url + type: object + type: array + x-kubernetes-list-type: atomic type: object ibmcloud: description: ibmcloud contains settings specific to the IBMCloud @@ -1584,6 +1615,36 @@ spec: - message: resourceTags are immutable and may only be configured during installation rule: self.all(x, x in oldSelf) && oldSelf.all(x, x in self) + serviceEndpoints: + description: |- + serviceEndpoints list contains custom endpoints which will override default + service endpoint of GCP Services. + There must be only one ServiceEndpoint for a service. + items: + description: |- + GCPServiceEndpoint store the configuration of a custom url to + override existing defaults of GCP Services. + properties: + name: + description: |- + name is the name of the GCP service. + The list of all the service names can be found at https://developers.google.com/apis-explorer + 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 + required: + - name + - url + type: object + type: array + x-kubernetes-list-type: atomic type: object x-kubernetes-validations: - message: resourceLabels may only be configured during installation 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 9b6a6716a51..67f73cd0e15 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 @@ -219,6 +219,37 @@ spec: gcp: description: gcp contains settings specific to the Google Cloud Platform infrastructure provider. + properties: + serviceEndpoints: + description: |- + serviceEndpoints list contains custom endpoints which will override default + service endpoint of GCP Services. + There must be only one ServiceEndpoint for a service. + items: + description: |- + GCPServiceEndpoint store the configuration of a custom url to + override existing defaults of GCP Services. + properties: + name: + description: |- + name is the name of the GCP service. + The list of all the service names can be found at https://developers.google.com/apis-explorer + 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 + required: + - name + - url + type: object + type: array + x-kubernetes-list-type: atomic type: object ibmcloud: description: ibmcloud contains settings specific to the IBMCloud @@ -1808,6 +1839,36 @@ spec: - message: resourceTags are immutable and may only be configured during installation rule: self.all(x, x in oldSelf) && oldSelf.all(x, x in self) + serviceEndpoints: + description: |- + serviceEndpoints list contains custom endpoints which will override default + service endpoint of GCP Services. + There must be only one ServiceEndpoint for a service. + items: + description: |- + GCPServiceEndpoint store the configuration of a custom url to + override existing defaults of GCP Services. + properties: + name: + description: |- + name is the name of the GCP service. + The list of all the service names can be found at https://developers.google.com/apis-explorer + 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 + required: + - name + - url + type: object + type: array + x-kubernetes-list-type: atomic type: object x-kubernetes-validations: - message: resourceLabels may only be configured during installation 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 b0c12e2eb22..24109046ca6 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 @@ -219,6 +219,37 @@ spec: gcp: description: gcp contains settings specific to the Google Cloud Platform infrastructure provider. + properties: + serviceEndpoints: + description: |- + serviceEndpoints list contains custom endpoints which will override default + service endpoint of GCP Services. + There must be only one ServiceEndpoint for a service. + items: + description: |- + GCPServiceEndpoint store the configuration of a custom url to + override existing defaults of GCP Services. + properties: + name: + description: |- + name is the name of the GCP service. + The list of all the service names can be found at https://developers.google.com/apis-explorer + 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 + required: + - name + - url + type: object + type: array + x-kubernetes-list-type: atomic type: object ibmcloud: description: ibmcloud contains settings specific to the IBMCloud @@ -1808,6 +1839,36 @@ spec: - message: resourceTags are immutable and may only be configured during installation rule: self.all(x, x in oldSelf) && oldSelf.all(x, x in self) + serviceEndpoints: + description: |- + serviceEndpoints list contains custom endpoints which will override default + service endpoint of GCP Services. + There must be only one ServiceEndpoint for a service. + items: + description: |- + GCPServiceEndpoint store the configuration of a custom url to + override existing defaults of GCP Services. + properties: + name: + description: |- + name is the name of the GCP service. + The list of all the service names can be found at https://developers.google.com/apis-explorer + 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 + required: + - name + - url + type: object + type: array + x-kubernetes-list-type: atomic type: object x-kubernetes-validations: - message: resourceLabels may only be configured during installation 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 b51ea7a749e..4e8bfd0b0b2 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 @@ -498,6 +498,37 @@ spec: gcp: description: gcp contains settings specific to the Google Cloud Platform infrastructure provider. + properties: + serviceEndpoints: + description: |- + serviceEndpoints list contains custom endpoints which will override default + service endpoint of GCP Services. + There must be only one ServiceEndpoint for a service. + items: + description: |- + GCPServiceEndpoint store the configuration of a custom url to + override existing defaults of GCP Services. + properties: + name: + description: |- + name is the name of the GCP service. + The list of all the service names can be found at https://developers.google.com/apis-explorer + 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 + required: + - name + - url + type: object + type: array + x-kubernetes-list-type: atomic type: object ibmcloud: description: ibmcloud contains settings specific to the @@ -2087,6 +2118,36 @@ spec: be configured during installation rule: self.all(x, x in oldSelf) && oldSelf.all(x, x in self) + serviceEndpoints: + description: |- + serviceEndpoints list contains custom endpoints which will override default + service endpoint of GCP Services. + There must be only one ServiceEndpoint for a service. + items: + description: |- + GCPServiceEndpoint store the configuration of a custom url to + override existing defaults of GCP Services. + properties: + name: + description: |- + name is the name of the GCP service. + The list of all the service names can be found at https://developers.google.com/apis-explorer + 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 + required: + - name + - url + type: object + type: array + x-kubernetes-list-type: atomic type: object x-kubernetes-validations: - message: resourceLabels may only be configured during 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 5886525c9ab..7594a2adb4b 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 @@ -498,6 +498,37 @@ spec: gcp: description: gcp contains settings specific to the Google Cloud Platform infrastructure provider. + properties: + serviceEndpoints: + description: |- + serviceEndpoints list contains custom endpoints which will override default + service endpoint of GCP Services. + There must be only one ServiceEndpoint for a service. + items: + description: |- + GCPServiceEndpoint store the configuration of a custom url to + override existing defaults of GCP Services. + properties: + name: + description: |- + name is the name of the GCP service. + The list of all the service names can be found at https://developers.google.com/apis-explorer + 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 + required: + - name + - url + type: object + type: array + x-kubernetes-list-type: atomic type: object ibmcloud: description: ibmcloud contains settings specific to the @@ -1873,6 +1904,36 @@ spec: be configured during installation rule: self.all(x, x in oldSelf) && oldSelf.all(x, x in self) + serviceEndpoints: + description: |- + serviceEndpoints list contains custom endpoints which will override default + service endpoint of GCP Services. + There must be only one ServiceEndpoint for a service. + items: + description: |- + GCPServiceEndpoint store the configuration of a custom url to + override existing defaults of GCP Services. + properties: + name: + description: |- + name is the name of the GCP service. + The list of all the service names can be found at https://developers.google.com/apis-explorer + 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 + required: + - name + - url + type: object + type: array + x-kubernetes-list-type: atomic type: object x-kubernetes-validations: - message: resourceLabels may only be configured during 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 dbc9258d236..7f98282b51a 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 @@ -498,6 +498,37 @@ spec: gcp: description: gcp contains settings specific to the Google Cloud Platform infrastructure provider. + properties: + serviceEndpoints: + description: |- + serviceEndpoints list contains custom endpoints which will override default + service endpoint of GCP Services. + There must be only one ServiceEndpoint for a service. + items: + description: |- + GCPServiceEndpoint store the configuration of a custom url to + override existing defaults of GCP Services. + properties: + name: + description: |- + name is the name of the GCP service. + The list of all the service names can be found at https://developers.google.com/apis-explorer + 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 + required: + - name + - url + type: object + type: array + x-kubernetes-list-type: atomic type: object ibmcloud: description: ibmcloud contains settings specific to the @@ -2087,6 +2118,36 @@ spec: be configured during installation rule: self.all(x, x in oldSelf) && oldSelf.all(x, x in self) + serviceEndpoints: + description: |- + serviceEndpoints list contains custom endpoints which will override default + service endpoint of GCP Services. + There must be only one ServiceEndpoint for a service. + items: + description: |- + GCPServiceEndpoint store the configuration of a custom url to + override existing defaults of GCP Services. + properties: + name: + description: |- + name is the name of the GCP service. + The list of all the service names can be found at https://developers.google.com/apis-explorer + 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 + required: + - name + - url + type: object + type: array + x-kubernetes-list-type: atomic type: object x-kubernetes-validations: - message: resourceLabels may only be configured during 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 4fc2a73abcb..7dd840a7a02 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 @@ -498,6 +498,37 @@ spec: gcp: description: gcp contains settings specific to the Google Cloud Platform infrastructure provider. + properties: + serviceEndpoints: + description: |- + serviceEndpoints list contains custom endpoints which will override default + service endpoint of GCP Services. + There must be only one ServiceEndpoint for a service. + items: + description: |- + GCPServiceEndpoint store the configuration of a custom url to + override existing defaults of GCP Services. + properties: + name: + description: |- + name is the name of the GCP service. + The list of all the service names can be found at https://developers.google.com/apis-explorer + 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 + required: + - name + - url + type: object + type: array + x-kubernetes-list-type: atomic type: object ibmcloud: description: ibmcloud contains settings specific to the @@ -2087,6 +2118,36 @@ spec: be configured during installation rule: self.all(x, x in oldSelf) && oldSelf.all(x, x in self) + serviceEndpoints: + description: |- + serviceEndpoints list contains custom endpoints which will override default + service endpoint of GCP Services. + There must be only one ServiceEndpoint for a service. + items: + description: |- + GCPServiceEndpoint store the configuration of a custom url to + override existing defaults of GCP Services. + properties: + name: + description: |- + name is the name of the GCP service. + The list of all the service names can be found at https://developers.google.com/apis-explorer + 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 + required: + - name + - url + type: object + type: array + x-kubernetes-list-type: atomic type: object x-kubernetes-validations: - message: resourceLabels may only be configured during