From 5a11be766f1bbfa471c5c6212c3a0531196225eb Mon Sep 17 00:00:00 2001 From: Ben Perry Date: Mon, 6 Jul 2026 13:17:18 -0500 Subject: [PATCH 1/2] go mod vendor for node replacement fix --- go.mod | 6 +- go.sum | 8 +- .../openshift/api/apps/.codegen.yaml | 2 + .../openshift/api/authorization/.codegen.yaml | 2 + .../openshift/api/build/.codegen.yaml | 2 + .../openshift/api/cloudnetwork/.codegen.yaml | 2 + .../openshift/api/config/v1/register.go | 2 + .../api/config/v1/types_cluster_version.go | 25 +- .../types_crio_credential_provider_config.go | 186 + .../api/config/v1/types_infrastructure.go | 16 + .../openshift/api/config/v1/types_network.go | 3 + .../api/config/v1/zz_generated.deepcopy.go | 109 + ..._generated.featuregated-crd-manifests.yaml | 27 + .../api/config/v1/zz_generated.model_name.go | 20 + .../v1/zz_generated.swagger_doc_generated.go | 47 +- .../v1alpha1/types_cluster_monitoring.go | 66 +- .../config/v1alpha1/zz_generated.deepcopy.go | 7 +- .../zz_generated.swagger_doc_generated.go | 15 +- vendor/github.com/openshift/api/features.md | 12 +- .../openshift/api/features/features.go | 43 +- .../openshift/api/image/.codegen.yaml | 5 + .../openshift/api/network/.codegen.yaml | 5 +- .../api/networkoperator/.codegen.yaml | 2 + .../openshift/api/oauth/.codegen.yaml | 2 + .../openshift/api/operator/v1/types.go | 10 + .../api/operator/v1/types_authentication.go | 88 + .../operator/v1/types_csi_cluster_driver.go | 175 +- .../operator/v1/types_ingresscontroller.go | 98 + .../api/operator/v1/zz_generated.deepcopy.go | 156 + ..._generated.featuregated-crd-manifests.yaml | 2 + .../operator/v1/zz_generated.model_name.go | 40 + .../v1/zz_generated.swagger_doc_generated.go | 106 +- .../openshift/api/project/.codegen.yaml | 2 + .../openshift/api/quota/.codegen.yaml | 2 + .../openshift/api/route/.codegen.yaml | 2 + .../openshift/api/samples/.codegen.yaml | 2 + .../openshift/api/security/.codegen.yaml | 2 + .../openshift/api/template/.codegen.yaml | 2 + .../openshift/api/user/.codegen.yaml | 2 + .../applyconfigurations/internal/internal.go | 2086 +++---- .../config/v1/criocredentialproviderconfig.go | 285 + .../v1/criocredentialproviderconfigspec.go | 72 + .../v1/criocredentialproviderconfigstatus.go | 41 + .../config/v1/infrastructurespec.go | 22 + .../config/v1/networkobservabilityspec.go | 3 + .../v1alpha1/remotewriteauthorization.go | 36 +- .../config/v1alpha1/remotewritespec.go | 2 +- .../applyconfigurations/internal/internal.go | 5442 +++++++++-------- .../config/applyconfigurations/utils.go | 6 + .../typed/config/v1/config_client.go | 5 + .../config/v1/criocredentialproviderconfig.go | 58 + .../config/v1/fake/fake_config_client.go | 4 + .../fake/fake_criocredentialproviderconfig.go | 37 + .../typed/config/v1/generated_expansion.go | 2 + .../config/v1/criocredentialproviderconfig.go | 85 + .../externalversions/config/v1/interface.go | 7 + .../informers/externalversions/generic.go | 2 + .../config/v1/criocredentialproviderconfig.go | 32 + .../listers/config/v1/expansion_generated.go | 4 + .../applyconfigurations/internal/internal.go | 1503 +++-- .../v1/authenticationconfigmapreference.go | 30 + .../operator/v1/authenticationproxyconfig.go | 79 + .../operator/v1/authenticationspec.go | 16 + .../v1/awsnetworkloadbalancerparameters.go | 35 + .../operator/v1/csidriverconfigspec.go | 12 +- .../operator/v1/customsecretrotation.go | 35 + .../operator/v1/ingresscontrollerspec.go | 29 + .../operator/v1/ingresscontrollerstatus.go | 18 + .../operator/v1/managedtokenrequests.go | 43 + .../operator/v1/nodestatus.go | 16 + .../v1/secretsstorecsidriverconfigspec.go | 40 + .../operator/v1/secretsstoresecretrotation.go | 46 + .../operator/v1/secretsstoretokenrequest.go | 41 + .../operator/v1/secretsstoretokenrequests.go | 47 + .../operator/applyconfigurations/utils.go | 16 + .../applyconfigurations/internal/internal.go | 270 +- .../applyconfigurations/internal/internal.go | 280 +- .../applyconfigurations/internal/internal.go | 264 +- .../applyconfigurations/internal/internal.go | 226 +- vendor/modules.txt | 6 +- 80 files changed, 7545 insertions(+), 5041 deletions(-) create mode 100644 vendor/github.com/openshift/api/apps/.codegen.yaml create mode 100644 vendor/github.com/openshift/api/authorization/.codegen.yaml create mode 100644 vendor/github.com/openshift/api/build/.codegen.yaml create mode 100644 vendor/github.com/openshift/api/config/v1/types_crio_credential_provider_config.go create mode 100644 vendor/github.com/openshift/api/project/.codegen.yaml create mode 100644 vendor/github.com/openshift/api/quota/.codegen.yaml create mode 100644 vendor/github.com/openshift/api/security/.codegen.yaml create mode 100644 vendor/github.com/openshift/api/template/.codegen.yaml create mode 100644 vendor/github.com/openshift/api/user/.codegen.yaml create mode 100644 vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/criocredentialproviderconfig.go create mode 100644 vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/criocredentialproviderconfigspec.go create mode 100644 vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/criocredentialproviderconfigstatus.go create mode 100644 vendor/github.com/openshift/client-go/config/clientset/versioned/typed/config/v1/criocredentialproviderconfig.go create mode 100644 vendor/github.com/openshift/client-go/config/clientset/versioned/typed/config/v1/fake/fake_criocredentialproviderconfig.go create mode 100644 vendor/github.com/openshift/client-go/config/informers/externalversions/config/v1/criocredentialproviderconfig.go create mode 100644 vendor/github.com/openshift/client-go/config/listers/config/v1/criocredentialproviderconfig.go create mode 100644 vendor/github.com/openshift/client-go/operator/applyconfigurations/operator/v1/authenticationconfigmapreference.go create mode 100644 vendor/github.com/openshift/client-go/operator/applyconfigurations/operator/v1/authenticationproxyconfig.go create mode 100644 vendor/github.com/openshift/client-go/operator/applyconfigurations/operator/v1/customsecretrotation.go create mode 100644 vendor/github.com/openshift/client-go/operator/applyconfigurations/operator/v1/managedtokenrequests.go create mode 100644 vendor/github.com/openshift/client-go/operator/applyconfigurations/operator/v1/secretsstorecsidriverconfigspec.go create mode 100644 vendor/github.com/openshift/client-go/operator/applyconfigurations/operator/v1/secretsstoresecretrotation.go create mode 100644 vendor/github.com/openshift/client-go/operator/applyconfigurations/operator/v1/secretsstoretokenrequest.go create mode 100644 vendor/github.com/openshift/client-go/operator/applyconfigurations/operator/v1/secretsstoretokenrequests.go diff --git a/go.mod b/go.mod index fee8df607e..895640f288 100644 --- a/go.mod +++ b/go.mod @@ -2,6 +2,10 @@ module github.com/openshift/library-go go 1.25.0 +replace github.com/openshift/api => github.com/bhperry/openshift-api v0.0.0-20260709150816-69d6f1b49426 + +replace github.com/openshift/client-go => github.com/bhperry/openshift-client-go v0.0.0-20260709151625-a8b452b3b0e4 + require ( github.com/RangelReale/osincli v0.0.0-20160924135400-fababb0555f2 github.com/blang/semver/v4 v4.0.0 @@ -18,7 +22,7 @@ require ( github.com/onsi/gomega v1.38.2 github.com/opencontainers/go-digest v1.0.0 github.com/opencontainers/selinux v1.13.0 - github.com/openshift/api v0.0.0-20260619095050-5346161d1bf2 + github.com/openshift/api v0.0.0-20260702202555-ef71f942ef6c github.com/openshift/build-machinery-go v0.0.0-20250530140348-dc5b2804eeee github.com/openshift/client-go v0.0.0-20260618131434-17fd91ed6167 github.com/pkg/errors v0.9.1 diff --git a/go.sum b/go.sum index 7fadd33b04..e6864f66fb 100644 --- a/go.sum +++ b/go.sum @@ -20,6 +20,10 @@ github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24 github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8= github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM= github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw= +github.com/bhperry/openshift-api v0.0.0-20260709150816-69d6f1b49426 h1:zahkrQj9Jei8+t9yXabDHc75Ha+Holy3kQsdcKXv+oY= +github.com/bhperry/openshift-api v0.0.0-20260709150816-69d6f1b49426/go.mod h1:7WJ3IPaK6nmWT8bDcaNooHqd0H5WepjVqV/10VlkMEM= +github.com/bhperry/openshift-client-go v0.0.0-20260709151625-a8b452b3b0e4 h1:TE5qVIcGuDyZpBhFACCxpaiRbGCfhl1zhiLzJxj0Y/Q= +github.com/bhperry/openshift-client-go v0.0.0-20260709151625-a8b452b3b0e4/go.mod h1:3f9XJ35WKsA7bY5Nl5LbFGzjVgqa2MRqHm4+7Sluo2g= github.com/blang/semver/v4 v4.0.0 h1:1PFHFE6yCCTv8C1TeyNNarDzntLi7wMI5i/pzqYIsAM= github.com/blang/semver/v4 v4.0.0/go.mod h1:IbckMUScFkM3pff0VJDNKRiT6TG/YpiHIM2yvyW5YoQ= github.com/cenkalti/backoff/v4 v4.3.0 h1:MyRJ/UdXutAwSAT+s3wNd7MfTIcy71VQueUuFK343L8= @@ -251,12 +255,8 @@ github.com/opencontainers/image-spec v1.0.2 h1:9yCKha/T5XdGtO0q9Q9a6T5NUCsTn/DrB github.com/opencontainers/image-spec v1.0.2/go.mod h1:BtxoFyWECRxE4U/7sNtV5W15zMzWCbyJoFRP3s7yZA0= github.com/opencontainers/selinux v1.13.0 h1:Zza88GWezyT7RLql12URvoxsbLfjFx988+LGaWfbL84= github.com/opencontainers/selinux v1.13.0/go.mod h1:XxWTed+A/s5NNq4GmYScVy+9jzXhGBVEOAyucdRUY8s= -github.com/openshift/api v0.0.0-20260619095050-5346161d1bf2 h1:oZkYkIvQHkQV8pN0oe8AfPfc7y9+svwmsQHwbOWyJBw= -github.com/openshift/api v0.0.0-20260619095050-5346161d1bf2/go.mod h1:Jm45pE7O6/G0tYYhiLzNyZykTjmf9BfhsKYuGfLLwTE= github.com/openshift/build-machinery-go v0.0.0-20250530140348-dc5b2804eeee h1:+Sp5GGnjHDhT/a/nQ1xdp43UscBMr7G5wxsYotyhzJ4= github.com/openshift/build-machinery-go v0.0.0-20250530140348-dc5b2804eeee/go.mod h1:8jcm8UPtg2mCAsxfqKil1xrmRMI3a+XU2TZ9fF8A7TE= -github.com/openshift/client-go v0.0.0-20260618131434-17fd91ed6167 h1:TfqgEkvjjdzmVW3wkXWjh65rF+cjahnrBMbRdraT4Wo= -github.com/openshift/client-go v0.0.0-20260618131434-17fd91ed6167/go.mod h1:SYV1Wn6Pd27K9olD4WbUtjn4RWU83b9UjG1rbaQsTRE= github.com/orisano/pixelmatch v0.0.0-20220722002657-fb0b55479cde/go.mod h1:nZgzbfBr3hhjoZnS66nKrHmduYNpc34ny7RK4z5/HM0= github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= diff --git a/vendor/github.com/openshift/api/apps/.codegen.yaml b/vendor/github.com/openshift/api/apps/.codegen.yaml new file mode 100644 index 0000000000..f7a37129a0 --- /dev/null +++ b/vendor/github.com/openshift/api/apps/.codegen.yaml @@ -0,0 +1,2 @@ +protobuf: + disabled: false diff --git a/vendor/github.com/openshift/api/authorization/.codegen.yaml b/vendor/github.com/openshift/api/authorization/.codegen.yaml new file mode 100644 index 0000000000..f7a37129a0 --- /dev/null +++ b/vendor/github.com/openshift/api/authorization/.codegen.yaml @@ -0,0 +1,2 @@ +protobuf: + disabled: false diff --git a/vendor/github.com/openshift/api/build/.codegen.yaml b/vendor/github.com/openshift/api/build/.codegen.yaml new file mode 100644 index 0000000000..f7a37129a0 --- /dev/null +++ b/vendor/github.com/openshift/api/build/.codegen.yaml @@ -0,0 +1,2 @@ +protobuf: + disabled: false diff --git a/vendor/github.com/openshift/api/cloudnetwork/.codegen.yaml b/vendor/github.com/openshift/api/cloudnetwork/.codegen.yaml index e69de29bb2..f7a37129a0 100644 --- a/vendor/github.com/openshift/api/cloudnetwork/.codegen.yaml +++ b/vendor/github.com/openshift/api/cloudnetwork/.codegen.yaml @@ -0,0 +1,2 @@ +protobuf: + disabled: false diff --git a/vendor/github.com/openshift/api/config/v1/register.go b/vendor/github.com/openshift/api/config/v1/register.go index 222c7f0cc7..1f27d821ab 100644 --- a/vendor/github.com/openshift/api/config/v1/register.go +++ b/vendor/github.com/openshift/api/config/v1/register.go @@ -78,6 +78,8 @@ func addKnownTypes(scheme *runtime.Scheme) error { &ClusterImagePolicyList{}, &InsightsDataGather{}, &InsightsDataGatherList{}, + &CRIOCredentialProviderConfig{}, + &CRIOCredentialProviderConfigList{}, ) metav1.AddToGroupVersion(scheme, GroupVersion) return nil diff --git a/vendor/github.com/openshift/api/config/v1/types_cluster_version.go b/vendor/github.com/openshift/api/config/v1/types_cluster_version.go index f8d45114a8..9cb85f4c00 100644 --- a/vendor/github.com/openshift/api/config/v1/types_cluster_version.go +++ b/vendor/github.com/openshift/api/config/v1/types_cluster_version.go @@ -18,7 +18,8 @@ import ( // +kubebuilder:object:root=true // +kubebuilder:subresource:status // +kubebuilder:resource:path=clusterversions,scope=Cluster -// +kubebuilder:validation:XValidation:rule="has(self.spec.capabilities) && has(self.spec.capabilities.additionalEnabledCapabilities) && self.spec.capabilities.baselineCapabilitySet == 'None' && 'marketplace' in self.spec.capabilities.additionalEnabledCapabilities ? 'OperatorLifecycleManager' in self.spec.capabilities.additionalEnabledCapabilities || (has(self.status) && has(self.status.capabilities) && has(self.status.capabilities.enabledCapabilities) && 'OperatorLifecycleManager' in self.status.capabilities.enabledCapabilities) : true",message="the `marketplace` capability requires the `OperatorLifecycleManager` capability, which is neither explicitly or implicitly enabled in this cluster, please enable the `OperatorLifecycleManager` capability" +// +openshift:validation:FeatureGateAwareXValidation:featureGate="";CRDCompatibilityRequirementOperator;ClusterAPIMachineManagement,rule="has(self.spec.capabilities) && has(self.spec.capabilities.additionalEnabledCapabilities) && self.spec.capabilities.baselineCapabilitySet == 'None' && 'marketplace' in self.spec.capabilities.additionalEnabledCapabilities ? 'OperatorLifecycleManager' in self.spec.capabilities.additionalEnabledCapabilities || (has(self.status) && has(self.status.capabilities) && has(self.status.capabilities.enabledCapabilities) && 'OperatorLifecycleManager' in self.status.capabilities.enabledCapabilities) : true",message="the `marketplace` capability requires the `OperatorLifecycleManager` capability, which is neither explicitly or implicitly enabled in this cluster, please enable the `OperatorLifecycleManager` capability" +// +openshift:validation:FeatureGateAwareXValidation:requiredFeatureGate=CRDCompatibilityRequirementOperator;ClusterAPIMachineManagement,rule="has(self.spec.capabilities) && has(self.spec.capabilities.additionalEnabledCapabilities) && 'ClusterAPI' in self.spec.capabilities.additionalEnabledCapabilities ? 'CompatibilityRequirements' in self.spec.capabilities.additionalEnabledCapabilities || (has(self.status) && has(self.status.capabilities) && has(self.status.capabilities.enabledCapabilities) && 'CompatibilityRequirements' in self.status.capabilities.enabledCapabilities) : true",message="the `ClusterAPI` capability requires the `CompatibilityRequirements` capability, which is neither explicitly or implicitly enabled in this cluster, please enable the `CompatibilityRequirements` capability" // +kubebuilder:printcolumn:name=Version,JSONPath=.status.history[?(@.state=="Completed")].version,type=string // +kubebuilder:printcolumn:name=Available,JSONPath=.status.conditions[?(@.type=="Available")].status,type=string // +kubebuilder:printcolumn:name=Progressing,JSONPath=.status.conditions[?(@.type=="Progressing")].status,type=string @@ -304,7 +305,10 @@ const ( ) // ClusterVersionCapability enumerates optional, core cluster components. -// +kubebuilder:validation:Enum=openshift-samples;baremetal;marketplace;Console;Insights;Storage;CSISnapshot;NodeTuning;MachineAPI;Build;DeploymentConfig;ImageRegistry;OperatorLifecycleManager;CloudCredential;Ingress;CloudControllerManager;OperatorLifecycleManagerV1 +// +openshift:validation:FeatureGateAwareEnum:featureGate="",enum=openshift-samples;baremetal;marketplace;Console;Insights;Storage;CSISnapshot;NodeTuning;MachineAPI;Build;DeploymentConfig;ImageRegistry;OperatorLifecycleManager;CloudCredential;Ingress;CloudControllerManager;OperatorLifecycleManagerV1 +// +openshift:validation:FeatureGateAwareEnum:featureGate=CRDCompatibilityRequirementOperator,enum=openshift-samples;baremetal;marketplace;Console;Insights;Storage;CSISnapshot;NodeTuning;MachineAPI;Build;DeploymentConfig;ImageRegistry;OperatorLifecycleManager;CloudCredential;Ingress;CloudControllerManager;OperatorLifecycleManagerV1;CompatibilityRequirements +// +openshift:validation:FeatureGateAwareEnum:featureGate=ClusterAPIMachineManagement,enum=openshift-samples;baremetal;marketplace;Console;Insights;Storage;CSISnapshot;NodeTuning;MachineAPI;Build;DeploymentConfig;ImageRegistry;OperatorLifecycleManager;CloudCredential;Ingress;CloudControllerManager;OperatorLifecycleManagerV1;CompatibilityRequirements;ClusterAPI +// +openshift:validation:FeatureGateAwareEnum:requiredFeatureGate=CRDCompatibilityRequirementOperator;ClusterAPIMachineManagement,enum=openshift-samples;baremetal;marketplace;Console;Insights;Storage;CSISnapshot;NodeTuning;MachineAPI;Build;DeploymentConfig;ImageRegistry;OperatorLifecycleManager;CloudCredential;Ingress;CloudControllerManager;OperatorLifecycleManagerV1;CompatibilityRequirements;ClusterAPI type ClusterVersionCapability string const ( @@ -425,6 +429,19 @@ const ( // Managers deployed on top of OpenShift. They help you to work with cloud // provider API and embeds cloud-specific control logic. ClusterVersionCapabilityCloudControllerManager ClusterVersionCapability = "CloudControllerManager" + + // ClusterVersionCapabilityCompatibilityRequirements manages the Compatibility + // Requirements operator which enforces CRD compatibility constraints via + // validating webhooks. + ClusterVersionCapabilityCompatibilityRequirements ClusterVersionCapability = "CompatibilityRequirements" + + // ClusterVersionCapabilityClusterAPI manages the Cluster API operator and + // controllers which provide forward-compatible machine management for + // OpenShift clusters. + // + // Note that Cluster API has a hard requirement on CompatibilityRequirements. + // CompatibilityRequirements cannot be disabled while Cluster API is enabled. + ClusterVersionCapabilityClusterAPI ClusterVersionCapability = "ClusterAPI" ) // KnownClusterVersionCapabilities includes all known optional, core cluster components. @@ -446,6 +463,8 @@ var KnownClusterVersionCapabilities = []ClusterVersionCapability{ ClusterVersionCapabilityCloudCredential, ClusterVersionCapabilityIngress, ClusterVersionCapabilityCloudControllerManager, + ClusterVersionCapabilityCompatibilityRequirements, + ClusterVersionCapabilityClusterAPI, } // ClusterVersionCapabilitySet defines sets of cluster version capabilities. @@ -644,6 +663,8 @@ var ClusterVersionCapabilitySets = map[ClusterVersionCapabilitySet][]ClusterVers ClusterVersionCapabilityCloudCredential, ClusterVersionCapabilityIngress, ClusterVersionCapabilityCloudControllerManager, + ClusterVersionCapabilityCompatibilityRequirements, + ClusterVersionCapabilityClusterAPI, }, } diff --git a/vendor/github.com/openshift/api/config/v1/types_crio_credential_provider_config.go b/vendor/github.com/openshift/api/config/v1/types_crio_credential_provider_config.go new file mode 100644 index 0000000000..3fe543aac8 --- /dev/null +++ b/vendor/github.com/openshift/api/config/v1/types_crio_credential_provider_config.go @@ -0,0 +1,186 @@ +package v1 + +import metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + +// +genclient +// +genclient:nonNamespaced +// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object + +// CRIOCredentialProviderConfig holds cluster-wide singleton resource configurations for CRI-O credential provider, the name of this instance is "cluster". CRI-O credential provider is a binary shipped with CRI-O that provides a way to obtain container image pull credentials from external sources. +// For example, it can be used to fetch mirror registry credentials from secrets resources in the cluster within the same namespace the pod will be running in. +// CRIOCredentialProviderConfig configuration specifies the pod image sources registries that should trigger the CRI-O credential provider execution, which will resolve the CRI-O mirror configurations and obtain the necessary credentials for pod creation. +// Note: Configuration changes will only take effect after the kubelet restarts, which is automatically managed by the cluster during rollout. +// +// The resource is a singleton named "cluster". +// +// Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer). +// +kubebuilder:object:root=true +// +kubebuilder:resource:path=criocredentialproviderconfigs,scope=Cluster +// +kubebuilder:subresource:status +// +openshift:api-approved.openshift.io=https://github.com/openshift/api/pull/2725 +// +openshift:file-pattern=cvoRunLevel=0000_10,operatorName=config-operator,operatorOrdering=01 +// +openshift:enable:FeatureGate=CRIOCredentialProviderConfig +// +openshift:compatibility-gen:level=1 +// +kubebuilder:validation:XValidation:rule="self.metadata.name == 'cluster'",message="criocredentialproviderconfig is a singleton, .metadata.name must be 'cluster'" +type CRIOCredentialProviderConfig struct { + metav1.TypeMeta `json:",inline"` + + // metadata is the standard object's metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata + // +optional + metav1.ObjectMeta `json:"metadata,omitzero"` + + // spec defines the desired configuration of the CRI-O Credential Provider. + // This field is required and must be provided when creating the resource. + // +required + Spec *CRIOCredentialProviderConfigSpec `json:"spec,omitempty,omitzero"` + + // status represents the current state of the CRIOCredentialProviderConfig. + // When omitted or nil, it indicates that the status has not yet been set by the controller. + // The controller will populate this field with validation conditions and operational state. + // +optional + Status CRIOCredentialProviderConfigStatus `json:"status,omitzero,omitempty"` +} + +// CRIOCredentialProviderConfigSpec defines the desired configuration of the CRI-O Credential Provider. +// +kubebuilder:validation:MinProperties=0 +type CRIOCredentialProviderConfigSpec struct { + // matchImages is a list of string patterns used to determine whether + // the CRI-O credential provider should be invoked for a given image. This list is + // passed to the kubelet CredentialProviderConfig, and if any pattern matches + // the requested image, CRI-O credential provider will be invoked to obtain credentials for pulling + // that image or its mirrors. + // Depending on the platform, the CRI-O credential provider may be installed alongside an existing platform specific provider. + // Conflicts between the existing platform specific provider image match configuration and this list will be handled by + // the following precedence rule: credentials from built-in kubelet providers (e.g., ECR, GCR, ACR) take precedence over those + // from the CRIOCredentialProviderConfig when both match the same image. + // To avoid uncertainty, it is recommended to avoid configuring your private image patterns to overlap with + // existing platform specific provider config(e.g., the entries from https://github.com/openshift/machine-config-operator/blob/main/templates/common/aws/files/etc-kubernetes-credential-providers-ecr-credential-provider.yaml). + // You can check the resource's Status conditions + // to see if any entries were ignored due to exact matches with known built-in provider patterns. + // + // This field is optional, the items of the list must contain between 1 and 50 entries. + // The list is treated as a set, so duplicate entries are not allowed. + // + // For more details, see: + // https://kubernetes.io/docs/tasks/administer-cluster/kubelet-credential-provider/ + // https://github.com/cri-o/crio-credential-provider#architecture + // + // Each entry in matchImages is a pattern which can optionally contain a port and a path. Each entry must be no longer than 512 characters. + // Wildcards ('*') are supported for full subdomain labels, such as '*.k8s.io' or 'k8s.*.io', + // and for top-level domains, such as 'k8s.*' (which matches 'k8s.io' or 'k8s.net'). + // A global wildcard '*' (matching any domain) is not allowed. + // Wildcards may replace an entire hostname label (e.g., *.example.com), but they cannot appear within a label (e.g., f*oo.example.com) and are not allowed in the port or path. + // For example, 'example.*.com' is valid, but 'exa*mple.*.com' is not. + // Each wildcard matches only a single domain label, + // so '*.io' does **not** match '*.k8s.io'. + // + // A match exists between an image and a matchImage when all of the below are true: + // Both contain the same number of domain parts and each part matches. + // The URL path of an matchImages must be a prefix of the target image URL path. + // If the matchImages contains a port, then the port must match in the image as well. + // + // Example values of matchImages: + // - 123456789.dkr.ecr.us-east-1.amazonaws.com + // - *.azurecr.io + // - gcr.io + // - *.*.registry.io + // - registry.io:8080/path + // + // +kubebuilder:validation:MaxItems=50 + // +kubebuilder:validation:MinItems=1 + // +listType=set + // +optional + MatchImages []MatchImage `json:"matchImages,omitempty"` +} + +// MatchImage is a string pattern used to match container image registry addresses. +// It must be a valid fully qualified domain name with optional wildcard, port, and path. +// The maximum length is 512 characters. +// +// Wildcards ('*') are supported for full subdomain labels and top-level domains. +// Each entry can optionally contain a port (e.g., :8080) and a path (e.g., /path). +// Wildcards are not allowed in the port or path portions. +// +// Examples: +// - "registry.io" - matches exactly registry.io +// - "*.azurecr.io" - matches any single subdomain of azurecr.io +// - "registry.io:8080/path" - matches with specific port and path prefix +// +// +kubebuilder:validation:MaxLength=512 +// +kubebuilder:validation:MinLength=1 +// +kubebuilder:validation:XValidation:rule="self != '*'",message="global wildcard '*' is not allowed" +// +kubebuilder:validation:XValidation:rule=`self.matches('^((\\*|[a-z0-9]([a-z0-9-]*[a-z0-9])?)(\\.(\\*|[a-z0-9]([a-z0-9-]*[a-z0-9])?))*)(:[0-9]+)?(/[-a-z0-9._/]*)?$')`,message="invalid matchImages value, must be a valid fully qualified domain name in lowercase with optional wildcard, port, and path" +type MatchImage string + +// +k8s:deepcopy-gen=true +// CRIOCredentialProviderConfigStatus defines the observed state of CRIOCredentialProviderConfig +// +kubebuilder:validation:MinProperties=1 +type CRIOCredentialProviderConfigStatus struct { + // conditions represent the latest available observations of the configuration state. + // When omitted, it indicates that no conditions have been reported yet. + // The maximum number of conditions is 16. + // Conditions are stored as a map keyed by condition type, ensuring uniqueness. + // + // Expected condition types include: + // "Validated": indicates whether the matchImages configuration is valid + // +optional + // +kubebuilder:validation:MaxItems=16 + // +kubebuilder:validation:MinItems=1 + // +listType=map + // +listMapKey=type + Conditions []metav1.Condition `json:"conditions,omitempty"` +} + +// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object + +// CRIOCredentialProviderConfigList contains a list of CRIOCredentialProviderConfig resources +// +// Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer). +// +openshift:compatibility-gen:level=1 +type CRIOCredentialProviderConfigList struct { + metav1.TypeMeta `json:",inline"` + + // metadata is the standard list's metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata + metav1.ListMeta `json:"metadata"` + + Items []CRIOCredentialProviderConfig `json:"items"` +} + +const ( + // ConditionTypeValidated is a condition type that indicates whether the CRIOCredentialProviderConfig + // matchImages configuration has been validated successfully. + // When True, all matchImage patterns are valid and have been applied. + // When False, the configuration contains errors (see Reason for details). + // Possible reasons for False status: + // - ValidationFailed: matchImages contains invalid patterns + // - ConfigurationPartiallyApplied: some matchImage entries were ignored due to conflicts + ConditionTypeValidated = "Validated" + + // ReasonValidationFailed is a condition reason used with ConditionTypeValidated=False + // to indicate that the matchImages configuration contains one or more invalid registry patterns + // that do not conform to the required format (valid FQDN with optional wildcard, port, and path). + ReasonValidationFailed = "ValidationFailed" + + // ReasonConfigurationPartiallyApplied is a condition reason used with ConditionTypeValidated=False + // to indicate that some matchImage entries were ignored due to conflicts or overlapping patterns. + // The condition message will contain details about which entries were ignored and why. + ReasonConfigurationPartiallyApplied = "ConfigurationPartiallyApplied" + + // ConditionTypeMachineConfigRendered is a condition type that indicates whether + // the CRIOCredentialProviderConfig has been successfully rendered into a + // MachineConfig object. + // When True, the corresponding MachineConfig is present in the cluster. + // When False, rendering failed. + ConditionTypeMachineConfigRendered = "MachineConfigRendered" + + // ReasonMachineConfigRenderingSucceeded is a condition reason used with ConditionTypeMachineConfigRendered=True + // to indicate that the MachineConfig was successfully created/updated in the API server. + ReasonMachineConfigRenderingSucceeded = "MachineConfigRenderingSucceeded" + + // ReasonMachineConfigRenderingFailed is a condition reason used with ConditionTypeMachineConfigRendered=False + // to indicate that the MachineConfig creation/update failed. + // The condition message will contain details about the failure. + ReasonMachineConfigRenderingFailed = "MachineConfigRenderingFailed" +) diff --git a/vendor/github.com/openshift/api/config/v1/types_infrastructure.go b/vendor/github.com/openshift/api/config/v1/types_infrastructure.go index e7680899d4..e8aaa810f5 100644 --- a/vendor/github.com/openshift/api/config/v1/types_infrastructure.go +++ b/vendor/github.com/openshift/api/config/v1/types_infrastructure.go @@ -19,6 +19,7 @@ import ( // +kubebuilder:resource:path=infrastructures,scope=Cluster // +kubebuilder:subresource:status // +kubebuilder:metadata:annotations=release.openshift.io/bootstrap-required=true +// +openshift:validation:FeatureGateAwareXValidation:featureGate=MutableTopology,rule="!has(self.spec.controlPlaneTopology) || (has(oldSelf.spec.controlPlaneTopology) && self.spec.controlPlaneTopology == oldSelf.spec.controlPlaneTopology) || (has(self.status.controlPlaneTopology) && self.spec.controlPlaneTopology == self.status.controlPlaneTopology) || (has(self.status.controlPlaneTopology) && self.status.controlPlaneTopology == 'SingleReplica' && self.spec.controlPlaneTopology == 'HighlyAvailable')",message="spec.controlPlaneTopology must match status.controlPlaneTopology or be set to HighlyAvailable when status.controlPlaneTopology is SingleReplica" type Infrastructure struct { metav1.TypeMeta `json:",inline"` @@ -55,6 +56,21 @@ type InfrastructureSpec struct { // platformSpec holds desired information specific to the underlying // infrastructure provider. PlatformSpec PlatformSpec `json:"platformSpec,omitempty"` + + // controlPlaneTopology expresses the desired topology configuration for control nodes. + // + // When status.controlPlaneTopology is 'SingleReplica' and spec.controlPlaneTopology is set to 'HighlyAvailable', + // a transition will be triggered to reconfigure the cluster from SingleReplica to HighlyAvailable. + // + // When left blank or status.controlPlaneTopology and spec.controlPlaneTopology are the same value, + // no changes are required and no transitions will be triggered. + // + // This value may be set to match status.controlPlaneTopology regardless of the current value. + // + // +openshift:enable:FeatureGate=MutableTopology + // +kubebuilder:validation:Enum=HighlyAvailable;SingleReplica + // +optional + ControlPlaneTopology TopologyMode `json:"controlPlaneTopology,omitempty"` } // InfrastructureStatus describes the infrastructure the cluster is leveraging. diff --git a/vendor/github.com/openshift/api/config/v1/types_network.go b/vendor/github.com/openshift/api/config/v1/types_network.go index 5e2eb93372..80b022de9f 100644 --- a/vendor/github.com/openshift/api/config/v1/types_network.go +++ b/vendor/github.com/openshift/api/config/v1/types_network.go @@ -331,6 +331,9 @@ type NetworkObservabilitySpec struct { // Valid values are "InstallAndEnable" and "NoAction". // When set to "InstallAndEnable", ensure that network observability will be installed and enabled on the cluster. If already installed, no action taken, but if it gets uninstalled, it will install it again. // When set to "NoAction", nothing will be done regarding Network observability. + // During the installation of NetworkObservability, the platform checks for any existing manual installations. + // If a successful installation using the OLMv0 or OLMv1 API is detected, it will be used. + // If the platform cannot determine how the current version was installed, or if the existing installation is incomplete, the installation process will stop. // +required InstallationPolicy NetworkObservabilityInstallationPolicy `json:"installationPolicy,omitempty"` } diff --git a/vendor/github.com/openshift/api/config/v1/zz_generated.deepcopy.go b/vendor/github.com/openshift/api/config/v1/zz_generated.deepcopy.go index 13f1bc390d..3c75062bb7 100644 --- a/vendor/github.com/openshift/api/config/v1/zz_generated.deepcopy.go +++ b/vendor/github.com/openshift/api/config/v1/zz_generated.deepcopy.go @@ -904,6 +904,115 @@ func (in *BuildSpec) DeepCopy() *BuildSpec { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CRIOCredentialProviderConfig) DeepCopyInto(out *CRIOCredentialProviderConfig) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + if in.Spec != nil { + in, out := &in.Spec, &out.Spec + *out = new(CRIOCredentialProviderConfigSpec) + (*in).DeepCopyInto(*out) + } + in.Status.DeepCopyInto(&out.Status) + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CRIOCredentialProviderConfig. +func (in *CRIOCredentialProviderConfig) DeepCopy() *CRIOCredentialProviderConfig { + if in == nil { + return nil + } + out := new(CRIOCredentialProviderConfig) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *CRIOCredentialProviderConfig) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CRIOCredentialProviderConfigList) DeepCopyInto(out *CRIOCredentialProviderConfigList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]CRIOCredentialProviderConfig, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CRIOCredentialProviderConfigList. +func (in *CRIOCredentialProviderConfigList) DeepCopy() *CRIOCredentialProviderConfigList { + if in == nil { + return nil + } + out := new(CRIOCredentialProviderConfigList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *CRIOCredentialProviderConfigList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CRIOCredentialProviderConfigSpec) DeepCopyInto(out *CRIOCredentialProviderConfigSpec) { + *out = *in + if in.MatchImages != nil { + in, out := &in.MatchImages, &out.MatchImages + *out = make([]MatchImage, len(*in)) + copy(*out, *in) + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CRIOCredentialProviderConfigSpec. +func (in *CRIOCredentialProviderConfigSpec) DeepCopy() *CRIOCredentialProviderConfigSpec { + if in == nil { + return nil + } + out := new(CRIOCredentialProviderConfigSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CRIOCredentialProviderConfigStatus) DeepCopyInto(out *CRIOCredentialProviderConfigStatus) { + *out = *in + if in.Conditions != nil { + in, out := &in.Conditions, &out.Conditions + *out = make([]metav1.Condition, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CRIOCredentialProviderConfigStatus. +func (in *CRIOCredentialProviderConfigStatus) DeepCopy() *CRIOCredentialProviderConfigStatus { + if in == nil { + return nil + } + out := new(CRIOCredentialProviderConfigStatus) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *CertInfo) DeepCopyInto(out *CertInfo) { *out = *in diff --git a/vendor/github.com/openshift/api/config/v1/zz_generated.featuregated-crd-manifests.yaml b/vendor/github.com/openshift/api/config/v1/zz_generated.featuregated-crd-manifests.yaml index 13635bff49..5426057a88 100644 --- a/vendor/github.com/openshift/api/config/v1/zz_generated.featuregated-crd-manifests.yaml +++ b/vendor/github.com/openshift/api/config/v1/zz_generated.featuregated-crd-manifests.yaml @@ -70,6 +70,29 @@ builds.config.openshift.io: TopLevelFeatureGates: [] Version: v1 +criocredentialproviderconfigs.config.openshift.io: + Annotations: {} + ApprovedPRNumber: https://github.com/openshift/api/pull/2725 + CRDName: criocredentialproviderconfigs.config.openshift.io + Capability: "" + Category: "" + FeatureGates: + - CRIOCredentialProviderConfig + FilenameOperatorName: config-operator + FilenameOperatorOrdering: "01" + FilenameRunLevel: "0000_10" + GroupName: config.openshift.io + HasStatus: true + KindName: CRIOCredentialProviderConfig + Labels: {} + PluralName: criocredentialproviderconfigs + PrinterColumns: [] + Scope: Cluster + ShortNames: null + TopLevelFeatureGates: + - CRIOCredentialProviderConfig + Version: v1 + clusterimagepolicies.config.openshift.io: Annotations: {} ApprovedPRNumber: https://github.com/openshift/api/pull/2310 @@ -145,6 +168,9 @@ clusterversions.config.openshift.io: Capability: "" Category: "" FeatureGates: + - CRDCompatibilityRequirementOperator + - CRDCompatibilityRequirementOperator+ClusterAPIMachineManagement + - ClusterAPIMachineManagement - ClusterUpdateAcceptRisks - ClusterUpdatePreflight - ImageStreamImportMode @@ -374,6 +400,7 @@ infrastructures.config.openshift.io: - AzureDualStackInstall - DualReplica - DyanmicServiceEndpointIBMCloud + - MutableTopology - NutanixMultiSubnets - OnPremDNSRecords - VSphereHostVMGroupZonal diff --git a/vendor/github.com/openshift/api/config/v1/zz_generated.model_name.go b/vendor/github.com/openshift/api/config/v1/zz_generated.model_name.go index 95c0e67d6f..043c03ef5e 100644 --- a/vendor/github.com/openshift/api/config/v1/zz_generated.model_name.go +++ b/vendor/github.com/openshift/api/config/v1/zz_generated.model_name.go @@ -195,6 +195,26 @@ func (in BuildSpec) OpenAPIModelName() string { return "com.github.openshift.api.config.v1.BuildSpec" } +// OpenAPIModelName returns the OpenAPI model name for this type. +func (in CRIOCredentialProviderConfig) OpenAPIModelName() string { + return "com.github.openshift.api.config.v1.CRIOCredentialProviderConfig" +} + +// OpenAPIModelName returns the OpenAPI model name for this type. +func (in CRIOCredentialProviderConfigList) OpenAPIModelName() string { + return "com.github.openshift.api.config.v1.CRIOCredentialProviderConfigList" +} + +// OpenAPIModelName returns the OpenAPI model name for this type. +func (in CRIOCredentialProviderConfigSpec) OpenAPIModelName() string { + return "com.github.openshift.api.config.v1.CRIOCredentialProviderConfigSpec" +} + +// OpenAPIModelName returns the OpenAPI model name for this type. +func (in CRIOCredentialProviderConfigStatus) OpenAPIModelName() string { + return "com.github.openshift.api.config.v1.CRIOCredentialProviderConfigStatus" +} + // OpenAPIModelName returns the OpenAPI model name for this type. func (in CertInfo) OpenAPIModelName() string { return "com.github.openshift.api.config.v1.CertInfo" diff --git a/vendor/github.com/openshift/api/config/v1/zz_generated.swagger_doc_generated.go b/vendor/github.com/openshift/api/config/v1/zz_generated.swagger_doc_generated.go index 1e9c65bf86..e853db9793 100644 --- a/vendor/github.com/openshift/api/config/v1/zz_generated.swagger_doc_generated.go +++ b/vendor/github.com/openshift/api/config/v1/zz_generated.swagger_doc_generated.go @@ -1079,6 +1079,44 @@ func (ConsoleStatus) SwaggerDoc() map[string]string { return map_ConsoleStatus } +var map_CRIOCredentialProviderConfig = map[string]string{ + "": "CRIOCredentialProviderConfig holds cluster-wide singleton resource configurations for CRI-O credential provider, the name of this instance is \"cluster\". CRI-O credential provider is a binary shipped with CRI-O that provides a way to obtain container image pull credentials from external sources. For example, it can be used to fetch mirror registry credentials from secrets resources in the cluster within the same namespace the pod will be running in. CRIOCredentialProviderConfig configuration specifies the pod image sources registries that should trigger the CRI-O credential provider execution, which will resolve the CRI-O mirror configurations and obtain the necessary credentials for pod creation. Note: Configuration changes will only take effect after the kubelet restarts, which is automatically managed by the cluster during rollout.\n\nThe resource is a singleton named \"cluster\".\n\nCompatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).", + "metadata": "metadata is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "spec": "spec defines the desired configuration of the CRI-O Credential Provider. This field is required and must be provided when creating the resource.", + "status": "status represents the current state of the CRIOCredentialProviderConfig. When omitted or nil, it indicates that the status has not yet been set by the controller. The controller will populate this field with validation conditions and operational state.", +} + +func (CRIOCredentialProviderConfig) SwaggerDoc() map[string]string { + return map_CRIOCredentialProviderConfig +} + +var map_CRIOCredentialProviderConfigList = map[string]string{ + "": "CRIOCredentialProviderConfigList contains a list of CRIOCredentialProviderConfig resources\n\nCompatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).", + "metadata": "metadata is the standard list's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", +} + +func (CRIOCredentialProviderConfigList) SwaggerDoc() map[string]string { + return map_CRIOCredentialProviderConfigList +} + +var map_CRIOCredentialProviderConfigSpec = map[string]string{ + "": "CRIOCredentialProviderConfigSpec defines the desired configuration of the CRI-O Credential Provider.", + "matchImages": "matchImages is a list of string patterns used to determine whether the CRI-O credential provider should be invoked for a given image. This list is passed to the kubelet CredentialProviderConfig, and if any pattern matches the requested image, CRI-O credential provider will be invoked to obtain credentials for pulling that image or its mirrors. Depending on the platform, the CRI-O credential provider may be installed alongside an existing platform specific provider. Conflicts between the existing platform specific provider image match configuration and this list will be handled by the following precedence rule: credentials from built-in kubelet providers (e.g., ECR, GCR, ACR) take precedence over those from the CRIOCredentialProviderConfig when both match the same image. To avoid uncertainty, it is recommended to avoid configuring your private image patterns to overlap with existing platform specific provider config(e.g., the entries from https://github.com/openshift/machine-config-operator/blob/main/templates/common/aws/files/etc-kubernetes-credential-providers-ecr-credential-provider.yaml). You can check the resource's Status conditions to see if any entries were ignored due to exact matches with known built-in provider patterns.\n\nThis field is optional, the items of the list must contain between 1 and 50 entries. The list is treated as a set, so duplicate entries are not allowed.\n\nFor more details, see: https://kubernetes.io/docs/tasks/administer-cluster/kubelet-credential-provider/ https://github.com/cri-o/crio-credential-provider#architecture\n\nEach entry in matchImages is a pattern which can optionally contain a port and a path. Each entry must be no longer than 512 characters. Wildcards ('*') are supported for full subdomain labels, such as '*.k8s.io' or 'k8s.*.io', and for top-level domains, such as 'k8s.*' (which matches 'k8s.io' or 'k8s.net'). A global wildcard '*' (matching any domain) is not allowed. Wildcards may replace an entire hostname label (e.g., *.example.com), but they cannot appear within a label (e.g., f*oo.example.com) and are not allowed in the port or path. For example, 'example.*.com' is valid, but 'exa*mple.*.com' is not. Each wildcard matches only a single domain label, so '*.io' does **not** match '*.k8s.io'.\n\nA match exists between an image and a matchImage when all of the below are true: Both contain the same number of domain parts and each part matches. The URL path of an matchImages must be a prefix of the target image URL path. If the matchImages contains a port, then the port must match in the image as well.\n\nExample values of matchImages: - 123456789.dkr.ecr.us-east-1.amazonaws.com - *.azurecr.io - gcr.io - *.*.registry.io - registry.io:8080/path", +} + +func (CRIOCredentialProviderConfigSpec) SwaggerDoc() map[string]string { + return map_CRIOCredentialProviderConfigSpec +} + +var map_CRIOCredentialProviderConfigStatus = map[string]string{ + "": "CRIOCredentialProviderConfigStatus defines the observed state of CRIOCredentialProviderConfig", + "conditions": "conditions represent the latest available observations of the configuration state. When omitted, it indicates that no conditions have been reported yet. The maximum number of conditions is 16. Conditions are stored as a map keyed by condition type, ensuring uniqueness.\n\nExpected condition types include: \"Validated\": indicates whether the matchImages configuration is valid", +} + +func (CRIOCredentialProviderConfigStatus) SwaggerDoc() map[string]string { + return map_CRIOCredentialProviderConfigStatus +} + var map_AWSDNSSpec = map[string]string{ "": "AWSDNSSpec contains DNS configuration specific to the Amazon Web Services cloud provider.", "privateZoneIAMRole": "privateZoneIAMRole contains the ARN of an IAM role that should be assumed when performing operations on the cluster's private hosted zone specified in the cluster DNS config. When left empty, no role should be assumed.\n\nThe ARN must follow the format: arn::iam:::role/, where: is the AWS partition (aws, aws-cn, aws-us-gov, or aws-eusc), is a 12-digit numeric identifier for the AWS account, is the IAM role name.", @@ -1830,9 +1868,10 @@ func (InfrastructureList) SwaggerDoc() map[string]string { } var map_InfrastructureSpec = map[string]string{ - "": "InfrastructureSpec contains settings that apply to the cluster infrastructure.", - "cloudConfig": "cloudConfig is a reference to a ConfigMap containing the cloud provider configuration file. This configuration file is used to configure the Kubernetes cloud provider integration when using the built-in cloud provider integration or the external cloud controller manager. The namespace for this config map is openshift-config.\n\ncloudConfig should only be consumed by the kube_cloud_config controller. The controller is responsible for using the user configuration in the spec for various platforms and combining that with the user provided ConfigMap in this field to create a stitched kube cloud config. The controller generates a ConfigMap `kube-cloud-config` in `openshift-config-managed` namespace with the kube cloud config is stored in `cloud.conf` key. All the clients are expected to use the generated ConfigMap only.", - "platformSpec": "platformSpec holds desired information specific to the underlying infrastructure provider.", + "": "InfrastructureSpec contains settings that apply to the cluster infrastructure.", + "cloudConfig": "cloudConfig is a reference to a ConfigMap containing the cloud provider configuration file. This configuration file is used to configure the Kubernetes cloud provider integration when using the built-in cloud provider integration or the external cloud controller manager. The namespace for this config map is openshift-config.\n\ncloudConfig should only be consumed by the kube_cloud_config controller. The controller is responsible for using the user configuration in the spec for various platforms and combining that with the user provided ConfigMap in this field to create a stitched kube cloud config. The controller generates a ConfigMap `kube-cloud-config` in `openshift-config-managed` namespace with the kube cloud config is stored in `cloud.conf` key. All the clients are expected to use the generated ConfigMap only.", + "platformSpec": "platformSpec holds desired information specific to the underlying infrastructure provider.", + "controlPlaneTopology": "controlPlaneTopology expresses the desired topology configuration for control nodes.\n\nWhen status.controlPlaneTopology is 'SingleReplica' and spec.controlPlaneTopology is set to 'HighlyAvailable', a transition will be triggered to reconfigure the cluster from SingleReplica to HighlyAvailable.\n\nWhen left blank or status.controlPlaneTopology and spec.controlPlaneTopology are the same value, no changes are required and no transitions will be triggered.\n\nThis value may be set to match status.controlPlaneTopology regardless of the current value.", } func (InfrastructureSpec) SwaggerDoc() map[string]string { @@ -2606,7 +2645,7 @@ func (NetworkMigration) SwaggerDoc() map[string]string { var map_NetworkObservabilitySpec = map[string]string{ "": "NetworkObservabilitySpec defines the configuration for network observability installation", - "installationPolicy": "installationPolicy controls whether network observability is installed during cluster deployment. Valid values are \"InstallAndEnable\" and \"NoAction\". When set to \"InstallAndEnable\", ensure that network observability will be installed and enabled on the cluster. If already installed, no action taken, but if it gets uninstalled, it will install it again. When set to \"NoAction\", nothing will be done regarding Network observability.", + "installationPolicy": "installationPolicy controls whether network observability is installed during cluster deployment. Valid values are \"InstallAndEnable\" and \"NoAction\". When set to \"InstallAndEnable\", ensure that network observability will be installed and enabled on the cluster. If already installed, no action taken, but if it gets uninstalled, it will install it again. When set to \"NoAction\", nothing will be done regarding Network observability. During the installation of NetworkObservability, the platform checks for any existing manual installations. If a successful installation using the OLMv0 or OLMv1 API is detected, it will be used. If the platform cannot determine how the current version was installed, or if the existing installation is incomplete, the installation process will stop.", } func (NetworkObservabilitySpec) SwaggerDoc() map[string]string { diff --git a/vendor/github.com/openshift/api/config/v1alpha1/types_cluster_monitoring.go b/vendor/github.com/openshift/api/config/v1alpha1/types_cluster_monitoring.go index ca2f0216a9..d4846fd1cd 100644 --- a/vendor/github.com/openshift/api/config/v1alpha1/types_cluster_monitoring.go +++ b/vendor/github.com/openshift/api/config/v1alpha1/types_cluster_monitoring.go @@ -1552,7 +1552,7 @@ type RemoteWriteSpec struct { Name string `json:"name,omitempty"` // authorization defines the authorization method for the remote write endpoint. // When omitted, no authorization is performed. - // When set, type must be one of BearerToken, BasicAuth, OAuth2, SigV4, SafeAuthorization, or ServiceAccount; the corresponding nested config must be set (ServiceAccount has no config). + // When set, type must be one of Authorization, BasicAuth, OAuth2, SigV4, or ServiceAccount; the corresponding nested config must be set (ServiceAccount has no config). // +optional AuthorizationConfig RemoteWriteAuthorization `json:"authorization,omitzero"` // headers specifies the custom HTTP headers to be sent along with each remote write request. @@ -1654,39 +1654,49 @@ type BasicAuth struct { } // RemoteWriteAuthorizationType defines the authorization method for remote write endpoints. -// +kubebuilder:validation:Enum=BearerToken;BasicAuth;OAuth2;SigV4;SafeAuthorization;ServiceAccount +// +kubebuilder:validation:Enum=Authorization;BasicAuth;OAuth2;SigV4;ServiceAccount type RemoteWriteAuthorizationType string const ( - // RemoteWriteAuthorizationTypeBearerToken indicates bearer token from a secret. - RemoteWriteAuthorizationTypeBearerToken RemoteWriteAuthorizationType = "BearerToken" + // RemoteWriteAuthorizationTypeAuthorization indicates authorization credentials from a secret. + // The secret key contains the credentials (e.g. a Bearer token). Use the authorization field. + RemoteWriteAuthorizationTypeAuthorization RemoteWriteAuthorizationType = "Authorization" // RemoteWriteAuthorizationTypeBasicAuth indicates HTTP basic authentication. RemoteWriteAuthorizationTypeBasicAuth RemoteWriteAuthorizationType = "BasicAuth" // RemoteWriteAuthorizationTypeOAuth2 indicates OAuth2 client credentials. RemoteWriteAuthorizationTypeOAuth2 RemoteWriteAuthorizationType = "OAuth2" // RemoteWriteAuthorizationTypeSigV4 indicates AWS Signature Version 4. RemoteWriteAuthorizationTypeSigV4 RemoteWriteAuthorizationType = "SigV4" - // RemoteWriteAuthorizationTypeSafeAuthorization indicates authorization from a secret (Prometheus SafeAuthorization pattern). - // The secret key contains the credentials (e.g. a Bearer token). Use the safeAuthorization field. - RemoteWriteAuthorizationTypeSafeAuthorization RemoteWriteAuthorizationType = "SafeAuthorization" // RemoteWriteAuthorizationTypeServiceAccount indicates use of the pod's service account token for machine identity. // No additional field is required; the operator configures the token path. RemoteWriteAuthorizationTypeServiceAccount RemoteWriteAuthorizationType = "ServiceAccount" + + // --- TOMBSTONE --- + // RemoteWriteAuthorizationTypeBearerToken was a constant for bearer token authentication from a secret. + // It has been removed in favor of RemoteWriteAuthorizationTypeAuthorization. The constant name is reserved to prevent reuse. + // + // RemoteWriteAuthorizationTypeBearerToken RemoteWriteAuthorizationType = "BearerToken" + + // --- TOMBSTONE --- + // RemoteWriteAuthorizationTypeSafeAuthorization was a constant for authorization credentials from a secret (Prometheus SafeAuthorization pattern). + // It has been removed in favor of RemoteWriteAuthorizationTypeAuthorization. The constant name is reserved to prevent reuse. + // + // RemoteWriteAuthorizationTypeSafeAuthorization RemoteWriteAuthorizationType = "SafeAuthorization" ) // RemoteWriteAuthorization defines the authorization method for a remote write endpoint. -// Exactly one of the nested configs must be set according to the type discriminator. -// +kubebuilder:validation:XValidation:rule="has(self.type) && self.type == 'BearerToken' ? has(self.bearerToken) : !has(self.bearerToken)",message="bearerToken is required when type is BearerToken, and forbidden otherwise" +// Nested config requirements depend on the type discriminator: Authorization requires authorization, +// BasicAuth requires basicAuth, OAuth2 requires oauth2, SigV4 requires sigv4, and ServiceAccount forbids all nested configs. +// +kubebuilder:validation:XValidation:rule="has(self.type) && self.type == 'Authorization' ? has(self.authorization) : !has(self.authorization)",message="authorization is required when type is Authorization, and forbidden otherwise" // +kubebuilder:validation:XValidation:rule="has(self.type) && self.type == 'BasicAuth' ? has(self.basicAuth) : !has(self.basicAuth)",message="basicAuth is required when type is BasicAuth, and forbidden otherwise" // +kubebuilder:validation:XValidation:rule="has(self.type) && self.type == 'OAuth2' ? has(self.oauth2) : !has(self.oauth2)",message="oauth2 is required when type is OAuth2, and forbidden otherwise" // +kubebuilder:validation:XValidation:rule="has(self.type) && self.type == 'SigV4' ? has(self.sigv4) : !has(self.sigv4)",message="sigv4 is required when type is SigV4, and forbidden otherwise" -// +kubebuilder:validation:XValidation:rule="has(self.type) && self.type == 'SafeAuthorization' ? has(self.safeAuthorization) : !has(self.safeAuthorization)",message="safeAuthorization is required when type is SafeAuthorization, and forbidden otherwise" // +union type RemoteWriteAuthorization struct { // type specifies the authorization method to use. - // Allowed values are BearerToken, BasicAuth, OAuth2, SigV4, SafeAuthorization, ServiceAccount. + // Allowed values are Authorization, BasicAuth, OAuth2, SigV4, and ServiceAccount. // - // When set to BearerToken, the bearer token is read from a Secret referenced by the bearerToken field. + // When set to Authorization, credentials are read from a single Secret key. The secret key typically contains a Bearer token. Use the authorization field. // // When set to BasicAuth, HTTP basic authentication is used; the basicAuth field (username and password from Secrets) must be set. // @@ -1694,22 +1704,16 @@ type RemoteWriteAuthorization struct { // // When set to SigV4, AWS Signature Version 4 is used for authentication; the sigv4 field must be set. // - // When set to SafeAuthorization, credentials are read from a single Secret key (Prometheus SafeAuthorization pattern). The secret key typically contains a Bearer token. Use the safeAuthorization field. - // // When set to ServiceAccount, the pod's service account token is used for machine identity. No additional field is required; the operator configures the token path. // +unionDiscriminator // +required Type RemoteWriteAuthorizationType `json:"type,omitempty"` - // safeAuthorization defines the secret reference containing the credentials for authentication (e.g. Bearer token). - // Required when type is "SafeAuthorization", and forbidden otherwise. Maps to Prometheus SafeAuthorization. The secret must exist in the openshift-monitoring namespace. - // +unionMember - // +optional - SafeAuthorization *v1.SecretKeySelector `json:"safeAuthorization,omitempty"` - // bearerToken defines the secret reference containing the bearer token. - // Required when type is "BearerToken", and forbidden otherwise. - // +unionMember + // authorization defines the secret reference containing the authorization credentials (e.g. Bearer token). + // Required when type is "Authorization", and forbidden otherwise. + // The secret must exist in the openshift-monitoring namespace. + // +unionMember=Authorization // +optional - BearerToken SecretKeySelector `json:"bearerToken,omitempty,omitzero"` + Authorization SecretKeySelector `json:"authorization,omitempty,omitzero"` // basicAuth defines HTTP basic authentication credentials. // Required when type is "BasicAuth", and forbidden otherwise. // +unionMember @@ -1725,6 +1729,22 @@ type RemoteWriteAuthorization struct { // +unionMember // +optional Sigv4 Sigv4 `json:"sigv4,omitempty,omitzero"` + + // --- TOMBSTONE --- + // bearerToken was a field for bearer token authentication from a secret. + // It has been removed in favor of authorization. The field name is reserved to prevent reuse. + // + // +unionMember + // +optional + // BearerToken SecretKeySelector `json:"bearerToken,omitempty,omitzero"` + + // --- TOMBSTONE --- + // safeAuthorization was a field for authorization credentials from a secret (Prometheus SafeAuthorization pattern). + // It has been removed in favor of authorization. The field name is reserved to prevent reuse. + // + // +unionMember + // +optional + // SafeAuthorization *v1.SecretKeySelector `json:"safeAuthorization,omitempty"` } // MetadataConfigSendPolicy defines whether to send metadata with platform defaults or with custom settings. diff --git a/vendor/github.com/openshift/api/config/v1alpha1/zz_generated.deepcopy.go b/vendor/github.com/openshift/api/config/v1alpha1/zz_generated.deepcopy.go index 7313338a3b..12dd0cd312 100644 --- a/vendor/github.com/openshift/api/config/v1alpha1/zz_generated.deepcopy.go +++ b/vendor/github.com/openshift/api/config/v1alpha1/zz_generated.deepcopy.go @@ -1755,12 +1755,7 @@ func (in *RelabelConfig) DeepCopy() *RelabelConfig { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *RemoteWriteAuthorization) DeepCopyInto(out *RemoteWriteAuthorization) { *out = *in - if in.SafeAuthorization != nil { - in, out := &in.SafeAuthorization, &out.SafeAuthorization - *out = new(v1.SecretKeySelector) - (*in).DeepCopyInto(*out) - } - out.BearerToken = in.BearerToken + out.Authorization = in.Authorization out.BasicAuth = in.BasicAuth in.OAuth2.DeepCopyInto(&out.OAuth2) out.Sigv4 = in.Sigv4 diff --git a/vendor/github.com/openshift/api/config/v1alpha1/zz_generated.swagger_doc_generated.go b/vendor/github.com/openshift/api/config/v1alpha1/zz_generated.swagger_doc_generated.go index 2194d79def..8f6cda1915 100644 --- a/vendor/github.com/openshift/api/config/v1alpha1/zz_generated.swagger_doc_generated.go +++ b/vendor/github.com/openshift/api/config/v1alpha1/zz_generated.swagger_doc_generated.go @@ -619,13 +619,12 @@ func (RelabelConfig) SwaggerDoc() map[string]string { } var map_RemoteWriteAuthorization = map[string]string{ - "": "RemoteWriteAuthorization defines the authorization method for a remote write endpoint. Exactly one of the nested configs must be set according to the type discriminator.", - "type": "type specifies the authorization method to use. Allowed values are BearerToken, BasicAuth, OAuth2, SigV4, SafeAuthorization, ServiceAccount.\n\nWhen set to BearerToken, the bearer token is read from a Secret referenced by the bearerToken field.\n\nWhen set to BasicAuth, HTTP basic authentication is used; the basicAuth field (username and password from Secrets) must be set.\n\nWhen set to OAuth2, OAuth2 client credentials flow is used; the oauth2 field (clientId, clientSecret, tokenUrl) must be set.\n\nWhen set to SigV4, AWS Signature Version 4 is used for authentication; the sigv4 field must be set.\n\nWhen set to SafeAuthorization, credentials are read from a single Secret key (Prometheus SafeAuthorization pattern). The secret key typically contains a Bearer token. Use the safeAuthorization field.\n\nWhen set to ServiceAccount, the pod's service account token is used for machine identity. No additional field is required; the operator configures the token path.", - "safeAuthorization": "safeAuthorization defines the secret reference containing the credentials for authentication (e.g. Bearer token). Required when type is \"SafeAuthorization\", and forbidden otherwise. Maps to Prometheus SafeAuthorization. The secret must exist in the openshift-monitoring namespace.", - "bearerToken": "bearerToken defines the secret reference containing the bearer token. Required when type is \"BearerToken\", and forbidden otherwise.", - "basicAuth": "basicAuth defines HTTP basic authentication credentials. Required when type is \"BasicAuth\", and forbidden otherwise.", - "oauth2": "oauth2 defines OAuth2 client credentials authentication. Required when type is \"OAuth2\", and forbidden otherwise.", - "sigv4": "sigv4 defines AWS Signature Version 4 authentication. Required when type is \"SigV4\", and forbidden otherwise.", + "": "RemoteWriteAuthorization defines the authorization method for a remote write endpoint. Nested config requirements depend on the type discriminator: Authorization requires authorization, BasicAuth requires basicAuth, OAuth2 requires oauth2, SigV4 requires sigv4, and ServiceAccount forbids all nested configs.", + "type": "type specifies the authorization method to use. Allowed values are Authorization, BasicAuth, OAuth2, SigV4, and ServiceAccount.\n\nWhen set to Authorization, credentials are read from a single Secret key. The secret key typically contains a Bearer token. Use the authorization field.\n\nWhen set to BasicAuth, HTTP basic authentication is used; the basicAuth field (username and password from Secrets) must be set.\n\nWhen set to OAuth2, OAuth2 client credentials flow is used; the oauth2 field (clientId, clientSecret, tokenUrl) must be set.\n\nWhen set to SigV4, AWS Signature Version 4 is used for authentication; the sigv4 field must be set.\n\nWhen set to ServiceAccount, the pod's service account token is used for machine identity. No additional field is required; the operator configures the token path.", + "authorization": "authorization defines the secret reference containing the authorization credentials (e.g. Bearer token). Required when type is \"Authorization\", and forbidden otherwise. The secret must exist in the openshift-monitoring namespace.", + "basicAuth": "basicAuth defines HTTP basic authentication credentials. Required when type is \"BasicAuth\", and forbidden otherwise.", + "oauth2": "oauth2 defines OAuth2 client credentials authentication. Required when type is \"OAuth2\", and forbidden otherwise.", + "sigv4": "sigv4 defines AWS Signature Version 4 authentication. Required when type is \"SigV4\", and forbidden otherwise.", } func (RemoteWriteAuthorization) SwaggerDoc() map[string]string { @@ -636,7 +635,7 @@ var map_RemoteWriteSpec = map[string]string{ "": "RemoteWriteSpec represents configuration for remote write endpoints.", "url": "url is the URL of the remote write endpoint. Must be a valid URL with http or https scheme and a non-empty hostname. Query parameters, fragments, and user information (e.g. user:password@host) are not allowed. Empty string is invalid. Must be between 1 and 2048 characters in length.", "name": "name is a required identifier for this remote write configuration (name is the list key for the remoteWrite list). This name is used in metrics and logging to differentiate remote write queues. Must contain only alphanumeric characters, hyphens, and underscores. Must be between 1 and 63 characters in length.", - "authorization": "authorization defines the authorization method for the remote write endpoint. When omitted, no authorization is performed. When set, type must be one of BearerToken, BasicAuth, OAuth2, SigV4, SafeAuthorization, or ServiceAccount; the corresponding nested config must be set (ServiceAccount has no config).", + "authorization": "authorization defines the authorization method for the remote write endpoint. When omitted, no authorization is performed. When set, type must be one of Authorization, BasicAuth, OAuth2, SigV4, or ServiceAccount; the corresponding nested config must be set (ServiceAccount has no config).", "headers": "headers specifies the custom HTTP headers to be sent along with each remote write request. Sending custom headers makes the configuration of a proxy in between optional and helps the receiver recognize the given source better. Clients MAY allow users to send custom HTTP headers; they MUST NOT allow users to configure them in such a way as to send reserved headers. Headers set by Prometheus cannot be overwritten. When omitted, no custom headers are sent. Maximum of 50 headers can be specified. Each header name must be unique. Each header name must contain only alphanumeric characters, hyphens, and underscores, and must not be a reserved Prometheus header (Host, Authorization, Content-Encoding, Content-Type, X-Prometheus-Remote-Write-Version, User-Agent, Connection, Keep-Alive, Proxy-Authenticate, Proxy-Authorization, WWW-Authenticate).", "metadataConfig": "metadataConfig configures the sending of series metadata to remote storage. When omitted, no metadata is sent. When set to sendPolicy: Default, metadata is sent using platform-chosen defaults (e.g. send interval 30 seconds). When set to sendPolicy: Custom, metadata is sent using the settings in the custom field (e.g. custom.sendIntervalSeconds).", "proxyUrl": "proxyUrl defines an optional proxy URL. If the cluster-wide proxy is enabled, it replaces the proxyUrl setting. The cluster-wide proxy supports both HTTP and HTTPS proxies, with HTTPS taking precedence. When omitted, no proxy is used. Must be a valid URL with http or https scheme. Must be between 1 and 2048 characters in length.", diff --git a/vendor/github.com/openshift/api/features.md b/vendor/github.com/openshift/api/features.md index 0b16169cfe..9f8357fec1 100644 --- a/vendor/github.com/openshift/api/features.md +++ b/vendor/github.com/openshift/api/features.md @@ -10,14 +10,14 @@ | MachineAPIOperatorDisableMachineHealthCheckController| | | | | | | | | | MultiArchInstallAzure| | | | | | | | | | ShortCertRotation| | | | | | | | | +| KarpenterOperator| | | | Enabled | | | | | | MutableTopology| | | | Enabled | | | | | +| AuthenticationComponentProxy| | | | Enabled | | | | Enabled | | ClusterAPIComputeInstall| | | Enabled | Enabled | | | | | | ClusterAPIControlPlaneInstall| | | Enabled | Enabled | | | | | | ClusterUpdatePreflight| | | Enabled | Enabled | | | | | | ConfidentialCluster| | | Enabled | Enabled | | | | | | Example2| | | Enabled | Enabled | | | | | -| ExternalOIDCExternalClaimsSourcing| | | Enabled | Enabled | | | | | -| ExternalSnapshotMetadata| | | Enabled | Enabled | | | | | | MachineAPIMigrationVSphere| | | Enabled | Enabled | | | | | | NetworkConnect| | | Enabled | Enabled | | | | | | NewOLMBoxCutterRuntime| | | | Enabled | | | | Enabled | @@ -59,13 +59,16 @@ | DyanmicServiceEndpointIBMCloud| | | Enabled | Enabled | | | Enabled | Enabled | | EtcdBackendQuota| | | Enabled | Enabled | | | Enabled | Enabled | | Example| | | Enabled | Enabled | | | Enabled | Enabled | +| ExternalOIDCExternalClaimsSourcing| | | Enabled | Enabled | | | Enabled | Enabled | | ExternalOIDCWithUpstreamParity| | | Enabled | Enabled | | | Enabled | Enabled | +| ExternalSnapshotMetadata| | | Enabled | Enabled | | | Enabled | Enabled | | GCPCustomAPIEndpoints| | | Enabled | Enabled | | | Enabled | Enabled | | GCPCustomAPIEndpointsInstall| | | Enabled | Enabled | | | Enabled | Enabled | | GCPDualStackInstall| | | Enabled | Enabled | | | Enabled | Enabled | | HyperShiftOnlyDynamicResourceAllocation| Enabled | | Enabled | | Enabled | | Enabled | | | ImageModeStatusReporting| | | Enabled | Enabled | | | Enabled | Enabled | | IngressControllerDynamicConfigurationManager| | | Enabled | Enabled | | | Enabled | Enabled | +| IngressControllerMultipleHAProxyVersions| | | Enabled | Enabled | | | Enabled | Enabled | | IrreconcilableMachineConfig| | | Enabled | Enabled | | | Enabled | Enabled | | KMSEncryption| | | Enabled | Enabled | | | Enabled | Enabled | | MachineAPIMigration| | | Enabled | Enabled | | | Enabled | Enabled | @@ -83,16 +86,16 @@ | OVNObservability| | | Enabled | Enabled | | | Enabled | Enabled | | OnPremDNSRecords| | | Enabled | Enabled | | | Enabled | Enabled | | SELinuxMount| | | Enabled | Enabled | | | Enabled | Enabled | +| SELinuxMountGAReadiness| | | Enabled | Enabled | | | Enabled | Enabled | | SignatureStores| | | Enabled | Enabled | | | Enabled | Enabled | | TLSAdherence| | | Enabled | Enabled | | | Enabled | Enabled | | TLSGroupPreferences| | | Enabled | Enabled | | | Enabled | Enabled | | VSphereConfigurableMaxAllowedBlockVolumesPerNode| | | Enabled | Enabled | | | Enabled | Enabled | -| VSphereMixedNodeEnv| | | Enabled | Enabled | | | Enabled | Enabled | | VSphereMultiVCenterDay2| | | Enabled | Enabled | | | Enabled | Enabled | | VolumeGroupSnapshot| | | Enabled | Enabled | | | Enabled | Enabled | -| AWSServiceLBNetworkSecurityGroup| | Enabled | Enabled | Enabled | | Enabled | Enabled | Enabled | | OSStreams| | Enabled | Enabled | Enabled | | Enabled | Enabled | Enabled | | AWSClusterHostedDNSInstall| Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | +| AWSServiceLBNetworkSecurityGroup| Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | | AzureClusterHostedDNSInstall| Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | | AzureWorkloadIdentity| Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | | BootImageSkewEnforcement| Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | @@ -119,5 +122,6 @@ | StoragePerformantSecurityPolicy| Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | | UpgradeStatus| Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | | VSphereHostVMGroupZonal| Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | +| VSphereMixedNodeEnv| Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | | VSphereMultiDisk| Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | | VSphereMultiNetworks| Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | diff --git a/vendor/github.com/openshift/api/features/features.go b/vendor/github.com/openshift/api/features/features.go index 1d0f9bcce4..547be2a7b3 100644 --- a/vendor/github.com/openshift/api/features/features.go +++ b/vendor/github.com/openshift/api/features/features.go @@ -354,10 +354,10 @@ var ( FeatureGateExternalSnapshotMetadata = newFeatureGate("ExternalSnapshotMetadata"). reportProblemsToJiraComponent("Storage / Kubernetes External Components"). - contactPerson("jdobson"). + contactPerson("rbednar"). productScope(kubernetes). enhancementPR("https://github.com/kubernetes/enhancements/issues/3314"). - enable(inDevPreviewNoUpgrade()). + enable(inTechPreviewNoUpgrade(), inDevPreviewNoUpgrade()). mustRegister() FeatureGateExternalOIDC = newFeatureGate("ExternalOIDC"). @@ -368,6 +368,14 @@ var ( enable(inDefault(), inOKD(), inTechPreviewNoUpgrade(), inDevPreviewNoUpgrade()). mustRegister() + FeatureGateAuthenticationComponentProxy = newFeatureGate("AuthenticationComponentProxy"). + reportProblemsToJiraComponent("authentication"). + contactPerson("liouk"). + productScope(ocpSpecific). + enhancementPR("https://github.com/openshift/enhancements/pull/2015"). + enable(inClusterProfile(SelfManaged), inTechPreviewNoUpgrade(), inDevPreviewNoUpgrade()). + mustRegister() + FeatureGateExternalOIDCWithAdditionalClaimMappings = newFeatureGate("ExternalOIDCWithUIDAndExtraClaimMappings"). reportProblemsToJiraComponent("authentication"). contactPerson("bpalmer"). @@ -389,7 +397,7 @@ var ( contactPerson("bpalmer"). productScope(ocpSpecific). enhancementPR("https://github.com/openshift/enhancements/pull/1907"). - enable(inDevPreviewNoUpgrade()). + enable(inDevPreviewNoUpgrade(), inTechPreviewNoUpgrade()). mustRegister() FeatureGateExample = newFeatureGate("Example"). @@ -666,6 +674,14 @@ var ( enable(inDevPreviewNoUpgrade(), inTechPreviewNoUpgrade()). mustRegister() + FeatureGateIngressControllerMultipleHAProxyVersions = newFeatureGate("IngressControllerMultipleHAProxyVersions"). + reportProblemsToJiraComponent("Networking/router"). + contactPerson("miciah"). + productScope(ocpSpecific). + enhancementPR("https://github.com/openshift/enhancements/pull/1965"). + enable(inDevPreviewNoUpgrade(), inTechPreviewNoUpgrade()). + mustRegister() + FeatureGateMinimumKubeletVersion = newFeatureGate("MinimumKubeletVersion"). reportProblemsToJiraComponent("Node"). contactPerson("haircommander"). @@ -798,7 +814,7 @@ var ( contactPerson("vr4manta"). productScope(ocpSpecific). enhancementPR("https://github.com/openshift/enhancements/pull/1772"). - enable(inTechPreviewNoUpgrade(), inDevPreviewNoUpgrade()). + enable(inDefault(), inOKD(), inTechPreviewNoUpgrade(), inDevPreviewNoUpgrade()). mustRegister() FeatureGateVSphereMultiVCenterDay2 = newFeatureGate("VSphereMultiVCenterDay2"). @@ -814,8 +830,7 @@ var ( contactPerson("mtulio"). productScope(ocpSpecific). enhancementPR("https://github.com/openshift/enhancements/pull/1802"). - enable(inClusterProfile(SelfManaged), inDefault(), inOKD(), inTechPreviewNoUpgrade(), inDevPreviewNoUpgrade()). - enable(inClusterProfile(Hypershift), inTechPreviewNoUpgrade(), inDevPreviewNoUpgrade()). + enable(inDefault(), inOKD(), inTechPreviewNoUpgrade(), inDevPreviewNoUpgrade()). mustRegister() FeatureGateNoRegistryClusterInstall = newFeatureGate("NoRegistryClusterInstall"). @@ -1029,4 +1044,20 @@ var ( enhancementPR("https://github.com/openshift/enhancements/pull/2008"). enable(inClusterProfile(SelfManaged), inDevPreviewNoUpgrade()). mustRegister() + + FeatureGateSELinuxMountGAReadiness = newFeatureGate("SELinuxMountGAReadiness"). + reportProblemsToJiraComponent("Storage / Operators"). + contactPerson("jsafrane"). + productScope(ocpSpecific). + enhancementPR("https://github.com/openshift/enhancements/pull/2010"). + enable(inTechPreviewNoUpgrade(), inDevPreviewNoUpgrade()). + mustRegister() + + FeatureGateKarpenterOperator = newFeatureGate("KarpenterOperator"). + reportProblemsToJiraComponent("Karpenter"). + contactPerson("maxcao13"). + productScope(ocpSpecific). + enhancementPR("https://github.com/openshift/enhancements/pull/2007"). + enable(inClusterProfile(SelfManaged), inDevPreviewNoUpgrade()). + mustRegister() ) diff --git a/vendor/github.com/openshift/api/image/.codegen.yaml b/vendor/github.com/openshift/api/image/.codegen.yaml index ffa2c8d9b2..a2d9bd2000 100644 --- a/vendor/github.com/openshift/api/image/.codegen.yaml +++ b/vendor/github.com/openshift/api/image/.codegen.yaml @@ -1,2 +1,7 @@ swaggerdocs: commentPolicy: Warn +protobuf: + disabled: false + disabledVersions: + - "1.0" + - pre012 diff --git a/vendor/github.com/openshift/api/network/.codegen.yaml b/vendor/github.com/openshift/api/network/.codegen.yaml index ab56605cdc..e9a0f18976 100644 --- a/vendor/github.com/openshift/api/network/.codegen.yaml +++ b/vendor/github.com/openshift/api/network/.codegen.yaml @@ -1 +1,4 @@ -schemapatch: +protobuf: + disabled: false + disabledVersions: + - v1alpha1 diff --git a/vendor/github.com/openshift/api/networkoperator/.codegen.yaml b/vendor/github.com/openshift/api/networkoperator/.codegen.yaml index ffa2c8d9b2..f10357951b 100644 --- a/vendor/github.com/openshift/api/networkoperator/.codegen.yaml +++ b/vendor/github.com/openshift/api/networkoperator/.codegen.yaml @@ -1,2 +1,4 @@ swaggerdocs: commentPolicy: Warn +protobuf: + disabled: false diff --git a/vendor/github.com/openshift/api/oauth/.codegen.yaml b/vendor/github.com/openshift/api/oauth/.codegen.yaml index ffa2c8d9b2..f10357951b 100644 --- a/vendor/github.com/openshift/api/oauth/.codegen.yaml +++ b/vendor/github.com/openshift/api/oauth/.codegen.yaml @@ -1,2 +1,4 @@ swaggerdocs: commentPolicy: Warn +protobuf: + disabled: false diff --git a/vendor/github.com/openshift/api/operator/v1/types.go b/vendor/github.com/openshift/api/operator/v1/types.go index 3a2141abb9..d9bf6880c8 100644 --- a/vendor/github.com/openshift/api/operator/v1/types.go +++ b/vendor/github.com/openshift/api/operator/v1/types.go @@ -3,6 +3,7 @@ package v1 import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/types" ) // MyOperatorResource is an example operator configuration type @@ -266,6 +267,15 @@ type NodeStatus struct { // +required NodeName string `json:"nodeName"` + // nodeUID is the UID of the node. + // This field is used to detect that a node has been deleted and recreated + // with the same name. When the UID changes, it indicates the node is a + // new instance and the controller should treat this status entry as stale. + // When omitted, UID-based node replacement detection is not available + // for this entry. + // +optional + NodeUID types.UID `json:"nodeUID,omitempty"` + // currentRevision is the generation of the most recently successful deployment. // Can not be set on creation of a nodeStatus. Updates must only increase the value. // +kubebuilder:validation:XValidation:rule="self >= oldSelf",message="must only increase" diff --git a/vendor/github.com/openshift/api/operator/v1/types_authentication.go b/vendor/github.com/openshift/api/operator/v1/types_authentication.go index 4d0e9f6d68..55fc62a791 100644 --- a/vendor/github.com/openshift/api/operator/v1/types_authentication.go +++ b/vendor/github.com/openshift/api/operator/v1/types_authentication.go @@ -33,6 +33,94 @@ type Authentication struct { type AuthenticationSpec struct { OperatorSpec `json:",inline"` + + // proxy configures proxy settings for outbound connections made + // by the authentication stack. When set, it replaces the + // cluster-wide proxy (proxy.config.openshift.io/cluster) + // entirely for authentication — individual fields are not + // inherited from the cluster-wide configuration. When omitted, + // the cluster-wide proxy is used if configured; otherwise no + // proxy is used. + // +openshift:enable:FeatureGate=AuthenticationComponentProxy + // +optional + Proxy AuthenticationProxyConfig `json:"proxy,omitzero"` +} + +// AuthenticationProxyConfig holds proxy configuration scoped to +// authentication components (the OAuth server and the cluster +// authentication operator). +// +kubebuilder:validation:MinProperties=1 +// +kubebuilder:validation:XValidation:rule="has(self.httpProxy) || has(self.httpsProxy)",message="at least one of httpProxy or httpsProxy must be specified" +type AuthenticationProxyConfig struct { + // httpProxy is the URL of the proxy for HTTP requests. + // Must be a valid URL with http or https scheme, a non-empty + // hostname, and no path, query parameters, or fragment. + // Userinfo (e.g. user:password@host) is allowed for proxy + // authentication. Maximum length is 2048 characters. + // +kubebuilder:validation:MinLength=1 + // +kubebuilder:validation:MaxLength=2048 + // +kubebuilder:validation:XValidation:rule="isURL(self)",message="httpProxy must be a valid URL" + // +kubebuilder:validation:XValidation:rule="!isURL(self) || url(self).getScheme() in ['http', 'https']",message="httpProxy must use http or https scheme" + // +kubebuilder:validation:XValidation:rule="!isURL(self) || size(url(self).getHostname()) > 0",message="httpProxy must contain a hostname" + // +kubebuilder:validation:XValidation:rule="!isURL(self) || url(self).getEscapedPath() == '' || url(self).getEscapedPath() == '/'",message="httpProxy must not contain a path" + // +kubebuilder:validation:XValidation:rule="!isURL(self) || url(self).getQuery().size() == 0",message="httpProxy must not contain query parameters" + // +kubebuilder:validation:XValidation:rule="!self.matches('.*#.*')",message="httpProxy must not contain a fragment" + // +optional + HTTPProxy string `json:"httpProxy,omitempty"` + + // httpsProxy is the URL of the proxy for HTTPS requests. + // Must be a valid URL with http or https scheme, a non-empty + // hostname, and no path, query parameters, or fragment. + // Userinfo (e.g. user:password@host) is allowed for proxy + // authentication. Maximum length is 2048 characters. + // +kubebuilder:validation:MinLength=1 + // +kubebuilder:validation:MaxLength=2048 + // +kubebuilder:validation:XValidation:rule="isURL(self)",message="httpsProxy must be a valid URL" + // +kubebuilder:validation:XValidation:rule="!isURL(self) || url(self).getScheme() in ['http', 'https']",message="httpsProxy must use http or https scheme" + // +kubebuilder:validation:XValidation:rule="!isURL(self) || size(url(self).getHostname()) > 0",message="httpsProxy must contain a hostname" + // +kubebuilder:validation:XValidation:rule="!isURL(self) || url(self).getEscapedPath() == '' || url(self).getEscapedPath() == '/'",message="httpsProxy must not contain a path" + // +kubebuilder:validation:XValidation:rule="!isURL(self) || url(self).getQuery().size() == 0",message="httpsProxy must not contain query parameters" + // +kubebuilder:validation:XValidation:rule="!self.matches('.*#.*')",message="httpsProxy must not contain a fragment" + // +optional + HTTPSProxy string `json:"httpsProxy,omitempty"` + + // noProxy is a list of hostnames and/or CIDRs and/or IPs for which + // the proxy should not be used. Must contain at least one entry + // when set. Each entry must be between 1 and 253 characters long + // and at most 64 entries are allowed. Duplicate + // entries are not permitted. Entries that are not valid hostnames, + // CIDRs, or IPs are silently ignored. Cluster-internal defaults + // (.cluster.local, .svc, 127.0.0.1, localhost) are always appended + // automatically and do not need to be included. + // +listType=set + // +kubebuilder:validation:MinItems=1 + // +kubebuilder:validation:MaxItems=64 + // +kubebuilder:validation:items:MinLength=1 + // +kubebuilder:validation:items:MaxLength=253 + // +optional + NoProxy []string `json:"noProxy,omitempty"` + + // trustedCA is a reference to a ConfigMap in the openshift-config + // namespace containing a CA certificate bundle under the key + // "ca-bundle.crt". This bundle is appended to the system trust store + // used by authentication components for proxy TLS connections. + // When omitted, only the system trust store is used. + // +optional + TrustedCA AuthenticationConfigMapReference `json:"trustedCA,omitzero"` +} + +// AuthenticationConfigMapReference references a ConfigMap in the +// openshift-config namespace. +type AuthenticationConfigMapReference struct { + // name is the metadata.name of the referenced ConfigMap. + // Must be a valid DNS subdomain name (RFC 1123): at most 253 + // characters, only lowercase alphanumeric characters, '-' or + // '.', starting and ending with an alphanumeric character. + // +kubebuilder:validation:MinLength=1 + // +kubebuilder:validation:MaxLength=253 + // +kubebuilder:validation:XValidation:rule="!format.dns1123Subdomain().validate(self).hasValue()",message="name must be a valid DNS subdomain name: contain no more than 253 characters, contain only lowercase alphanumeric characters, '-' or '.', and start and end with an alphanumeric character" + // +required + Name string `json:"name,omitempty"` } type AuthenticationStatus struct { diff --git a/vendor/github.com/openshift/api/operator/v1/types_csi_cluster_driver.go b/vendor/github.com/openshift/api/operator/v1/types_csi_cluster_driver.go index 52f5db78d5..fca2c808d3 100644 --- a/vendor/github.com/openshift/api/operator/v1/types_csi_cluster_driver.go +++ b/vendor/github.com/openshift/api/operator/v1/types_csi_cluster_driver.go @@ -21,6 +21,9 @@ import ( // +kubebuilder:subresource:status // +openshift:api-approved.openshift.io=https://github.com/openshift/api/pull/701 // +openshift:file-pattern=cvoRunLevel=0000_50,operatorName=csi-driver,operatorOrdering=01 +// +kubebuilder:validation:XValidation:rule="self.spec.?driverConfig.driverType.orValue('') == 'SecretsStore' ? self.metadata.name == 'secrets-store.csi.k8s.io' : true",message="driverType 'SecretsStore' requires metadata.name 'secrets-store.csi.k8s.io'" +// +kubebuilder:validation:XValidation:rule="self.metadata.name == 'secrets-store.csi.k8s.io' ? (!has(self.spec.driverConfig) || self.spec.driverConfig.driverType == 'SecretsStore') : true",message="metadata.name 'secrets-store.csi.k8s.io' requires driverType 'SecretsStore'" +// +kubebuilder:validation:XValidation:rule="oldSelf.spec.?driverConfig.?secretsStore.?tokenRequests.?type.orValue('') != 'Managed' || self.spec.?driverConfig.?secretsStore.?tokenRequests.?type.orValue('') == 'Managed'",message="tokenRequests type cannot be changed from Managed" // ClusterCSIDriver object allows management and configuration of a CSI driver operator // installed by default in OpenShift. Name of the object must be name of the CSI driver @@ -113,25 +116,27 @@ type ClusterCSIDriverSpec struct { } // CSIDriverType indicates type of CSI driver being configured. -// +kubebuilder:validation:Enum="";AWS;Azure;GCP;IBMCloud;vSphere +// +kubebuilder:validation:Enum="";AWS;Azure;GCP;IBMCloud;vSphere;SecretsStore type CSIDriverType string const ( - AWSDriverType CSIDriverType = "AWS" - AzureDriverType CSIDriverType = "Azure" - GCPDriverType CSIDriverType = "GCP" - IBMCloudDriverType CSIDriverType = "IBMCloud" - VSphereDriverType CSIDriverType = "vSphere" + AWSDriverType CSIDriverType = "AWS" + AzureDriverType CSIDriverType = "Azure" + GCPDriverType CSIDriverType = "GCP" + IBMCloudDriverType CSIDriverType = "IBMCloud" + VSphereDriverType CSIDriverType = "vSphere" + SecretsStoreDriverType CSIDriverType = "SecretsStore" ) // CSIDriverConfigSpec defines configuration spec that can be // used to optionally configure a specific CSI Driver. // +kubebuilder:validation:XValidation:rule="has(self.driverType) && self.driverType == 'IBMCloud' ? has(self.ibmcloud) : !has(self.ibmcloud)",message="ibmcloud must be set if driverType is 'IBMCloud', but remain unset otherwise" +// +kubebuilder:validation:XValidation:rule="has(self.driverType) && self.driverType == 'SecretsStore' ? has(self.secretsStore) : !has(self.secretsStore)",message="secretsStore must be set if driverType is 'SecretsStore', but remain unset otherwise" // +union type CSIDriverConfigSpec struct { // driverType indicates type of CSI driver for which the // driverConfig is being applied to. - // Valid values are: AWS, Azure, GCP, IBMCloud, vSphere and omitted. + // Valid values are: AWS, Azure, GCP, IBMCloud, vSphere, SecretsStore and omitted. // Consumers should treat unknown values as a NO-OP. // +required // +unionDiscriminator @@ -156,6 +161,10 @@ type CSIDriverConfigSpec struct { // vSphere is used to configure the vsphere CSI driver. // +optional VSphere *VSphereCSIDriverConfigSpec `json:"vSphere,omitempty"` + + // secretsStore is used to configure the Secrets Store CSI driver. + // +optional + SecretsStore SecretsStoreCSIDriverConfigSpec `json:"secretsStore,omitzero"` } // AWSCSIDriverConfigSpec defines properties that can be configured for the AWS CSI driver. @@ -389,6 +398,158 @@ type VSphereCSIDriverConfigSpec struct { MaxAllowedBlockVolumesPerNode int32 `json:"maxAllowedBlockVolumesPerNode,omitempty"` } +// SecretsStoreCSIDriverConfigSpec defines properties that can be configured for the Secrets Store CSI driver. +// +kubebuilder:validation:MinProperties=1 +type SecretsStoreCSIDriverConfigSpec struct { + // secretRotation controls automatic secret rotation behavior. + // When omitted, secret rotation is enabled with a default poll interval of 2 minutes. + // +optional + SecretRotation SecretsStoreSecretRotation `json:"secretRotation,omitzero"` + + // tokenRequests controls service account token configuration for + // workload identity federation (WIF) with cloud providers. + // When omitted, the operator preserves any existing tokenRequests + // already configured on the CSIDriver object without modification. + // +optional + TokenRequests SecretsStoreTokenRequests `json:"tokenRequests,omitzero"` +} + +// TokenRequestsType determines how the operator manages the tokenRequests +// field on the storage.k8s.io CSIDriver object. +// +kubebuilder:validation:Enum=Managed;Unmanaged +type TokenRequestsType string + +const ( + // TokenRequestsManaged means the operator uses the audiences list + // as the sole source of truth for the CSIDriver.spec.tokenRequests field. + TokenRequestsManaged TokenRequestsType = "Managed" + + // TokenRequestsUnmanaged means the operator preserves any existing + // tokenRequests already configured on the CSIDriver object and does not + // overwrite them. + TokenRequestsUnmanaged TokenRequestsType = "Unmanaged" +) + +// SecretsStoreTokenRequests configures how service account tokens are +// provided to the Secrets Store CSI driver for workload identity federation. +// +kubebuilder:validation:XValidation:rule="has(self.type) && self.type == 'Managed' ? has(self.managed) : !has(self.managed)",message="managed must be set when type is 'Managed', and must not be set otherwise" +// +union +type SecretsStoreTokenRequests struct { + // type determines how the operator manages tokenRequests on the CSIDriver object. + // When "Unmanaged", existing tokenRequests on the CSIDriver are preserved + // and the managed field is not used. + // When "Managed", the operator sets tokenRequests from the audiences + // specified in the managed field, replacing any previously configured values. + // Once set to "Managed", type cannot be reverted back to "Unmanaged". + // +unionDiscriminator + // +required + Type TokenRequestsType `json:"type,omitempty"` + + // managed holds configuration for operator-managed tokenRequests. + // Only valid when type is "Managed". + // +optional + Managed ManagedTokenRequests `json:"managed,omitzero"` +} + +// ManagedTokenRequests holds the configuration for operator-managed +// service account token requests. +// +kubebuilder:validation:MinProperties=1 +type ManagedTokenRequests struct { + // audiences specifies service account token audiences that kubelet will + // provide to the CSI driver during NodePublishVolume calls. These tokens + // enable workload identity federation (WIF) with cloud providers such as + // AWS, Azure, and GCP. + // When empty, the operator clears all tokenRequests from the CSIDriver object. + // +optional + // +listType=map + // +listMapKey=audience + // +kubebuilder:validation:MinItems=0 + // +kubebuilder:validation:MaxItems=10 + Audiences *[]SecretsStoreTokenRequest `json:"audiences,omitempty"` +} + +// SecretRotationType determines the secret rotation behavior for the +// Secrets Store CSI driver. +// +kubebuilder:validation:Enum=None;Custom +type SecretRotationType string + +const ( + // SecretRotationNone disables automatic secret rotation. Secrets are only + // fetched at initial pod mount time. + SecretRotationNone SecretRotationType = "None" + + // SecretRotationCustom enables automatic secret rotation with the + // configuration specified in the custom field. + SecretRotationCustom SecretRotationType = "Custom" +) + +// SecretsStoreSecretRotation configures the automatic secret rotation behavior +// for the Secrets Store CSI driver. +// +kubebuilder:validation:XValidation:rule="has(self.type) && self.type == 'Custom' ? has(self.custom) : !has(self.custom)",message="custom must be set when type is 'Custom', and must not be set otherwise" +// +union +type SecretsStoreSecretRotation struct { + // type determines the secret rotation behavior. + // When "None", secret rotation is disabled and secrets are only fetched at + // initial pod mount time. + // When "Custom", secret rotation is enabled with the configuration specified + // in the custom field. + // +unionDiscriminator + // +required + Type SecretRotationType `json:"type,omitempty"` + + // custom holds the custom rotation configuration. + // Only valid when type is "Custom". + // +optional + Custom CustomSecretRotation `json:"custom,omitzero"` +} + +// CustomSecretRotation holds configuration for custom secret rotation behavior. +// +kubebuilder:validation:MinProperties=1 +type CustomSecretRotation struct { + // minimumRefreshAge is the minimum time in seconds between secret + // rotation attempts. Each time kubelet calls NodePublishVolume, the driver + // checks whether this interval has elapsed since the last successful provider + // call. If it has, the driver contacts the secret provider to fetch the latest + // secret values and updates the mounted volume. + // Setting this value below the kubelet syncFrequency (default: 1 minute) + // has no additional effect on the actual rotation cadence. + // Must be at least 1 second and no more than 31560000 seconds (~1 year). + // When omitted, this means no opinion and the platform is left to choose a + // reasonable default, which is subject to change over time. + // +kubebuilder:validation:Minimum=1 + // +kubebuilder:validation:Maximum=31560000 + // +optional + MinimumRefreshAge int32 `json:"minimumRefreshAge,omitempty"` + + // --- TOMBSTONE --- + // rotationPollIntervalSeconds was the previous name for minimumRefreshAge. + // The field has been renamed to better reflect its semantics. + // The JSON key is reserved to prevent reuse. + // + // +optional + // RotationPollIntervalSeconds int32 `json:"rotationPollIntervalSeconds,omitempty"` +} + +// SecretsStoreTokenRequest specifies a service account token audience configuration +// for workload identity federation (WIF) with the Secrets Store CSI driver. +type SecretsStoreTokenRequest struct { + // audience is the intended audience of the service account token. + // An empty string means the issued token will use the kube-apiserver's default APIAudiences. + // +kubebuilder:validation:MinLength=0 + // +kubebuilder:validation:MaxLength=253 + // +required + Audience *string `json:"audience,omitempty"` + + // expirationSeconds is the requested duration of validity of the service account token. + // The token issuer may return a token with a different validity duration. + // When omitted, the token expiration is determined by the kube-apiserver. + // Must be at least 600 seconds (10 minutes) and no more than 315360000 seconds (~10 years). + // +kubebuilder:validation:Minimum=600 + // +kubebuilder:validation:Maximum=315360000 + // +optional + ExpirationSeconds int32 `json:"expirationSeconds,omitempty"` +} + // ClusterCSIDriverStatus is the observed status of CSI driver operator type ClusterCSIDriverStatus struct { OperatorStatus `json:",inline"` diff --git a/vendor/github.com/openshift/api/operator/v1/types_ingresscontroller.go b/vendor/github.com/openshift/api/operator/v1/types_ingresscontroller.go index 376bfacde4..2d442d4b41 100644 --- a/vendor/github.com/openshift/api/operator/v1/types_ingresscontroller.go +++ b/vendor/github.com/openshift/api/operator/v1/types_ingresscontroller.go @@ -385,6 +385,31 @@ type IngressControllerSpec struct { // +kubebuilder:default:="Continue" // +default="Continue" ClosedClientConnectionPolicy IngressControllerClosedClientConnectionPolicy `json:"closedClientConnectionPolicy,omitempty"` + + // haproxyVersion specifies the HAProxy version to use for this + // IngressController. + // + // OpenShift 5.0 introduces HAProxy 3.2 as its default version and supports + // HAProxy 2.8 from OpenShift 4.22 for migration purposes. When an OpenShift + // release introduces a new default HAProxy version, that HAProxy version + // becomes available as a pinnable value in subsequent OpenShift releases, + // providing a smooth migration path for administrators who want to defer + // HAProxy upgrades. + // + // Valid values for OpenShift 5.0: + // - Unset (default): Uses HAProxy 3.2 (the default for OpenShift 5.0) + // - "3.2": Explicitly pins HAProxy 3.2 for preservation during cluster + // upgrades to future OpenShift releases + // - "2.8": Uses HAProxy 2.8 from OpenShift 4.22 (migration support, will + // be dropped in the next OpenShift release) + // + // If a specific HAProxy version is set and would become unsupported in a + // target cluster upgrade, a preflight check will block the cluster upgrade + // until this field is updated to unset or a supported version. + // + // +optional + // +openshift:enable:FeatureGate=IngressControllerMultipleHAProxyVersions + HAProxyVersion HAProxyVersion `json:"haproxyVersion,omitempty"` } // httpCompressionPolicy turns on compression for the specified MIME types. @@ -898,8 +923,53 @@ type AWSNetworkLoadBalancerParameters struct { // +kubebuilder:validation:XValidation:rule=`self.all(x, self.exists_one(y, x == y))`,message="eipAllocations cannot contain duplicates" // +kubebuilder:validation:MaxItems=10 EIPAllocations []EIPAllocation `json:"eipAllocations"` + + // protocol specifies whether the Network Load Balancer uses PROXY + // protocol to forward connections to the IngressController. + // + // When set to "TCP", the NLB uses AWS's native client IP preservation. + // This may cause hairpin connection failures for internal load + // balancers when connections are made from pods to router pods on + // the same node. + // + // When set to "PROXY", the NLB disables native client IP preservation + // and uses PROXY protocol v2. The IngressController enables PROXY + // protocol on HAProxy so that it can parse PROXY protocol headers to + // obtain the original client IP. This avoids hairpin connection + // failures. + // + // The following values are valid for this field: + // + // * "TCP". + // * "PROXY". + // + // When omitted, this means the user has no opinion and the value is + // left to the platform to choose a reasonable default, which is subject to + // change over time. The current default is "PROXY". + // + // Note that changing this field may cause brief connection failures + // during the transition as the NLB attribute change and router rollout + // occur independently. + // + // +optional + Protocol NLBProtocol `json:"protocol,omitempty"` } +// NLBProtocol specifies whether the AWS Network Load Balancer uses +// PROXY protocol to forward connections to the IngressController. +// +kubebuilder:validation:Enum=TCP;PROXY +// +enum +type NLBProtocol string + +const ( + // NLBProtocolTCP instructs the NLB to forward connections using TCP + // without PROXY protocol. + NLBProtocolTCP NLBProtocol = "TCP" + // NLBProtocolProxy instructs the NLB to forward connections using + // PROXY protocol v2. + NLBProtocolProxy NLBProtocol = "PROXY" +) + // EIPAllocation is an ID for an Elastic IP (EIP) address that can be allocated to an ELB in the AWS environment. // Values must begin with `eipalloc-` followed by exactly 17 hexadecimal (`[0-9a-fA-F]`) characters. // + Explanation of the regex `^eipalloc-[0-9a-fA-F]{17}$` for validating value of the EIPAllocation: @@ -2218,6 +2288,19 @@ type IngressControllerStatus struct { // routeSelector is the actual routeSelector in use. // +optional RouteSelector *metav1.LabelSelector `json:"routeSelector,omitempty"` + + // effectiveHAProxyVersion reports the HAProxy version currently in use by + // this IngressController. This reflects the resolved value of the + // spec.haproxyVersion field. When omitted, the effective value has not yet + // been resolved by the operator or the feature is not enabled for this cluster. + // + // Examples for OpenShift 5.0: + // - "3.2": Using HAProxy 3.2 + // - "2.8": Using HAProxy 2.8 + // + // +optional + // +openshift:enable:FeatureGate=IngressControllerMultipleHAProxyVersions + EffectiveHAProxyVersion HAProxyVersion `json:"effectiveHAProxyVersion,omitempty"` } // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object @@ -2286,3 +2369,18 @@ const ( // server's response regardless of the client having closed the connection. IngressControllerClosedClientConnectionPolicyContinue IngressControllerClosedClientConnectionPolicy = "Continue" ) + +// HAProxyVersion is a string representing a HAProxy minor version in "X.Y" +// format. The allowed values are constrained by enum validation and vary by +// OpenShift release. +// +// +kubebuilder:validation:Enum="2.8";"3.2" +type HAProxyVersion string + +const ( + // HAProxyVersion28 represents HAProxy 2.8, shipped with OpenShift 4.22. + HAProxyVersion28 HAProxyVersion = "2.8" + + // HAProxyVersion32 represents HAProxy 3.2, introduced in OpenShift 5.0. + HAProxyVersion32 HAProxyVersion = "3.2" +) diff --git a/vendor/github.com/openshift/api/operator/v1/zz_generated.deepcopy.go b/vendor/github.com/openshift/api/operator/v1/zz_generated.deepcopy.go index b39071949a..3c244a9867 100644 --- a/vendor/github.com/openshift/api/operator/v1/zz_generated.deepcopy.go +++ b/vendor/github.com/openshift/api/operator/v1/zz_generated.deepcopy.go @@ -285,6 +285,22 @@ func (in *Authentication) DeepCopyObject() runtime.Object { return nil } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthenticationConfigMapReference) DeepCopyInto(out *AuthenticationConfigMapReference) { + *out = *in + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthenticationConfigMapReference. +func (in *AuthenticationConfigMapReference) DeepCopy() *AuthenticationConfigMapReference { + if in == nil { + return nil + } + out := new(AuthenticationConfigMapReference) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *AuthenticationList) DeepCopyInto(out *AuthenticationList) { *out = *in @@ -318,10 +334,33 @@ func (in *AuthenticationList) DeepCopyObject() runtime.Object { return nil } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthenticationProxyConfig) DeepCopyInto(out *AuthenticationProxyConfig) { + *out = *in + if in.NoProxy != nil { + in, out := &in.NoProxy, &out.NoProxy + *out = make([]string, len(*in)) + copy(*out, *in) + } + out.TrustedCA = in.TrustedCA + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthenticationProxyConfig. +func (in *AuthenticationProxyConfig) DeepCopy() *AuthenticationProxyConfig { + if in == nil { + return nil + } + out := new(AuthenticationProxyConfig) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *AuthenticationSpec) DeepCopyInto(out *AuthenticationSpec) { *out = *in in.OperatorSpec.DeepCopyInto(&out.OperatorSpec) + in.Proxy.DeepCopyInto(&out.Proxy) return } @@ -469,6 +508,7 @@ func (in *CSIDriverConfigSpec) DeepCopyInto(out *CSIDriverConfigSpec) { *out = new(VSphereCSIDriverConfigSpec) (*in).DeepCopyInto(*out) } + in.SecretsStore.DeepCopyInto(&out.SecretsStore) return } @@ -1180,6 +1220,22 @@ func (in *ContainerLoggingDestinationParameters) DeepCopy() *ContainerLoggingDes return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomSecretRotation) DeepCopyInto(out *CustomSecretRotation) { + *out = *in + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomSecretRotation. +func (in *CustomSecretRotation) DeepCopy() *CustomSecretRotation { + if in == nil { + return nil + } + out := new(CustomSecretRotation) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *DNS) DeepCopyInto(out *DNS) { *out = *in @@ -3473,6 +3529,33 @@ func (in *ManagedBootImages) DeepCopy() *ManagedBootImages { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagedTokenRequests) DeepCopyInto(out *ManagedTokenRequests) { + *out = *in + if in.Audiences != nil { + in, out := &in.Audiences, &out.Audiences + *out = new([]SecretsStoreTokenRequest) + if **in != nil { + in, out := *in, *out + *out = make([]SecretsStoreTokenRequest, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedTokenRequests. +func (in *ManagedTokenRequests) DeepCopy() *ManagedTokenRequests { + if in == nil { + return nil + } + out := new(ManagedTokenRequests) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *MyOperatorResource) DeepCopyInto(out *MyOperatorResource) { *out = *in @@ -4912,6 +4995,79 @@ func (in *SFlowConfig) DeepCopy() *SFlowConfig { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SecretsStoreCSIDriverConfigSpec) DeepCopyInto(out *SecretsStoreCSIDriverConfigSpec) { + *out = *in + out.SecretRotation = in.SecretRotation + in.TokenRequests.DeepCopyInto(&out.TokenRequests) + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretsStoreCSIDriverConfigSpec. +func (in *SecretsStoreCSIDriverConfigSpec) DeepCopy() *SecretsStoreCSIDriverConfigSpec { + if in == nil { + return nil + } + out := new(SecretsStoreCSIDriverConfigSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SecretsStoreSecretRotation) DeepCopyInto(out *SecretsStoreSecretRotation) { + *out = *in + out.Custom = in.Custom + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretsStoreSecretRotation. +func (in *SecretsStoreSecretRotation) DeepCopy() *SecretsStoreSecretRotation { + if in == nil { + return nil + } + out := new(SecretsStoreSecretRotation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SecretsStoreTokenRequest) DeepCopyInto(out *SecretsStoreTokenRequest) { + *out = *in + if in.Audience != nil { + in, out := &in.Audience, &out.Audience + *out = new(string) + **out = **in + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretsStoreTokenRequest. +func (in *SecretsStoreTokenRequest) DeepCopy() *SecretsStoreTokenRequest { + if in == nil { + return nil + } + out := new(SecretsStoreTokenRequest) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SecretsStoreTokenRequests) DeepCopyInto(out *SecretsStoreTokenRequests) { + *out = *in + in.Managed.DeepCopyInto(&out.Managed) + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretsStoreTokenRequests. +func (in *SecretsStoreTokenRequests) DeepCopy() *SecretsStoreTokenRequests { + if in == nil { + return nil + } + out := new(SecretsStoreTokenRequests) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *Server) DeepCopyInto(out *Server) { *out = *in diff --git a/vendor/github.com/openshift/api/operator/v1/zz_generated.featuregated-crd-manifests.yaml b/vendor/github.com/openshift/api/operator/v1/zz_generated.featuregated-crd-manifests.yaml index 9edb02ec6e..aab9e3564f 100644 --- a/vendor/github.com/openshift/api/operator/v1/zz_generated.featuregated-crd-manifests.yaml +++ b/vendor/github.com/openshift/api/operator/v1/zz_generated.featuregated-crd-manifests.yaml @@ -6,6 +6,7 @@ authentications.operator.openshift.io: Capability: "" Category: "" FeatureGates: + - AuthenticationComponentProxy - KMSEncryption FilenameOperatorName: authentication FilenameOperatorOrdering: "01" @@ -179,6 +180,7 @@ ingresscontrollers.operator.openshift.io: Category: "" FeatureGates: - IngressControllerDynamicConfigurationManager + - IngressControllerMultipleHAProxyVersions - TLSGroupPreferences FilenameOperatorName: ingress FilenameOperatorOrdering: "00" diff --git a/vendor/github.com/openshift/api/operator/v1/zz_generated.model_name.go b/vendor/github.com/openshift/api/operator/v1/zz_generated.model_name.go index 8c48ad4bc3..271665a7ec 100644 --- a/vendor/github.com/openshift/api/operator/v1/zz_generated.model_name.go +++ b/vendor/github.com/openshift/api/operator/v1/zz_generated.model_name.go @@ -65,11 +65,21 @@ func (in Authentication) OpenAPIModelName() string { return "com.github.openshift.api.operator.v1.Authentication" } +// OpenAPIModelName returns the OpenAPI model name for this type. +func (in AuthenticationConfigMapReference) OpenAPIModelName() string { + return "com.github.openshift.api.operator.v1.AuthenticationConfigMapReference" +} + // OpenAPIModelName returns the OpenAPI model name for this type. func (in AuthenticationList) OpenAPIModelName() string { return "com.github.openshift.api.operator.v1.AuthenticationList" } +// OpenAPIModelName returns the OpenAPI model name for this type. +func (in AuthenticationProxyConfig) OpenAPIModelName() string { + return "com.github.openshift.api.operator.v1.AuthenticationProxyConfig" +} + // OpenAPIModelName returns the OpenAPI model name for this type. func (in AuthenticationSpec) OpenAPIModelName() string { return "com.github.openshift.api.operator.v1.AuthenticationSpec" @@ -265,6 +275,11 @@ func (in ContainerLoggingDestinationParameters) OpenAPIModelName() string { return "com.github.openshift.api.operator.v1.ContainerLoggingDestinationParameters" } +// OpenAPIModelName returns the OpenAPI model name for this type. +func (in CustomSecretRotation) OpenAPIModelName() string { + return "com.github.openshift.api.operator.v1.CustomSecretRotation" +} + // OpenAPIModelName returns the OpenAPI model name for this type. func (in DNS) OpenAPIModelName() string { return "com.github.openshift.api.operator.v1.DNS" @@ -750,6 +765,11 @@ func (in ManagedBootImages) OpenAPIModelName() string { return "com.github.openshift.api.operator.v1.ManagedBootImages" } +// OpenAPIModelName returns the OpenAPI model name for this type. +func (in ManagedTokenRequests) OpenAPIModelName() string { + return "com.github.openshift.api.operator.v1.ManagedTokenRequests" +} + // OpenAPIModelName returns the OpenAPI model name for this type. func (in MyOperatorResource) OpenAPIModelName() string { return "com.github.openshift.api.operator.v1.MyOperatorResource" @@ -1040,6 +1060,26 @@ func (in SFlowConfig) OpenAPIModelName() string { return "com.github.openshift.api.operator.v1.SFlowConfig" } +// OpenAPIModelName returns the OpenAPI model name for this type. +func (in SecretsStoreCSIDriverConfigSpec) OpenAPIModelName() string { + return "com.github.openshift.api.operator.v1.SecretsStoreCSIDriverConfigSpec" +} + +// OpenAPIModelName returns the OpenAPI model name for this type. +func (in SecretsStoreSecretRotation) OpenAPIModelName() string { + return "com.github.openshift.api.operator.v1.SecretsStoreSecretRotation" +} + +// OpenAPIModelName returns the OpenAPI model name for this type. +func (in SecretsStoreTokenRequest) OpenAPIModelName() string { + return "com.github.openshift.api.operator.v1.SecretsStoreTokenRequest" +} + +// OpenAPIModelName returns the OpenAPI model name for this type. +func (in SecretsStoreTokenRequests) OpenAPIModelName() string { + return "com.github.openshift.api.operator.v1.SecretsStoreTokenRequests" +} + // OpenAPIModelName returns the OpenAPI model name for this type. func (in Server) OpenAPIModelName() string { return "com.github.openshift.api.operator.v1.Server" diff --git a/vendor/github.com/openshift/api/operator/v1/zz_generated.swagger_doc_generated.go b/vendor/github.com/openshift/api/operator/v1/zz_generated.swagger_doc_generated.go index 038638551e..2825e758b5 100644 --- a/vendor/github.com/openshift/api/operator/v1/zz_generated.swagger_doc_generated.go +++ b/vendor/github.com/openshift/api/operator/v1/zz_generated.swagger_doc_generated.go @@ -37,6 +37,7 @@ func (MyOperatorResource) SwaggerDoc() map[string]string { var map_NodeStatus = map[string]string{ "": "NodeStatus provides information about the current state of a particular node managed by this operator.", "nodeName": "nodeName is the name of the node", + "nodeUID": "nodeUID is the UID of the node. This field is used to detect that a node has been deleted and recreated with the same name. When the UID changes, it indicates the node is a new instance and the controller should treat this status entry as stale. When omitted, UID-based node replacement detection is not available for this entry.", "currentRevision": "currentRevision is the generation of the most recently successful deployment. Can not be set on creation of a nodeStatus. Updates must only increase the value.", "targetRevision": "targetRevision is the generation of the deployment we're trying to apply. Can not be set on creation of a nodeStatus.", "lastFailedRevision": "lastFailedRevision is the generation of the deployment we tried and failed to deploy.", @@ -118,6 +119,15 @@ func (Authentication) SwaggerDoc() map[string]string { return map_Authentication } +var map_AuthenticationConfigMapReference = map[string]string{ + "": "AuthenticationConfigMapReference references a ConfigMap in the openshift-config namespace.", + "name": "name is the metadata.name of the referenced ConfigMap. Must be a valid DNS subdomain name (RFC 1123): at most 253 characters, only lowercase alphanumeric characters, '-' or '.', starting and ending with an alphanumeric character.", +} + +func (AuthenticationConfigMapReference) SwaggerDoc() map[string]string { + return map_AuthenticationConfigMapReference +} + var map_AuthenticationList = map[string]string{ "": "AuthenticationList is a collection of items\n\nCompatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).", "metadata": "metadata is the standard list's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", @@ -127,6 +137,26 @@ func (AuthenticationList) SwaggerDoc() map[string]string { return map_AuthenticationList } +var map_AuthenticationProxyConfig = map[string]string{ + "": "AuthenticationProxyConfig holds proxy configuration scoped to authentication components (the OAuth server and the cluster authentication operator).", + "httpProxy": "httpProxy is the URL of the proxy for HTTP requests. Must be a valid URL with http or https scheme, a non-empty hostname, and no path, query parameters, or fragment. Userinfo (e.g. user:password@host) is allowed for proxy authentication. Maximum length is 2048 characters.", + "httpsProxy": "httpsProxy is the URL of the proxy for HTTPS requests. Must be a valid URL with http or https scheme, a non-empty hostname, and no path, query parameters, or fragment. Userinfo (e.g. user:password@host) is allowed for proxy authentication. Maximum length is 2048 characters.", + "noProxy": "noProxy is a list of hostnames and/or CIDRs and/or IPs for which the proxy should not be used. Must contain at least one entry when set. Each entry must be between 1 and 253 characters long and at most 64 entries are allowed. Duplicate entries are not permitted. Entries that are not valid hostnames, CIDRs, or IPs are silently ignored. Cluster-internal defaults (.cluster.local, .svc, 127.0.0.1, localhost) are always appended automatically and do not need to be included.", + "trustedCA": "trustedCA is a reference to a ConfigMap in the openshift-config namespace containing a CA certificate bundle under the key \"ca-bundle.crt\". This bundle is appended to the system trust store used by authentication components for proxy TLS connections. When omitted, only the system trust store is used.", +} + +func (AuthenticationProxyConfig) SwaggerDoc() map[string]string { + return map_AuthenticationProxyConfig +} + +var map_AuthenticationSpec = map[string]string{ + "proxy": "proxy configures proxy settings for outbound connections made by the authentication stack. When set, it replaces the cluster-wide proxy (proxy.config.openshift.io/cluster) entirely for authentication — individual fields are not inherited from the cluster-wide configuration. When omitted, the cluster-wide proxy is used if configured; otherwise no proxy is used.", +} + +func (AuthenticationSpec) SwaggerDoc() map[string]string { + return map_AuthenticationSpec +} + var map_AuthenticationStatus = map[string]string{ "oauthAPIServer": "oauthAPIServer holds status specific only to oauth-apiserver", } @@ -516,13 +546,14 @@ func (AzureDiskEncryptionSet) SwaggerDoc() map[string]string { } var map_CSIDriverConfigSpec = map[string]string{ - "": "CSIDriverConfigSpec defines configuration spec that can be used to optionally configure a specific CSI Driver.", - "driverType": "driverType indicates type of CSI driver for which the driverConfig is being applied to. Valid values are: AWS, Azure, GCP, IBMCloud, vSphere and omitted. Consumers should treat unknown values as a NO-OP.", - "aws": "aws is used to configure the AWS CSI driver.", - "azure": "azure is used to configure the Azure CSI driver.", - "gcp": "gcp is used to configure the GCP CSI driver.", - "ibmcloud": "ibmcloud is used to configure the IBM Cloud CSI driver.", - "vSphere": "vSphere is used to configure the vsphere CSI driver.", + "": "CSIDriverConfigSpec defines configuration spec that can be used to optionally configure a specific CSI Driver.", + "driverType": "driverType indicates type of CSI driver for which the driverConfig is being applied to. Valid values are: AWS, Azure, GCP, IBMCloud, vSphere, SecretsStore and omitted. Consumers should treat unknown values as a NO-OP.", + "aws": "aws is used to configure the AWS CSI driver.", + "azure": "azure is used to configure the Azure CSI driver.", + "gcp": "gcp is used to configure the GCP CSI driver.", + "ibmcloud": "ibmcloud is used to configure the IBM Cloud CSI driver.", + "vSphere": "vSphere is used to configure the vsphere CSI driver.", + "secretsStore": "secretsStore is used to configure the Secrets Store CSI driver.", } func (CSIDriverConfigSpec) SwaggerDoc() map[string]string { @@ -567,6 +598,15 @@ func (ClusterCSIDriverStatus) SwaggerDoc() map[string]string { return map_ClusterCSIDriverStatus } +var map_CustomSecretRotation = map[string]string{ + "": "CustomSecretRotation holds configuration for custom secret rotation behavior.", + "minimumRefreshAge": "minimumRefreshAge is the minimum time in seconds between secret rotation attempts. Each time kubelet calls NodePublishVolume, the driver checks whether this interval has elapsed since the last successful provider call. If it has, the driver contacts the secret provider to fetch the latest secret values and updates the mounted volume. Setting this value below the kubelet syncFrequency (default: 1 minute) has no additional effect on the actual rotation cadence. Must be at least 1 second and no more than 31560000 seconds (~1 year). When omitted, this means no opinion and the platform is left to choose a reasonable default, which is subject to change over time.", +} + +func (CustomSecretRotation) SwaggerDoc() map[string]string { + return map_CustomSecretRotation +} + var map_GCPCSIDriverConfigSpec = map[string]string{ "": "GCPCSIDriverConfigSpec defines properties that can be configured for the GCP CSI driver.", "kmsKey": "kmsKey sets the cluster default storage class to encrypt volumes with customer-supplied encryption keys, rather than the default keys managed by GCP.", @@ -597,6 +637,55 @@ func (IBMCloudCSIDriverConfigSpec) SwaggerDoc() map[string]string { return map_IBMCloudCSIDriverConfigSpec } +var map_ManagedTokenRequests = map[string]string{ + "": "ManagedTokenRequests holds the configuration for operator-managed service account token requests.", + "audiences": "audiences specifies service account token audiences that kubelet will provide to the CSI driver during NodePublishVolume calls. These tokens enable workload identity federation (WIF) with cloud providers such as AWS, Azure, and GCP. When empty, the operator clears all tokenRequests from the CSIDriver object.", +} + +func (ManagedTokenRequests) SwaggerDoc() map[string]string { + return map_ManagedTokenRequests +} + +var map_SecretsStoreCSIDriverConfigSpec = map[string]string{ + "": "SecretsStoreCSIDriverConfigSpec defines properties that can be configured for the Secrets Store CSI driver.", + "secretRotation": "secretRotation controls automatic secret rotation behavior. When omitted, secret rotation is enabled with a default poll interval of 2 minutes.", + "tokenRequests": "tokenRequests controls service account token configuration for workload identity federation (WIF) with cloud providers. When omitted, the operator preserves any existing tokenRequests already configured on the CSIDriver object without modification.", +} + +func (SecretsStoreCSIDriverConfigSpec) SwaggerDoc() map[string]string { + return map_SecretsStoreCSIDriverConfigSpec +} + +var map_SecretsStoreSecretRotation = map[string]string{ + "": "SecretsStoreSecretRotation configures the automatic secret rotation behavior for the Secrets Store CSI driver.", + "type": "type determines the secret rotation behavior. When \"None\", secret rotation is disabled and secrets are only fetched at initial pod mount time. When \"Custom\", secret rotation is enabled with the configuration specified in the custom field.", + "custom": "custom holds the custom rotation configuration. Only valid when type is \"Custom\".", +} + +func (SecretsStoreSecretRotation) SwaggerDoc() map[string]string { + return map_SecretsStoreSecretRotation +} + +var map_SecretsStoreTokenRequest = map[string]string{ + "": "SecretsStoreTokenRequest specifies a service account token audience configuration for workload identity federation (WIF) with the Secrets Store CSI driver.", + "audience": "audience is the intended audience of the service account token. An empty string means the issued token will use the kube-apiserver's default APIAudiences.", + "expirationSeconds": "expirationSeconds is the requested duration of validity of the service account token. The token issuer may return a token with a different validity duration. When omitted, the token expiration is determined by the kube-apiserver. Must be at least 600 seconds (10 minutes) and no more than 315360000 seconds (~10 years).", +} + +func (SecretsStoreTokenRequest) SwaggerDoc() map[string]string { + return map_SecretsStoreTokenRequest +} + +var map_SecretsStoreTokenRequests = map[string]string{ + "": "SecretsStoreTokenRequests configures how service account tokens are provided to the Secrets Store CSI driver for workload identity federation.", + "type": "type determines how the operator manages tokenRequests on the CSIDriver object. When \"Unmanaged\", existing tokenRequests on the CSIDriver are preserved and the managed field is not used. When \"Managed\", the operator sets tokenRequests from the audiences specified in the managed field, replacing any previously configured values. Once set to \"Managed\", type cannot be reverted back to \"Unmanaged\".", + "managed": "managed holds configuration for operator-managed tokenRequests. Only valid when type is \"Managed\".", +} + +func (SecretsStoreTokenRequests) SwaggerDoc() map[string]string { + return map_SecretsStoreTokenRequests +} + var map_VSphereCSIDriverConfigSpec = map[string]string{ "": "VSphereCSIDriverConfigSpec defines properties that can be configured for vsphere CSI driver.", "topologyCategories": "topologyCategories indicates tag categories with which vcenter resources such as hostcluster or datacenter were tagged with. If cluster Infrastructure object has a topology, values specified in Infrastructure object will be used and modifications to topologyCategories will be rejected.", @@ -831,6 +920,7 @@ var map_AWSNetworkLoadBalancerParameters = map[string]string{ "": "AWSNetworkLoadBalancerParameters holds configuration parameters for an AWS Network load balancer. For Example: Setting AWS EIPs https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html", "subnets": "subnets specifies the subnets to which the load balancer will attach. The subnets may be specified by either their ID or name. The total number of subnets is limited to 10.\n\nIn order for the load balancer to be provisioned with subnets, each subnet must exist, each subnet must be from a different availability zone, and the load balancer service must be recreated to pick up new values.\n\nWhen omitted from the spec, the subnets will be auto-discovered for each availability zone. Auto-discovered subnets are not reported in the status of the IngressController object.", "eipAllocations": "eipAllocations is a list of IDs for Elastic IP (EIP) addresses that are assigned to the Network Load Balancer. The following restrictions apply:\n\neipAllocations can only be used with external scope, not internal. An EIP can be allocated to only a single IngressController. The number of EIP allocations must match the number of subnets that are used for the load balancer. Each EIP allocation must be unique. A maximum of 10 EIP allocations are permitted.\n\nSee https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html for general information about configuration, characteristics, and limitations of Elastic IP addresses.", + "protocol": "protocol specifies whether the Network Load Balancer uses PROXY protocol to forward connections to the IngressController.\n\nWhen set to \"TCP\", the NLB uses AWS's native client IP preservation. This may cause hairpin connection failures for internal load balancers when connections are made from pods to router pods on the same node.\n\nWhen set to \"PROXY\", the NLB disables native client IP preservation and uses PROXY protocol v2. The IngressController enables PROXY protocol on HAProxy so that it can parse PROXY protocol headers to obtain the original client IP. This avoids hairpin connection failures.\n\nThe following values are valid for this field:\n\n* \"TCP\". * \"PROXY\".\n\nWhen omitted, this means the user has no opinion and the value is left to the platform to choose a reasonable default, which is subject to change over time. The current default is \"PROXY\".\n\nNote that changing this field may cause brief connection failures during the transition as the NLB attribute change and router rollout occur independently.", } func (AWSNetworkLoadBalancerParameters) SwaggerDoc() map[string]string { @@ -1083,6 +1173,7 @@ var map_IngressControllerSpec = map[string]string{ "httpCompression": "httpCompression defines a policy for HTTP traffic compression. By default, there is no HTTP compression.", "idleConnectionTerminationPolicy": "idleConnectionTerminationPolicy maps directly to HAProxy's idle-close-on-response option and controls whether HAProxy keeps idle frontend connections open during a soft stop (router reload).\n\nAllowed values for this field are \"Immediate\" and \"Deferred\". The default value is \"Immediate\".\n\nWhen set to \"Immediate\", idle connections are closed immediately during router reloads. This ensures immediate propagation of route changes but may impact clients sensitive to connection resets.\n\nWhen set to \"Deferred\", HAProxy will maintain idle connections during a soft reload instead of closing them immediately. These connections remain open until any of the following occurs:\n\n - A new request is received on the connection, in which\n case HAProxy handles it in the old process and closes\n the connection after sending the response.\n\n - HAProxy's `timeout http-keep-alive` duration expires.\n By default this is 300 seconds, but it can be changed\n using httpKeepAliveTimeout tuning option.\n\n - The client's keep-alive timeout expires, causing the\n client to close the connection.\n\nSetting Deferred can help prevent errors in clients or load balancers that do not properly handle connection resets. Additionally, this option allows you to retain the pre-2.4 HAProxy behaviour: in HAProxy version 2.2 (OpenShift versions < 4.14), maintaining idle connections during a soft reload was the default behaviour, but starting with HAProxy 2.4, the default changed to closing idle connections immediately.\n\nImportant Consideration:\n\n - Using Deferred will result in temporary inconsistencies\n for the first request on each persistent connection\n after a route update and router reload. This request\n will be processed by the old HAProxy process using its\n old configuration. Subsequent requests will use the\n updated configuration.\n\nOperational Considerations:\n\n - Keeping idle connections open during reloads may lead\n to an accumulation of old HAProxy processes if\n connections remain idle for extended periods,\n especially in environments where frequent reloads\n occur.\n\n - Consider monitoring the number of HAProxy processes in\n the router pods when Deferred is set.\n\n - You may need to enable or adjust the\n `ingress.operator.openshift.io/hard-stop-after`\n duration (configured via an annotation on the\n IngressController resource) in environments with\n frequent reloads to prevent resource exhaustion.", "closedClientConnectionPolicy": "closedClientConnectionPolicy controls how the IngressController behaves when the client closes the TCP connection while the TLS handshake or HTTP request is in progress. This option maps directly to HAProxy’s \"abortonclose\" option.\n\nValid values are: \"Abort\" and \"Continue\". The default value is \"Continue\".\n\nWhen set to \"Abort\", the router will stop processing the TLS handshake if it is in progress, and it will not send an HTTP request to the backend server if the request has not yet been sent when the client closes the connection.\n\nWhen set to \"Continue\", the router will complete the TLS handshake if it is in progress, or send an HTTP request to the backend server and wait for the backend server's response, regardless of whether the client has closed the connection.\n\nSetting \"Abort\" can help free CPU resources otherwise spent on TLS computation for connections the client has already closed, and can reduce request queue size, thereby reducing the load on saturated backend servers.\n\nImportant Considerations:\n\n - The default policy (\"Continue\") is HTTP-compliant, and requests\n for aborted client connections will still be served.\n Use the \"Continue\" policy to allow a client to send a request\n and then immediately close its side of the connection while\n still receiving a response on the half-closed connection.\n\n - When clients use keep-alive connections, the most common case for premature\n closure is when the user wants to cancel the transfer or when a timeout\n occurs. In that case, the \"Abort\" policy may be used to reduce resource consumption.\n\n - Using RSA keys larger than 2048 bits can significantly slow down\n TLS computations. Consider using the \"Abort\" policy to reduce CPU usage.", + "haproxyVersion": "haproxyVersion specifies the HAProxy version to use for this IngressController.\n\nOpenShift 5.0 introduces HAProxy 3.2 as its default version and supports HAProxy 2.8 from OpenShift 4.22 for migration purposes. When an OpenShift release introduces a new default HAProxy version, that HAProxy version becomes available as a pinnable value in subsequent OpenShift releases, providing a smooth migration path for administrators who want to defer HAProxy upgrades.\n\nValid values for OpenShift 5.0: - Unset (default): Uses HAProxy 3.2 (the default for OpenShift 5.0) - \"3.2\": Explicitly pins HAProxy 3.2 for preservation during cluster\n upgrades to future OpenShift releases\n- \"2.8\": Uses HAProxy 2.8 from OpenShift 4.22 (migration support, will\n be dropped in the next OpenShift release)\n\nIf a specific HAProxy version is set and would become unsupported in a target cluster upgrade, a preflight check will block the cluster upgrade until this field is updated to unset or a supported version.", } func (IngressControllerSpec) SwaggerDoc() map[string]string { @@ -1100,6 +1191,7 @@ var map_IngressControllerStatus = map[string]string{ "observedGeneration": "observedGeneration is the most recent generation observed.", "namespaceSelector": "namespaceSelector is the actual namespaceSelector in use.", "routeSelector": "routeSelector is the actual routeSelector in use.", + "effectiveHAProxyVersion": "effectiveHAProxyVersion reports the HAProxy version currently in use by this IngressController. This reflects the resolved value of the spec.haproxyVersion field. When omitted, the effective value has not yet been resolved by the operator or the feature is not enabled for this cluster.\n\nExamples for OpenShift 5.0: - \"3.2\": Using HAProxy 3.2 - \"2.8\": Using HAProxy 2.8", } func (IngressControllerStatus) SwaggerDoc() map[string]string { diff --git a/vendor/github.com/openshift/api/project/.codegen.yaml b/vendor/github.com/openshift/api/project/.codegen.yaml new file mode 100644 index 0000000000..f7a37129a0 --- /dev/null +++ b/vendor/github.com/openshift/api/project/.codegen.yaml @@ -0,0 +1,2 @@ +protobuf: + disabled: false diff --git a/vendor/github.com/openshift/api/quota/.codegen.yaml b/vendor/github.com/openshift/api/quota/.codegen.yaml new file mode 100644 index 0000000000..f7a37129a0 --- /dev/null +++ b/vendor/github.com/openshift/api/quota/.codegen.yaml @@ -0,0 +1,2 @@ +protobuf: + disabled: false diff --git a/vendor/github.com/openshift/api/route/.codegen.yaml b/vendor/github.com/openshift/api/route/.codegen.yaml index 65cf5d814b..b003a5d6c9 100644 --- a/vendor/github.com/openshift/api/route/.codegen.yaml +++ b/vendor/github.com/openshift/api/route/.codegen.yaml @@ -1,3 +1,5 @@ schemapatch: swaggerdocs: commentPolicy: Warn +protobuf: + disabled: false diff --git a/vendor/github.com/openshift/api/samples/.codegen.yaml b/vendor/github.com/openshift/api/samples/.codegen.yaml index ffa2c8d9b2..f10357951b 100644 --- a/vendor/github.com/openshift/api/samples/.codegen.yaml +++ b/vendor/github.com/openshift/api/samples/.codegen.yaml @@ -1,2 +1,4 @@ swaggerdocs: commentPolicy: Warn +protobuf: + disabled: false diff --git a/vendor/github.com/openshift/api/security/.codegen.yaml b/vendor/github.com/openshift/api/security/.codegen.yaml new file mode 100644 index 0000000000..f7a37129a0 --- /dev/null +++ b/vendor/github.com/openshift/api/security/.codegen.yaml @@ -0,0 +1,2 @@ +protobuf: + disabled: false diff --git a/vendor/github.com/openshift/api/template/.codegen.yaml b/vendor/github.com/openshift/api/template/.codegen.yaml new file mode 100644 index 0000000000..f7a37129a0 --- /dev/null +++ b/vendor/github.com/openshift/api/template/.codegen.yaml @@ -0,0 +1,2 @@ +protobuf: + disabled: false diff --git a/vendor/github.com/openshift/api/user/.codegen.yaml b/vendor/github.com/openshift/api/user/.codegen.yaml new file mode 100644 index 0000000000..f7a37129a0 --- /dev/null +++ b/vendor/github.com/openshift/api/user/.codegen.yaml @@ -0,0 +1,2 @@ +protobuf: + disabled: false diff --git a/vendor/github.com/openshift/client-go/apps/applyconfigurations/internal/internal.go b/vendor/github.com/openshift/client-go/apps/applyconfigurations/internal/internal.go index 075939f658..437388ff7a 100644 --- a/vendor/github.com/openshift/client-go/apps/applyconfigurations/internal/internal.go +++ b/vendor/github.com/openshift/client-go/apps/applyconfigurations/internal/internal.go @@ -23,503 +23,567 @@ func Parser() *typed.Parser { var parserOnce sync.Once var parser *typed.Parser var schemaYAML = typed.YAMLObject(`types: -- name: AWSElasticBlockStoreVolumeSource.v1.core.api.k8s.io +- name: com.github.openshift.api.apps.v1.CustomDeploymentStrategyParams map: fields: - - name: fsType - type: - scalar: string - - name: partition + - name: command type: - scalar: numeric - - name: readOnly + list: + elementType: + scalar: string + elementRelationship: atomic + - name: environment type: - scalar: boolean - - name: volumeID + list: + elementType: + namedType: io.k8s.api.core.v1.EnvVar + elementRelationship: atomic + - name: image type: scalar: string - default: "" -- name: Affinity.v1.core.api.k8s.io +- name: com.github.openshift.api.apps.v1.DeploymentCause map: fields: - - name: nodeAffinity + - name: imageTrigger type: - namedType: NodeAffinity.v1.core.api.k8s.io - - name: podAffinity + namedType: com.github.openshift.api.apps.v1.DeploymentCauseImageTrigger + - name: type type: - namedType: PodAffinity.v1.core.api.k8s.io - - name: podAntiAffinity + scalar: string + default: "" +- name: com.github.openshift.api.apps.v1.DeploymentCauseImageTrigger + map: + fields: + - name: from type: - namedType: PodAntiAffinity.v1.core.api.k8s.io -- name: AppArmorProfile.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.ObjectReference + default: {} +- name: com.github.openshift.api.apps.v1.DeploymentCondition map: fields: - - name: localhostProfile + - name: lastTransitionTime type: - scalar: string - - name: type + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.Time + - name: lastUpdateTime + type: + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.Time + - name: message type: scalar: string - default: "" - unions: - - discriminator: type - fields: - - fieldName: localhostProfile - discriminatorValue: LocalhostProfile -- name: AzureDiskVolumeSource.v1.core.api.k8s.io - map: - fields: - - name: cachingMode + - name: reason type: scalar: string - default: ReadWrite - - name: diskName + - name: status type: scalar: string default: "" - - name: diskURI + - name: type type: scalar: string default: "" - - name: fsType +- name: com.github.openshift.api.apps.v1.DeploymentConfig + map: + fields: + - name: apiVersion type: scalar: string - default: ext4 - name: kind type: scalar: string - default: Shared - - name: readOnly - type: - scalar: boolean - default: false -- name: AzureFileVolumeSource.v1.core.api.k8s.io - map: - fields: - - name: readOnly + - name: metadata type: - scalar: boolean - - name: secretName + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta + default: {} + - name: spec type: - scalar: string - default: "" - - name: shareName + namedType: com.github.openshift.api.apps.v1.DeploymentConfigSpec + default: {} + - name: status type: - scalar: string - default: "" -- name: CSIVolumeSource.v1.core.api.k8s.io + namedType: com.github.openshift.api.apps.v1.DeploymentConfigStatus + default: {} +- name: com.github.openshift.api.apps.v1.DeploymentConfigSpec map: fields: - - name: driver + - name: minReadySeconds type: - scalar: string - default: "" - - name: fsType + scalar: numeric + - name: paused type: - scalar: string - - name: nodePublishSecretRef + scalar: boolean + - name: replicas type: - namedType: LocalObjectReference.v1.core.api.k8s.io - - name: readOnly + scalar: numeric + default: 0 + - name: revisionHistoryLimit type: - scalar: boolean - - name: volumeAttributes + scalar: numeric + - name: selector type: map: elementType: scalar: string -- name: Capabilities.v1.core.api.k8s.io - map: - fields: - - name: add + - name: strategy type: - list: - elementType: - scalar: string - elementRelationship: atomic - - name: drop + namedType: com.github.openshift.api.apps.v1.DeploymentStrategy + default: {} + - name: template + type: + namedType: io.k8s.api.core.v1.PodTemplateSpec + - name: test + type: + scalar: boolean + default: false + - name: triggers type: list: elementType: - scalar: string + namedType: com.github.openshift.api.apps.v1.DeploymentTriggerPolicy elementRelationship: atomic -- name: CephFSVolumeSource.v1.core.api.k8s.io +- name: com.github.openshift.api.apps.v1.DeploymentConfigStatus map: fields: - - name: monitors + - name: availableReplicas + type: + scalar: numeric + default: 0 + - name: conditions type: list: elementType: - scalar: string - elementRelationship: atomic - - name: path + namedType: com.github.openshift.api.apps.v1.DeploymentCondition + elementRelationship: associative + keys: + - type + - name: details type: - scalar: string - - name: readOnly + namedType: com.github.openshift.api.apps.v1.DeploymentDetails + - name: latestVersion type: - scalar: boolean - - name: secretFile + scalar: numeric + default: 0 + - name: observedGeneration type: - scalar: string - - name: secretRef + scalar: numeric + default: 0 + - name: readyReplicas type: - namedType: LocalObjectReference.v1.core.api.k8s.io - - name: user + scalar: numeric + - name: replicas type: - scalar: string -- name: CinderVolumeSource.v1.core.api.k8s.io - map: - fields: - - name: fsType + scalar: numeric + default: 0 + - name: unavailableReplicas type: - scalar: string - - name: readOnly + scalar: numeric + default: 0 + - name: updatedReplicas type: - scalar: boolean - - name: secretRef + scalar: numeric + default: 0 +- name: com.github.openshift.api.apps.v1.DeploymentDetails + map: + fields: + - name: causes type: - namedType: LocalObjectReference.v1.core.api.k8s.io - - name: volumeID + list: + elementType: + namedType: com.github.openshift.api.apps.v1.DeploymentCause + elementRelationship: atomic + - name: message type: scalar: string - default: "" -- name: ClusterTrustBundleProjection.v1.core.api.k8s.io +- name: com.github.openshift.api.apps.v1.DeploymentStrategy map: fields: - - name: labelSelector + - name: activeDeadlineSeconds type: - namedType: LabelSelector.v1.meta.apis.pkg.apimachinery.k8s.io - - name: name + scalar: numeric + - name: annotations type: - scalar: string - - name: optional + map: + elementType: + scalar: string + - name: customParams type: - scalar: boolean - - name: path + namedType: com.github.openshift.api.apps.v1.CustomDeploymentStrategyParams + - name: labels type: - scalar: string - default: "" - - name: signerName + map: + elementType: + scalar: string + - name: recreateParams + type: + namedType: com.github.openshift.api.apps.v1.RecreateDeploymentStrategyParams + - name: resources + type: + namedType: io.k8s.api.core.v1.ResourceRequirements + default: {} + - name: rollingParams + type: + namedType: com.github.openshift.api.apps.v1.RollingDeploymentStrategyParams + - name: type type: scalar: string -- name: ConfigMapEnvSource.v1.core.api.k8s.io +- name: com.github.openshift.api.apps.v1.DeploymentTriggerImageChangeParams map: fields: - - name: name - type: - scalar: string - default: "" - - name: optional + - name: automatic type: scalar: boolean -- name: ConfigMapKeySelector.v1.core.api.k8s.io + - name: containerNames + type: + list: + elementType: + scalar: string + elementRelationship: atomic + - name: from + type: + namedType: io.k8s.api.core.v1.ObjectReference + default: {} + - name: lastTriggeredImage + type: + scalar: string +- name: com.github.openshift.api.apps.v1.DeploymentTriggerPolicy map: fields: - - name: key + - name: imageChangeParams type: - scalar: string - default: "" - - name: name + namedType: com.github.openshift.api.apps.v1.DeploymentTriggerImageChangeParams + - name: type type: scalar: string - default: "" - - name: optional - type: - scalar: boolean - elementRelationship: atomic -- name: ConfigMapProjection.v1.core.api.k8s.io +- name: com.github.openshift.api.apps.v1.ExecNewPodHook map: fields: - - name: items + - name: command type: list: elementType: - namedType: KeyToPath.v1.core.api.k8s.io + scalar: string elementRelationship: atomic - - name: name + - name: containerName type: scalar: string default: "" - - name: optional - type: - scalar: boolean -- name: ConfigMapVolumeSource.v1.core.api.k8s.io - map: - fields: - - name: defaultMode - type: - scalar: numeric - - name: items + - name: env type: list: elementType: - namedType: KeyToPath.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.EnvVar elementRelationship: atomic - - name: name - type: - scalar: string - default: "" - - name: optional - type: - scalar: boolean -- name: Container.v1.core.api.k8s.io - map: - fields: - - name: args + - name: volumes type: list: elementType: scalar: string elementRelationship: atomic - - name: command +- name: com.github.openshift.api.apps.v1.LifecycleHook + map: + fields: + - name: execNewPod type: - list: - elementType: - scalar: string - elementRelationship: atomic - - name: env + namedType: com.github.openshift.api.apps.v1.ExecNewPodHook + - name: failurePolicy type: - list: - elementType: - namedType: EnvVar.v1.core.api.k8s.io - elementRelationship: associative - keys: - - name - - name: envFrom + scalar: string + default: "" + - name: tagImages type: list: elementType: - namedType: EnvFromSource.v1.core.api.k8s.io + namedType: com.github.openshift.api.apps.v1.TagImageHook elementRelationship: atomic - - name: image +- name: com.github.openshift.api.apps.v1.RecreateDeploymentStrategyParams + map: + fields: + - name: mid type: - scalar: string - - name: imagePullPolicy + namedType: com.github.openshift.api.apps.v1.LifecycleHook + - name: post type: - scalar: string - - name: lifecycle + namedType: com.github.openshift.api.apps.v1.LifecycleHook + - name: pre type: - namedType: Lifecycle.v1.core.api.k8s.io - - name: livenessProbe + namedType: com.github.openshift.api.apps.v1.LifecycleHook + - name: timeoutSeconds type: - namedType: Probe.v1.core.api.k8s.io - - name: name + scalar: numeric +- name: com.github.openshift.api.apps.v1.RollingDeploymentStrategyParams + map: + fields: + - name: intervalSeconds type: - scalar: string - default: "" - - name: ports + scalar: numeric + - name: maxSurge type: - list: - elementType: - namedType: ContainerPort.v1.core.api.k8s.io - elementRelationship: associative - keys: - - containerPort - - protocol - - name: readinessProbe + namedType: io.k8s.apimachinery.pkg.util.intstr.IntOrString + - name: maxUnavailable type: - namedType: Probe.v1.core.api.k8s.io - - name: resizePolicy + namedType: io.k8s.apimachinery.pkg.util.intstr.IntOrString + - name: post type: - list: - elementType: - namedType: ContainerResizePolicy.v1.core.api.k8s.io - elementRelationship: atomic - - name: resources + namedType: com.github.openshift.api.apps.v1.LifecycleHook + - name: pre type: - namedType: ResourceRequirements.v1.core.api.k8s.io - default: {} - - name: restartPolicy + namedType: com.github.openshift.api.apps.v1.LifecycleHook + - name: timeoutSeconds type: - scalar: string - - name: restartPolicyRules + scalar: numeric + - name: updatePeriodSeconds type: - list: - elementType: - namedType: ContainerRestartRule.v1.core.api.k8s.io - elementRelationship: atomic - - name: securityContext + scalar: numeric +- name: com.github.openshift.api.apps.v1.TagImageHook + map: + fields: + - name: containerName type: - namedType: SecurityContext.v1.core.api.k8s.io - - name: startupProbe + scalar: string + default: "" + - name: to type: - namedType: Probe.v1.core.api.k8s.io - - name: stdin + namedType: io.k8s.api.core.v1.ObjectReference + default: {} +- name: io.k8s.api.core.v1.AWSElasticBlockStoreVolumeSource + map: + fields: + - name: fsType type: - scalar: boolean - - name: stdinOnce + scalar: string + - name: partition + type: + scalar: numeric + - name: readOnly type: scalar: boolean - - name: terminationMessagePath + - name: volumeID type: scalar: string - - name: terminationMessagePolicy + default: "" +- name: io.k8s.api.core.v1.Affinity + map: + fields: + - name: nodeAffinity type: - scalar: string - - name: tty + namedType: io.k8s.api.core.v1.NodeAffinity + - name: podAffinity type: - scalar: boolean - - name: volumeDevices + namedType: io.k8s.api.core.v1.PodAffinity + - name: podAntiAffinity type: - list: - elementType: - namedType: VolumeDevice.v1.core.api.k8s.io - elementRelationship: associative - keys: - - devicePath - - name: volumeMounts + namedType: io.k8s.api.core.v1.PodAntiAffinity +- name: io.k8s.api.core.v1.AppArmorProfile + map: + fields: + - name: localhostProfile type: - list: - elementType: - namedType: VolumeMount.v1.core.api.k8s.io - elementRelationship: associative - keys: - - mountPath - - name: workingDir + scalar: string + - name: type type: scalar: string -- name: ContainerPort.v1.core.api.k8s.io + default: "" + unions: + - discriminator: type + fields: + - fieldName: localhostProfile + discriminatorValue: LocalhostProfile +- name: io.k8s.api.core.v1.AzureDiskVolumeSource map: fields: - - name: containerPort + - name: cachingMode type: - scalar: numeric - default: 0 - - name: hostIP + scalar: string + default: ReadWrite + - name: diskName type: scalar: string - - name: hostPort + default: "" + - name: diskURI type: - scalar: numeric - - name: name + scalar: string + default: "" + - name: fsType type: scalar: string - - name: protocol + default: ext4 + - name: kind type: scalar: string - default: TCP -- name: ContainerResizePolicy.v1.core.api.k8s.io + default: Shared + - name: readOnly + type: + scalar: boolean + default: false +- name: io.k8s.api.core.v1.AzureFileVolumeSource map: fields: - - name: resourceName + - name: readOnly + type: + scalar: boolean + - name: secretName type: scalar: string default: "" - - name: restartPolicy + - name: shareName type: scalar: string default: "" -- name: ContainerRestartRule.v1.core.api.k8s.io +- name: io.k8s.api.core.v1.CSIVolumeSource map: fields: - - name: action + - name: driver type: scalar: string - - name: exitCodes - type: - namedType: ContainerRestartRuleOnExitCodes.v1.core.api.k8s.io -- name: ContainerRestartRuleOnExitCodes.v1.core.api.k8s.io - map: - fields: - - name: operator + default: "" + - name: fsType type: scalar: string - - name: values + - name: nodePublishSecretRef type: - list: + namedType: io.k8s.api.core.v1.LocalObjectReference + - name: readOnly + type: + scalar: boolean + - name: volumeAttributes + type: + map: elementType: - scalar: numeric - elementRelationship: associative -- name: DownwardAPIProjection.v1.core.api.k8s.io + scalar: string +- name: io.k8s.api.core.v1.Capabilities map: fields: - - name: items + - name: add type: list: elementType: - namedType: DownwardAPIVolumeFile.v1.core.api.k8s.io + scalar: string elementRelationship: atomic -- name: DownwardAPIVolumeFile.v1.core.api.k8s.io - map: - fields: - - name: fieldRef - type: - namedType: ObjectFieldSelector.v1.core.api.k8s.io - - name: mode - type: - scalar: numeric - - name: path - type: - scalar: string - default: "" - - name: resourceFieldRef + - name: drop type: - namedType: ResourceFieldSelector.v1.core.api.k8s.io -- name: DownwardAPIVolumeSource.v1.core.api.k8s.io + list: + elementType: + scalar: string + elementRelationship: atomic +- name: io.k8s.api.core.v1.CephFSVolumeSource map: fields: - - name: defaultMode - type: - scalar: numeric - - name: items + - name: monitors type: list: elementType: - namedType: DownwardAPIVolumeFile.v1.core.api.k8s.io + scalar: string elementRelationship: atomic -- name: EmptyDirVolumeSource.v1.core.api.k8s.io - map: - fields: - - name: medium + - name: path type: scalar: string - - name: sizeLimit - type: - namedType: Quantity.resource.api.pkg.apimachinery.k8s.io -- name: EnvFromSource.v1.core.api.k8s.io - map: - fields: - - name: configMapRef + - name: readOnly type: - namedType: ConfigMapEnvSource.v1.core.api.k8s.io - - name: prefix + scalar: boolean + - name: secretFile type: scalar: string - name: secretRef type: - namedType: SecretEnvSource.v1.core.api.k8s.io -- name: EnvVar.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.LocalObjectReference + - name: user + type: + scalar: string +- name: io.k8s.api.core.v1.CinderVolumeSource map: fields: - - name: name + - name: fsType type: scalar: string - default: "" - - name: value + - name: readOnly type: - scalar: string - - name: valueFrom + scalar: boolean + - name: secretRef + type: + namedType: io.k8s.api.core.v1.LocalObjectReference + - name: volumeID type: - namedType: EnvVarSource.v1.core.api.k8s.io -- name: EnvVarSource.v1.core.api.k8s.io + scalar: string + default: "" +- name: io.k8s.api.core.v1.ClusterTrustBundleProjection map: fields: - - name: configMapKeyRef + - name: labelSelector type: - namedType: ConfigMapKeySelector.v1.core.api.k8s.io - - name: fieldRef + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector + - name: name type: - namedType: ObjectFieldSelector.v1.core.api.k8s.io - - name: fileKeyRef + scalar: string + - name: optional type: - namedType: FileKeySelector.v1.core.api.k8s.io - - name: resourceFieldRef + scalar: boolean + - name: path type: - namedType: ResourceFieldSelector.v1.core.api.k8s.io - - name: secretKeyRef + scalar: string + default: "" + - name: signerName + type: + scalar: string +- name: io.k8s.api.core.v1.ConfigMapEnvSource + map: + fields: + - name: name + type: + scalar: string + default: "" + - name: optional + type: + scalar: boolean +- name: io.k8s.api.core.v1.ConfigMapKeySelector + map: + fields: + - name: key + type: + scalar: string + default: "" + - name: name + type: + scalar: string + default: "" + - name: optional + type: + scalar: boolean + elementRelationship: atomic +- name: io.k8s.api.core.v1.ConfigMapProjection + map: + fields: + - name: items + type: + list: + elementType: + namedType: io.k8s.api.core.v1.KeyToPath + elementRelationship: atomic + - name: name + type: + scalar: string + default: "" + - name: optional + type: + scalar: boolean +- name: io.k8s.api.core.v1.ConfigMapVolumeSource + map: + fields: + - name: defaultMode + type: + scalar: numeric + - name: items + type: + list: + elementType: + namedType: io.k8s.api.core.v1.KeyToPath + elementRelationship: atomic + - name: name + type: + scalar: string + default: "" + - name: optional type: - namedType: SecretKeySelector.v1.core.api.k8s.io -- name: EphemeralContainer.v1.core.api.k8s.io + scalar: boolean +- name: io.k8s.api.core.v1.Container map: fields: - name: args @@ -538,7 +602,7 @@ var schemaYAML = typed.YAMLObject(`types: type: list: elementType: - namedType: EnvVar.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.EnvVar elementRelationship: associative keys: - name @@ -546,7 +610,7 @@ var schemaYAML = typed.YAMLObject(`types: type: list: elementType: - namedType: EnvFromSource.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.EnvFromSource elementRelationship: atomic - name: image type: @@ -556,10 +620,10 @@ var schemaYAML = typed.YAMLObject(`types: scalar: string - name: lifecycle type: - namedType: Lifecycle.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.Lifecycle - name: livenessProbe type: - namedType: Probe.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.Probe - name: name type: scalar: string @@ -568,23 +632,23 @@ var schemaYAML = typed.YAMLObject(`types: type: list: elementType: - namedType: ContainerPort.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.ContainerPort elementRelationship: associative keys: - containerPort - protocol - name: readinessProbe type: - namedType: Probe.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.Probe - name: resizePolicy type: list: elementType: - namedType: ContainerResizePolicy.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.ContainerResizePolicy elementRelationship: atomic - name: resources type: - namedType: ResourceRequirements.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.ResourceRequirements default: {} - name: restartPolicy type: @@ -593,23 +657,20 @@ var schemaYAML = typed.YAMLObject(`types: type: list: elementType: - namedType: ContainerRestartRule.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.ContainerRestartRule elementRelationship: atomic - name: securityContext type: - namedType: SecurityContext.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.SecurityContext - name: startupProbe type: - namedType: Probe.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.Probe - name: stdin type: scalar: boolean - name: stdinOnce type: scalar: boolean - - name: targetContainerName - type: - scalar: string - name: terminationMessagePath type: scalar: string @@ -623,7 +684,7 @@ var schemaYAML = typed.YAMLObject(`types: type: list: elementType: - namedType: VolumeDevice.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.VolumeDevice elementRelationship: associative keys: - devicePath @@ -631,385 +692,409 @@ var schemaYAML = typed.YAMLObject(`types: type: list: elementType: - namedType: VolumeMount.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.VolumeMount elementRelationship: associative keys: - mountPath - name: workingDir type: scalar: string -- name: EphemeralVolumeSource.v1.core.api.k8s.io - map: - fields: - - name: volumeClaimTemplate - type: - namedType: PersistentVolumeClaimTemplate.v1.core.api.k8s.io -- name: ExecAction.v1.core.api.k8s.io +- name: io.k8s.api.core.v1.ContainerPort map: fields: - - name: command + - name: containerPort type: - list: - elementType: - scalar: string - elementRelationship: atomic -- name: FCVolumeSource.v1.core.api.k8s.io - map: - fields: - - name: fsType + scalar: numeric + default: 0 + - name: hostIP type: scalar: string - - name: lun + - name: hostPort type: scalar: numeric - - name: readOnly - type: - scalar: boolean - - name: targetWWNs + - name: name type: - list: - elementType: - scalar: string - elementRelationship: atomic - - name: wwids + scalar: string + - name: protocol type: - list: - elementType: - scalar: string - elementRelationship: atomic -- name: FieldsV1.v1.meta.apis.pkg.apimachinery.k8s.io - map: - elementType: - scalar: untyped - list: - elementType: - namedType: __untyped_atomic_ - elementRelationship: atomic - map: - elementType: - namedType: __untyped_deduced_ - elementRelationship: separable -- name: FileKeySelector.v1.core.api.k8s.io + scalar: string + default: TCP +- name: io.k8s.api.core.v1.ContainerResizePolicy map: fields: - - name: key - type: - scalar: string - default: "" - - name: optional - type: - scalar: boolean - default: false - - name: path + - name: resourceName type: scalar: string default: "" - - name: volumeName + - name: restartPolicy type: scalar: string default: "" - elementRelationship: atomic -- name: FlexVolumeSource.v1.core.api.k8s.io +- name: io.k8s.api.core.v1.ContainerRestartRule map: fields: - - name: driver + - name: action type: scalar: string - default: "" - - name: fsType + - name: exitCodes + type: + namedType: io.k8s.api.core.v1.ContainerRestartRuleOnExitCodes +- name: io.k8s.api.core.v1.ContainerRestartRuleOnExitCodes + map: + fields: + - name: operator type: scalar: string - - name: options + - name: values type: - map: + list: elementType: - scalar: string - - name: readOnly - type: - scalar: boolean - - name: secretRef - type: - namedType: LocalObjectReference.v1.core.api.k8s.io -- name: FlockerVolumeSource.v1.core.api.k8s.io + scalar: numeric + elementRelationship: associative +- name: io.k8s.api.core.v1.DownwardAPIProjection map: fields: - - name: datasetName - type: - scalar: string - - name: datasetUUID + - name: items type: - scalar: string -- name: GCEPersistentDiskVolumeSource.v1.core.api.k8s.io + list: + elementType: + namedType: io.k8s.api.core.v1.DownwardAPIVolumeFile + elementRelationship: atomic +- name: io.k8s.api.core.v1.DownwardAPIVolumeFile map: fields: - - name: fsType + - name: fieldRef type: - scalar: string - - name: partition + namedType: io.k8s.api.core.v1.ObjectFieldSelector + - name: mode type: scalar: numeric - - name: pdName + - name: path type: scalar: string default: "" - - name: readOnly + - name: resourceFieldRef type: - scalar: boolean -- name: GRPCAction.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.ResourceFieldSelector +- name: io.k8s.api.core.v1.DownwardAPIVolumeSource map: fields: - - name: port + - name: defaultMode type: scalar: numeric - default: 0 - - name: service + - name: items type: - scalar: string - default: "" -- name: GitRepoVolumeSource.v1.core.api.k8s.io + list: + elementType: + namedType: io.k8s.api.core.v1.DownwardAPIVolumeFile + elementRelationship: atomic +- name: io.k8s.api.core.v1.EmptyDirVolumeSource map: fields: - - name: directory + - name: medium type: scalar: string - - name: repository + - name: sizeLimit type: - scalar: string - default: "" - - name: revision + namedType: io.k8s.apimachinery.pkg.api.resource.Quantity +- name: io.k8s.api.core.v1.EnvFromSource + map: + fields: + - name: configMapRef + type: + namedType: io.k8s.api.core.v1.ConfigMapEnvSource + - name: prefix type: scalar: string -- name: GlusterfsVolumeSource.v1.core.api.k8s.io + - name: secretRef + type: + namedType: io.k8s.api.core.v1.SecretEnvSource +- name: io.k8s.api.core.v1.EnvVar map: fields: - - name: endpoints + - name: name type: scalar: string default: "" - - name: path + - name: value type: scalar: string - default: "" - - name: readOnly + - name: valueFrom type: - scalar: boolean -- name: HTTPGetAction.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.EnvVarSource +- name: io.k8s.api.core.v1.EnvVarSource map: fields: - - name: host + - name: configMapKeyRef type: - scalar: string - - name: httpHeaders + namedType: io.k8s.api.core.v1.ConfigMapKeySelector + - name: fieldRef type: - list: - elementType: - namedType: HTTPHeader.v1.core.api.k8s.io - elementRelationship: atomic - - name: path + namedType: io.k8s.api.core.v1.ObjectFieldSelector + - name: fileKeyRef type: - scalar: string - - name: port + namedType: io.k8s.api.core.v1.FileKeySelector + - name: resourceFieldRef type: - namedType: IntOrString.intstr.util.pkg.apimachinery.k8s.io - - name: scheme + namedType: io.k8s.api.core.v1.ResourceFieldSelector + - name: secretKeyRef type: - scalar: string -- name: HTTPHeader.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.SecretKeySelector +- name: io.k8s.api.core.v1.EphemeralContainer map: fields: - - name: name - type: - scalar: string - default: "" - - name: value + - name: args type: - scalar: string - default: "" -- name: HostAlias.v1.core.api.k8s.io - map: - fields: - - name: hostnames + list: + elementType: + scalar: string + elementRelationship: atomic + - name: command type: list: elementType: scalar: string elementRelationship: atomic - - name: ip + - name: env type: - scalar: string - default: "" -- name: HostPathVolumeSource.v1.core.api.k8s.io - map: - fields: - - name: path + list: + elementType: + namedType: io.k8s.api.core.v1.EnvVar + elementRelationship: associative + keys: + - name + - name: envFrom type: - scalar: string + list: + elementType: + namedType: io.k8s.api.core.v1.EnvFromSource + elementRelationship: atomic + - name: image + type: + scalar: string + - name: imagePullPolicy + type: + scalar: string + - name: lifecycle + type: + namedType: io.k8s.api.core.v1.Lifecycle + - name: livenessProbe + type: + namedType: io.k8s.api.core.v1.Probe + - name: name + type: + scalar: string default: "" - - name: type + - name: ports + type: + list: + elementType: + namedType: io.k8s.api.core.v1.ContainerPort + elementRelationship: associative + keys: + - containerPort + - protocol + - name: readinessProbe + type: + namedType: io.k8s.api.core.v1.Probe + - name: resizePolicy + type: + list: + elementType: + namedType: io.k8s.api.core.v1.ContainerResizePolicy + elementRelationship: atomic + - name: resources + type: + namedType: io.k8s.api.core.v1.ResourceRequirements + default: {} + - name: restartPolicy type: scalar: string -- name: ISCSIVolumeSource.v1.core.api.k8s.io - map: - fields: - - name: chapAuthDiscovery + - name: restartPolicyRules type: - scalar: boolean - - name: chapAuthSession + list: + elementType: + namedType: io.k8s.api.core.v1.ContainerRestartRule + elementRelationship: atomic + - name: securityContext + type: + namedType: io.k8s.api.core.v1.SecurityContext + - name: startupProbe + type: + namedType: io.k8s.api.core.v1.Probe + - name: stdin type: scalar: boolean - - name: fsType + - name: stdinOnce type: - scalar: string - - name: initiatorName + scalar: boolean + - name: targetContainerName type: scalar: string - - name: iqn + - name: terminationMessagePath type: scalar: string - default: "" - - name: iscsiInterface + - name: terminationMessagePolicy type: scalar: string - default: default - - name: lun + - name: tty type: - scalar: numeric - default: 0 - - name: portals + scalar: boolean + - name: volumeDevices type: list: elementType: - scalar: string - elementRelationship: atomic - - name: readOnly - type: - scalar: boolean - - name: secretRef + namedType: io.k8s.api.core.v1.VolumeDevice + elementRelationship: associative + keys: + - devicePath + - name: volumeMounts type: - namedType: LocalObjectReference.v1.core.api.k8s.io - - name: targetPortal + list: + elementType: + namedType: io.k8s.api.core.v1.VolumeMount + elementRelationship: associative + keys: + - mountPath + - name: workingDir type: scalar: string - default: "" -- name: ImageVolumeSource.v1.core.api.k8s.io +- name: io.k8s.api.core.v1.EphemeralVolumeSource map: fields: - - name: pullPolicy + - name: volumeClaimTemplate type: - scalar: string - - name: reference + namedType: io.k8s.api.core.v1.PersistentVolumeClaimTemplate +- name: io.k8s.api.core.v1.ExecAction + map: + fields: + - name: command type: - scalar: string -- name: IntOrString.intstr.util.pkg.apimachinery.k8s.io - scalar: untyped -- name: KeyToPath.v1.core.api.k8s.io + list: + elementType: + scalar: string + elementRelationship: atomic +- name: io.k8s.api.core.v1.FCVolumeSource map: fields: - - name: key + - name: fsType type: scalar: string - default: "" - - name: mode + - name: lun type: scalar: numeric - - name: path + - name: readOnly type: - scalar: string - default: "" -- name: LabelSelector.v1.meta.apis.pkg.apimachinery.k8s.io - map: - fields: - - name: matchExpressions + scalar: boolean + - name: targetWWNs type: list: elementType: - namedType: LabelSelectorRequirement.v1.meta.apis.pkg.apimachinery.k8s.io + scalar: string elementRelationship: atomic - - name: matchLabels + - name: wwids type: - map: + list: elementType: scalar: string - elementRelationship: atomic -- name: LabelSelectorRequirement.v1.meta.apis.pkg.apimachinery.k8s.io + elementRelationship: atomic +- name: io.k8s.api.core.v1.FileKeySelector map: fields: - name: key type: scalar: string default: "" - - name: operator + - name: optional + type: + scalar: boolean + default: false + - name: path type: scalar: string default: "" - - name: values + - name: volumeName type: - list: - elementType: - scalar: string - elementRelationship: atomic -- name: Lifecycle.v1.core.api.k8s.io + scalar: string + default: "" + elementRelationship: atomic +- name: io.k8s.api.core.v1.FlexVolumeSource map: fields: - - name: postStart - type: - namedType: LifecycleHandler.v1.core.api.k8s.io - - name: preStop - type: - namedType: LifecycleHandler.v1.core.api.k8s.io - - name: stopSignal + - name: driver type: scalar: string -- name: LifecycleHandler.v1.core.api.k8s.io - map: - fields: - - name: exec + default: "" + - name: fsType type: - namedType: ExecAction.v1.core.api.k8s.io - - name: httpGet + scalar: string + - name: options type: - namedType: HTTPGetAction.v1.core.api.k8s.io - - name: sleep + map: + elementType: + scalar: string + - name: readOnly type: - namedType: SleepAction.v1.core.api.k8s.io - - name: tcpSocket + scalar: boolean + - name: secretRef type: - namedType: TCPSocketAction.v1.core.api.k8s.io -- name: LocalObjectReference.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.LocalObjectReference +- name: io.k8s.api.core.v1.FlockerVolumeSource map: fields: - - name: name + - name: datasetName type: scalar: string - default: "" - elementRelationship: atomic -- name: ManagedFieldsEntry.v1.meta.apis.pkg.apimachinery.k8s.io + - name: datasetUUID + type: + scalar: string +- name: io.k8s.api.core.v1.GCEPersistentDiskVolumeSource map: fields: - - name: apiVersion + - name: fsType type: scalar: string - - name: fieldsType + - name: partition + type: + scalar: numeric + - name: pdName type: scalar: string - - name: fieldsV1 + default: "" + - name: readOnly type: - namedType: FieldsV1.v1.meta.apis.pkg.apimachinery.k8s.io - - name: manager + scalar: boolean +- name: io.k8s.api.core.v1.GRPCAction + map: + fields: + - name: port + type: + scalar: numeric + default: 0 + - name: service type: scalar: string - - name: operation + default: "" +- name: io.k8s.api.core.v1.GitRepoVolumeSource + map: + fields: + - name: directory type: scalar: string - - name: subresource + - name: repository type: scalar: string - - name: time + default: "" + - name: revision type: - namedType: Time.v1.meta.apis.pkg.apimachinery.k8s.io -- name: NFSVolumeSource.v1.core.api.k8s.io + scalar: string +- name: io.k8s.api.core.v1.GlusterfsVolumeSource map: fields: + - name: endpoints + type: + scalar: string + default: "" - name: path type: scalar: string @@ -1017,191 +1102,268 @@ var schemaYAML = typed.YAMLObject(`types: - name: readOnly type: scalar: boolean - - name: server - type: - scalar: string - default: "" -- name: NodeAffinity.v1.core.api.k8s.io +- name: io.k8s.api.core.v1.HTTPGetAction map: fields: - - name: preferredDuringSchedulingIgnoredDuringExecution + - name: host + type: + scalar: string + - name: httpHeaders type: list: elementType: - namedType: PreferredSchedulingTerm.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.HTTPHeader elementRelationship: atomic - - name: requiredDuringSchedulingIgnoredDuringExecution + - name: path type: - namedType: NodeSelector.v1.core.api.k8s.io -- name: NodeSelector.v1.core.api.k8s.io - map: - fields: - - name: nodeSelectorTerms + scalar: string + - name: port type: - list: - elementType: - namedType: NodeSelectorTerm.v1.core.api.k8s.io - elementRelationship: atomic - elementRelationship: atomic -- name: NodeSelectorRequirement.v1.core.api.k8s.io + namedType: io.k8s.apimachinery.pkg.util.intstr.IntOrString + - name: scheme + type: + scalar: string +- name: io.k8s.api.core.v1.HTTPHeader map: fields: - - name: key + - name: name type: scalar: string default: "" - - name: operator + - name: value type: scalar: string default: "" - - name: values - type: - list: - elementType: - scalar: string - elementRelationship: atomic -- name: NodeSelectorTerm.v1.core.api.k8s.io +- name: io.k8s.api.core.v1.HostAlias map: fields: - - name: matchExpressions + - name: hostnames type: list: elementType: - namedType: NodeSelectorRequirement.v1.core.api.k8s.io + scalar: string elementRelationship: atomic - - name: matchFields + - name: ip type: - list: - elementType: - namedType: NodeSelectorRequirement.v1.core.api.k8s.io - elementRelationship: atomic - elementRelationship: atomic -- name: ObjectFieldSelector.v1.core.api.k8s.io + scalar: string + default: "" +- name: io.k8s.api.core.v1.HostPathVolumeSource map: fields: - - name: apiVersion + - name: path type: scalar: string - - name: fieldPath + default: "" + - name: type type: scalar: string - default: "" - elementRelationship: atomic -- name: ObjectMeta.v1.meta.apis.pkg.apimachinery.k8s.io +- name: io.k8s.api.core.v1.ISCSIVolumeSource map: fields: - - name: annotations + - name: chapAuthDiscovery type: - map: - elementType: - scalar: string - - name: creationTimestamp + scalar: boolean + - name: chapAuthSession type: - namedType: Time.v1.meta.apis.pkg.apimachinery.k8s.io - - name: deletionGracePeriodSeconds + scalar: boolean + - name: fsType type: - scalar: numeric - - name: deletionTimestamp + scalar: string + - name: initiatorName type: - namedType: Time.v1.meta.apis.pkg.apimachinery.k8s.io - - name: finalizers + scalar: string + - name: iqn type: - list: - elementType: - scalar: string - elementRelationship: associative - - name: generateName + scalar: string + default: "" + - name: iscsiInterface type: scalar: string - - name: generation + default: default + - name: lun type: scalar: numeric - - name: labels - type: - map: - elementType: - scalar: string - - name: managedFields + default: 0 + - name: portals type: list: elementType: - namedType: ManagedFieldsEntry.v1.meta.apis.pkg.apimachinery.k8s.io + scalar: string elementRelationship: atomic - - name: name - type: - scalar: string - - name: namespace + - name: readOnly type: - scalar: string - - name: ownerReferences + scalar: boolean + - name: secretRef type: - list: - elementType: - namedType: OwnerReference.v1.meta.apis.pkg.apimachinery.k8s.io - elementRelationship: associative - keys: - - uid - - name: resourceVersion + namedType: io.k8s.api.core.v1.LocalObjectReference + - name: targetPortal type: scalar: string - - name: selfLink + default: "" +- name: io.k8s.api.core.v1.ImageVolumeSource + map: + fields: + - name: pullPolicy type: scalar: string - - name: uid + - name: reference type: scalar: string -- name: ObjectReference.v1.core.api.k8s.io +- name: io.k8s.api.core.v1.KeyToPath map: fields: - - name: apiVersion + - name: key type: scalar: string - - name: fieldPath + default: "" + - name: mode + type: + scalar: numeric + - name: path type: scalar: string - - name: kind + default: "" +- name: io.k8s.api.core.v1.Lifecycle + map: + fields: + - name: postStart + type: + namedType: io.k8s.api.core.v1.LifecycleHandler + - name: preStop + type: + namedType: io.k8s.api.core.v1.LifecycleHandler + - name: stopSignal type: scalar: string +- name: io.k8s.api.core.v1.LifecycleHandler + map: + fields: + - name: exec + type: + namedType: io.k8s.api.core.v1.ExecAction + - name: httpGet + type: + namedType: io.k8s.api.core.v1.HTTPGetAction + - name: sleep + type: + namedType: io.k8s.api.core.v1.SleepAction + - name: tcpSocket + type: + namedType: io.k8s.api.core.v1.TCPSocketAction +- name: io.k8s.api.core.v1.LocalObjectReference + map: + fields: - name: name type: scalar: string - - name: namespace + default: "" + elementRelationship: atomic +- name: io.k8s.api.core.v1.NFSVolumeSource + map: + fields: + - name: path type: scalar: string - - name: resourceVersion + default: "" + - name: readOnly + type: + scalar: boolean + - name: server type: scalar: string - - name: uid + default: "" +- name: io.k8s.api.core.v1.NodeAffinity + map: + fields: + - name: preferredDuringSchedulingIgnoredDuringExecution + type: + list: + elementType: + namedType: io.k8s.api.core.v1.PreferredSchedulingTerm + elementRelationship: atomic + - name: requiredDuringSchedulingIgnoredDuringExecution + type: + namedType: io.k8s.api.core.v1.NodeSelector +- name: io.k8s.api.core.v1.NodeSelector + map: + fields: + - name: nodeSelectorTerms + type: + list: + elementType: + namedType: io.k8s.api.core.v1.NodeSelectorTerm + elementRelationship: atomic + elementRelationship: atomic +- name: io.k8s.api.core.v1.NodeSelectorRequirement + map: + fields: + - name: key + type: + scalar: string + default: "" + - name: operator type: scalar: string + default: "" + - name: values + type: + list: + elementType: + scalar: string + elementRelationship: atomic +- name: io.k8s.api.core.v1.NodeSelectorTerm + map: + fields: + - name: matchExpressions + type: + list: + elementType: + namedType: io.k8s.api.core.v1.NodeSelectorRequirement + elementRelationship: atomic + - name: matchFields + type: + list: + elementType: + namedType: io.k8s.api.core.v1.NodeSelectorRequirement + elementRelationship: atomic elementRelationship: atomic -- name: OwnerReference.v1.meta.apis.pkg.apimachinery.k8s.io +- name: io.k8s.api.core.v1.ObjectFieldSelector map: fields: - name: apiVersion type: scalar: string + - name: fieldPath + type: + scalar: string default: "" - - name: blockOwnerDeletion + elementRelationship: atomic +- name: io.k8s.api.core.v1.ObjectReference + map: + fields: + - name: apiVersion type: - scalar: boolean - - name: controller + scalar: string + - name: fieldPath type: - scalar: boolean + scalar: string - name: kind type: scalar: string - default: "" - name: name type: scalar: string - default: "" + - name: namespace + type: + scalar: string + - name: resourceVersion + type: + scalar: string - name: uid type: scalar: string - default: "" elementRelationship: atomic -- name: PersistentVolumeClaimSpec.v1.core.api.k8s.io +- name: io.k8s.api.core.v1.PersistentVolumeClaimSpec map: fields: - name: accessModes @@ -1212,17 +1374,17 @@ var schemaYAML = typed.YAMLObject(`types: elementRelationship: atomic - name: dataSource type: - namedType: TypedLocalObjectReference.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.TypedLocalObjectReference - name: dataSourceRef type: - namedType: TypedObjectReference.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.TypedObjectReference - name: resources type: - namedType: VolumeResourceRequirements.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.VolumeResourceRequirements default: {} - name: selector type: - namedType: LabelSelector.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector - name: storageClassName type: scalar: string @@ -1235,18 +1397,18 @@ var schemaYAML = typed.YAMLObject(`types: - name: volumeName type: scalar: string -- name: PersistentVolumeClaimTemplate.v1.core.api.k8s.io +- name: io.k8s.api.core.v1.PersistentVolumeClaimTemplate map: fields: - name: metadata type: - namedType: ObjectMeta.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta default: {} - name: spec type: - namedType: PersistentVolumeClaimSpec.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.PersistentVolumeClaimSpec default: {} -- name: PersistentVolumeClaimVolumeSource.v1.core.api.k8s.io +- name: io.k8s.api.core.v1.PersistentVolumeClaimVolumeSource map: fields: - name: claimName @@ -1256,7 +1418,7 @@ var schemaYAML = typed.YAMLObject(`types: - name: readOnly type: scalar: boolean -- name: PhotonPersistentDiskVolumeSource.v1.core.api.k8s.io +- name: io.k8s.api.core.v1.PhotonPersistentDiskVolumeSource map: fields: - name: fsType @@ -1266,27 +1428,27 @@ var schemaYAML = typed.YAMLObject(`types: type: scalar: string default: "" -- name: PodAffinity.v1.core.api.k8s.io +- name: io.k8s.api.core.v1.PodAffinity map: fields: - name: preferredDuringSchedulingIgnoredDuringExecution type: list: elementType: - namedType: WeightedPodAffinityTerm.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.WeightedPodAffinityTerm elementRelationship: atomic - name: requiredDuringSchedulingIgnoredDuringExecution type: list: elementType: - namedType: PodAffinityTerm.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.PodAffinityTerm elementRelationship: atomic -- name: PodAffinityTerm.v1.core.api.k8s.io +- name: io.k8s.api.core.v1.PodAffinityTerm map: fields: - name: labelSelector type: - namedType: LabelSelector.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector - name: matchLabelKeys type: list: @@ -1301,7 +1463,7 @@ var schemaYAML = typed.YAMLObject(`types: elementRelationship: atomic - name: namespaceSelector type: - namedType: LabelSelector.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector - name: namespaces type: list: @@ -1312,22 +1474,22 @@ var schemaYAML = typed.YAMLObject(`types: type: scalar: string default: "" -- name: PodAntiAffinity.v1.core.api.k8s.io +- name: io.k8s.api.core.v1.PodAntiAffinity map: fields: - name: preferredDuringSchedulingIgnoredDuringExecution type: list: elementType: - namedType: WeightedPodAffinityTerm.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.WeightedPodAffinityTerm elementRelationship: atomic - name: requiredDuringSchedulingIgnoredDuringExecution type: list: elementType: - namedType: PodAffinityTerm.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.PodAffinityTerm elementRelationship: atomic -- name: PodCertificateProjection.v1.core.api.k8s.io +- name: io.k8s.api.core.v1.PodCertificateProjection map: fields: - name: certificateChainPath @@ -1353,7 +1515,7 @@ var schemaYAML = typed.YAMLObject(`types: map: elementType: scalar: string -- name: PodDNSConfig.v1.core.api.k8s.io +- name: io.k8s.api.core.v1.PodDNSConfig map: fields: - name: nameservers @@ -1366,7 +1528,7 @@ var schemaYAML = typed.YAMLObject(`types: type: list: elementType: - namedType: PodDNSConfigOption.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.PodDNSConfigOption elementRelationship: atomic - name: searches type: @@ -1374,7 +1536,7 @@ var schemaYAML = typed.YAMLObject(`types: elementType: scalar: string elementRelationship: atomic -- name: PodDNSConfigOption.v1.core.api.k8s.io +- name: io.k8s.api.core.v1.PodDNSConfigOption map: fields: - name: name @@ -1383,21 +1545,21 @@ var schemaYAML = typed.YAMLObject(`types: - name: value type: scalar: string -- name: PodOS.v1.core.api.k8s.io +- name: io.k8s.api.core.v1.PodOS map: fields: - name: name type: scalar: string default: "" -- name: PodReadinessGate.v1.core.api.k8s.io +- name: io.k8s.api.core.v1.PodReadinessGate map: fields: - name: conditionType type: scalar: string default: "" -- name: PodResourceClaim.v1.core.api.k8s.io +- name: io.k8s.api.core.v1.PodResourceClaim map: fields: - name: name @@ -1410,19 +1572,19 @@ var schemaYAML = typed.YAMLObject(`types: - name: resourceClaimTemplateName type: scalar: string -- name: PodSchedulingGate.v1.core.api.k8s.io +- name: io.k8s.api.core.v1.PodSchedulingGate map: fields: - name: name type: scalar: string default: "" -- name: PodSecurityContext.v1.core.api.k8s.io +- name: io.k8s.api.core.v1.PodSecurityContext map: fields: - name: appArmorProfile type: - namedType: AppArmorProfile.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.AppArmorProfile - name: fsGroup type: scalar: numeric @@ -1443,10 +1605,10 @@ var schemaYAML = typed.YAMLObject(`types: scalar: string - name: seLinuxOptions type: - namedType: SELinuxOptions.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.SELinuxOptions - name: seccompProfile type: - namedType: SeccompProfile.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.SeccompProfile - name: supplementalGroups type: list: @@ -1460,12 +1622,12 @@ var schemaYAML = typed.YAMLObject(`types: type: list: elementType: - namedType: Sysctl.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.Sysctl elementRelationship: atomic - name: windowsOptions type: - namedType: WindowsSecurityContextOptions.v1.core.api.k8s.io -- name: PodSpec.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.WindowsSecurityContextOptions +- name: io.k8s.api.core.v1.PodSpec map: fields: - name: activeDeadlineSeconds @@ -1473,7 +1635,7 @@ var schemaYAML = typed.YAMLObject(`types: scalar: numeric - name: affinity type: - namedType: Affinity.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.Affinity - name: automountServiceAccountToken type: scalar: boolean @@ -1481,13 +1643,13 @@ var schemaYAML = typed.YAMLObject(`types: type: list: elementType: - namedType: Container.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.Container elementRelationship: associative keys: - name - name: dnsConfig type: - namedType: PodDNSConfig.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.PodDNSConfig - name: dnsPolicy type: scalar: string @@ -1498,7 +1660,7 @@ var schemaYAML = typed.YAMLObject(`types: type: list: elementType: - namedType: EphemeralContainer.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.EphemeralContainer elementRelationship: associative keys: - name @@ -1506,7 +1668,7 @@ var schemaYAML = typed.YAMLObject(`types: type: list: elementType: - namedType: HostAlias.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.HostAlias elementRelationship: associative keys: - ip @@ -1532,7 +1694,7 @@ var schemaYAML = typed.YAMLObject(`types: type: list: elementType: - namedType: LocalObjectReference.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.LocalObjectReference elementRelationship: associative keys: - name @@ -1540,7 +1702,7 @@ var schemaYAML = typed.YAMLObject(`types: type: list: elementType: - namedType: Container.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.Container elementRelationship: associative keys: - name @@ -1555,12 +1717,12 @@ var schemaYAML = typed.YAMLObject(`types: elementRelationship: atomic - name: os type: - namedType: PodOS.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.PodOS - name: overhead type: map: elementType: - namedType: Quantity.resource.api.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.api.resource.Quantity - name: preemptionPolicy type: scalar: string @@ -1574,19 +1736,19 @@ var schemaYAML = typed.YAMLObject(`types: type: list: elementType: - namedType: PodReadinessGate.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.PodReadinessGate elementRelationship: atomic - name: resourceClaims type: list: elementType: - namedType: PodResourceClaim.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.PodResourceClaim elementRelationship: associative keys: - name - name: resources type: - namedType: ResourceRequirements.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.ResourceRequirements - name: restartPolicy type: scalar: string @@ -1600,13 +1762,13 @@ var schemaYAML = typed.YAMLObject(`types: type: list: elementType: - namedType: PodSchedulingGate.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.PodSchedulingGate elementRelationship: associative keys: - name - name: securityContext type: - namedType: PodSecurityContext.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.PodSecurityContext - name: serviceAccount type: scalar: string @@ -1629,13 +1791,13 @@ var schemaYAML = typed.YAMLObject(`types: type: list: elementType: - namedType: Toleration.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.Toleration elementRelationship: atomic - name: topologySpreadConstraints type: list: elementType: - namedType: TopologySpreadConstraint.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.TopologySpreadConstraint elementRelationship: associative keys: - topologyKey @@ -1644,25 +1806,25 @@ var schemaYAML = typed.YAMLObject(`types: type: list: elementType: - namedType: Volume.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.Volume elementRelationship: associative keys: - name - name: workloadRef type: - namedType: WorkloadReference.v1.core.api.k8s.io -- name: PodTemplateSpec.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.WorkloadReference +- name: io.k8s.api.core.v1.PodTemplateSpec map: fields: - name: metadata type: - namedType: ObjectMeta.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta default: {} - name: spec type: - namedType: PodSpec.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.PodSpec default: {} -- name: PortworxVolumeSource.v1.core.api.k8s.io +- name: io.k8s.api.core.v1.PortworxVolumeSource map: fields: - name: fsType @@ -1675,32 +1837,32 @@ var schemaYAML = typed.YAMLObject(`types: type: scalar: string default: "" -- name: PreferredSchedulingTerm.v1.core.api.k8s.io +- name: io.k8s.api.core.v1.PreferredSchedulingTerm map: fields: - name: preference type: - namedType: NodeSelectorTerm.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.NodeSelectorTerm default: {} - name: weight type: scalar: numeric default: 0 -- name: Probe.v1.core.api.k8s.io +- name: io.k8s.api.core.v1.Probe map: fields: - name: exec type: - namedType: ExecAction.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.ExecAction - name: failureThreshold type: scalar: numeric - name: grpc type: - namedType: GRPCAction.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.GRPCAction - name: httpGet type: - namedType: HTTPGetAction.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.HTTPGetAction - name: initialDelaySeconds type: scalar: numeric @@ -1712,14 +1874,14 @@ var schemaYAML = typed.YAMLObject(`types: scalar: numeric - name: tcpSocket type: - namedType: TCPSocketAction.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.TCPSocketAction - name: terminationGracePeriodSeconds type: scalar: numeric - name: timeoutSeconds type: scalar: numeric -- name: ProjectedVolumeSource.v1.core.api.k8s.io +- name: io.k8s.api.core.v1.ProjectedVolumeSource map: fields: - name: defaultMode @@ -1729,11 +1891,9 @@ var schemaYAML = typed.YAMLObject(`types: type: list: elementType: - namedType: VolumeProjection.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.VolumeProjection elementRelationship: atomic -- name: Quantity.resource.api.pkg.apimachinery.k8s.io - scalar: string -- name: QuobyteVolumeSource.v1.core.api.k8s.io +- name: io.k8s.api.core.v1.QuobyteVolumeSource map: fields: - name: group @@ -1756,7 +1916,7 @@ var schemaYAML = typed.YAMLObject(`types: type: scalar: string default: "" -- name: RBDVolumeSource.v1.core.api.k8s.io +- name: io.k8s.api.core.v1.RBDVolumeSource map: fields: - name: fsType @@ -1785,12 +1945,12 @@ var schemaYAML = typed.YAMLObject(`types: scalar: boolean - name: secretRef type: - namedType: LocalObjectReference.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.LocalObjectReference - name: user type: scalar: string default: admin -- name: ResourceClaim.v1.core.api.k8s.io +- name: io.k8s.api.core.v1.ResourceClaim map: fields: - name: name @@ -1800,7 +1960,7 @@ var schemaYAML = typed.YAMLObject(`types: - name: request type: scalar: string -- name: ResourceFieldSelector.v1.core.api.k8s.io +- name: io.k8s.api.core.v1.ResourceFieldSelector map: fields: - name: containerName @@ -1808,20 +1968,20 @@ var schemaYAML = typed.YAMLObject(`types: scalar: string - name: divisor type: - namedType: Quantity.resource.api.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.api.resource.Quantity - name: resource type: scalar: string default: "" elementRelationship: atomic -- name: ResourceRequirements.v1.core.api.k8s.io +- name: io.k8s.api.core.v1.ResourceRequirements map: fields: - name: claims type: list: elementType: - namedType: ResourceClaim.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.ResourceClaim elementRelationship: associative keys: - name @@ -1829,13 +1989,13 @@ var schemaYAML = typed.YAMLObject(`types: type: map: elementType: - namedType: Quantity.resource.api.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.api.resource.Quantity - name: requests type: map: elementType: - namedType: Quantity.resource.api.pkg.apimachinery.k8s.io -- name: SELinuxOptions.v1.core.api.k8s.io + namedType: io.k8s.apimachinery.pkg.api.resource.Quantity +- name: io.k8s.api.core.v1.SELinuxOptions map: fields: - name: level @@ -1850,7 +2010,7 @@ var schemaYAML = typed.YAMLObject(`types: - name: user type: scalar: string -- name: ScaleIOVolumeSource.v1.core.api.k8s.io +- name: io.k8s.api.core.v1.ScaleIOVolumeSource map: fields: - name: fsType @@ -1869,7 +2029,7 @@ var schemaYAML = typed.YAMLObject(`types: scalar: boolean - name: secretRef type: - namedType: LocalObjectReference.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.LocalObjectReference - name: sslEnabled type: scalar: boolean @@ -1887,7 +2047,7 @@ var schemaYAML = typed.YAMLObject(`types: - name: volumeName type: scalar: string -- name: SeccompProfile.v1.core.api.k8s.io +- name: io.k8s.api.core.v1.SeccompProfile map: fields: - name: localhostProfile @@ -1902,7 +2062,7 @@ var schemaYAML = typed.YAMLObject(`types: fields: - fieldName: localhostProfile discriminatorValue: LocalhostProfile -- name: SecretEnvSource.v1.core.api.k8s.io +- name: io.k8s.api.core.v1.SecretEnvSource map: fields: - name: name @@ -1912,7 +2072,7 @@ var schemaYAML = typed.YAMLObject(`types: - name: optional type: scalar: boolean -- name: SecretKeySelector.v1.core.api.k8s.io +- name: io.k8s.api.core.v1.SecretKeySelector map: fields: - name: key @@ -1927,14 +2087,14 @@ var schemaYAML = typed.YAMLObject(`types: type: scalar: boolean elementRelationship: atomic -- name: SecretProjection.v1.core.api.k8s.io +- name: io.k8s.api.core.v1.SecretProjection map: fields: - name: items type: list: elementType: - namedType: KeyToPath.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.KeyToPath elementRelationship: atomic - name: name type: @@ -1943,7 +2103,7 @@ var schemaYAML = typed.YAMLObject(`types: - name: optional type: scalar: boolean -- name: SecretVolumeSource.v1.core.api.k8s.io +- name: io.k8s.api.core.v1.SecretVolumeSource map: fields: - name: defaultMode @@ -1953,7 +2113,7 @@ var schemaYAML = typed.YAMLObject(`types: type: list: elementType: - namedType: KeyToPath.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.KeyToPath elementRelationship: atomic - name: optional type: @@ -1961,7 +2121,7 @@ var schemaYAML = typed.YAMLObject(`types: - name: secretName type: scalar: string -- name: SecurityContext.v1.core.api.k8s.io +- name: io.k8s.api.core.v1.SecurityContext map: fields: - name: allowPrivilegeEscalation @@ -1969,10 +2129,10 @@ var schemaYAML = typed.YAMLObject(`types: scalar: boolean - name: appArmorProfile type: - namedType: AppArmorProfile.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.AppArmorProfile - name: capabilities type: - namedType: Capabilities.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.Capabilities - name: privileged type: scalar: boolean @@ -1993,14 +2153,14 @@ var schemaYAML = typed.YAMLObject(`types: scalar: numeric - name: seLinuxOptions type: - namedType: SELinuxOptions.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.SELinuxOptions - name: seccompProfile type: - namedType: SeccompProfile.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.SeccompProfile - name: windowsOptions type: - namedType: WindowsSecurityContextOptions.v1.core.api.k8s.io -- name: ServiceAccountTokenProjection.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.WindowsSecurityContextOptions +- name: io.k8s.api.core.v1.ServiceAccountTokenProjection map: fields: - name: audience @@ -2013,14 +2173,14 @@ var schemaYAML = typed.YAMLObject(`types: type: scalar: string default: "" -- name: SleepAction.v1.core.api.k8s.io +- name: io.k8s.api.core.v1.SleepAction map: fields: - name: seconds type: scalar: numeric default: 0 -- name: StorageOSVolumeSource.v1.core.api.k8s.io +- name: io.k8s.api.core.v1.StorageOSVolumeSource map: fields: - name: fsType @@ -2031,14 +2191,14 @@ var schemaYAML = typed.YAMLObject(`types: scalar: boolean - name: secretRef type: - namedType: LocalObjectReference.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.LocalObjectReference - name: volumeName type: scalar: string - name: volumeNamespace type: scalar: string -- name: Sysctl.v1.core.api.k8s.io +- name: io.k8s.api.core.v1.Sysctl map: fields: - name: name @@ -2049,7 +2209,7 @@ var schemaYAML = typed.YAMLObject(`types: type: scalar: string default: "" -- name: TCPSocketAction.v1.core.api.k8s.io +- name: io.k8s.api.core.v1.TCPSocketAction map: fields: - name: host @@ -2057,10 +2217,8 @@ var schemaYAML = typed.YAMLObject(`types: scalar: string - name: port type: - namedType: IntOrString.intstr.util.pkg.apimachinery.k8s.io -- name: Time.v1.meta.apis.pkg.apimachinery.k8s.io - scalar: untyped -- name: Toleration.v1.core.api.k8s.io + namedType: io.k8s.apimachinery.pkg.util.intstr.IntOrString +- name: io.k8s.api.core.v1.Toleration map: fields: - name: effect @@ -2078,12 +2236,12 @@ var schemaYAML = typed.YAMLObject(`types: - name: value type: scalar: string -- name: TopologySpreadConstraint.v1.core.api.k8s.io +- name: io.k8s.api.core.v1.TopologySpreadConstraint map: fields: - name: labelSelector type: - namedType: LabelSelector.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector - name: matchLabelKeys type: list: @@ -2111,7 +2269,7 @@ var schemaYAML = typed.YAMLObject(`types: type: scalar: string default: "" -- name: TypedLocalObjectReference.v1.core.api.k8s.io +- name: io.k8s.api.core.v1.TypedLocalObjectReference map: fields: - name: apiGroup @@ -2126,7 +2284,7 @@ var schemaYAML = typed.YAMLObject(`types: scalar: string default: "" elementRelationship: atomic -- name: TypedObjectReference.v1.core.api.k8s.io +- name: io.k8s.api.core.v1.TypedObjectReference map: fields: - name: apiGroup @@ -2143,104 +2301,104 @@ var schemaYAML = typed.YAMLObject(`types: - name: namespace type: scalar: string -- name: Volume.v1.core.api.k8s.io +- name: io.k8s.api.core.v1.Volume map: fields: - name: awsElasticBlockStore type: - namedType: AWSElasticBlockStoreVolumeSource.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.AWSElasticBlockStoreVolumeSource - name: azureDisk type: - namedType: AzureDiskVolumeSource.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.AzureDiskVolumeSource - name: azureFile type: - namedType: AzureFileVolumeSource.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.AzureFileVolumeSource - name: cephfs type: - namedType: CephFSVolumeSource.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.CephFSVolumeSource - name: cinder type: - namedType: CinderVolumeSource.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.CinderVolumeSource - name: configMap type: - namedType: ConfigMapVolumeSource.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.ConfigMapVolumeSource - name: csi type: - namedType: CSIVolumeSource.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.CSIVolumeSource - name: downwardAPI type: - namedType: DownwardAPIVolumeSource.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.DownwardAPIVolumeSource - name: emptyDir type: - namedType: EmptyDirVolumeSource.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.EmptyDirVolumeSource - name: ephemeral type: - namedType: EphemeralVolumeSource.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.EphemeralVolumeSource - name: fc type: - namedType: FCVolumeSource.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.FCVolumeSource - name: flexVolume type: - namedType: FlexVolumeSource.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.FlexVolumeSource - name: flocker type: - namedType: FlockerVolumeSource.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.FlockerVolumeSource - name: gcePersistentDisk type: - namedType: GCEPersistentDiskVolumeSource.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.GCEPersistentDiskVolumeSource - name: gitRepo type: - namedType: GitRepoVolumeSource.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.GitRepoVolumeSource - name: glusterfs type: - namedType: GlusterfsVolumeSource.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.GlusterfsVolumeSource - name: hostPath type: - namedType: HostPathVolumeSource.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.HostPathVolumeSource - name: image type: - namedType: ImageVolumeSource.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.ImageVolumeSource - name: iscsi type: - namedType: ISCSIVolumeSource.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.ISCSIVolumeSource - name: name type: scalar: string default: "" - name: nfs type: - namedType: NFSVolumeSource.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.NFSVolumeSource - name: persistentVolumeClaim type: - namedType: PersistentVolumeClaimVolumeSource.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.PersistentVolumeClaimVolumeSource - name: photonPersistentDisk type: - namedType: PhotonPersistentDiskVolumeSource.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.PhotonPersistentDiskVolumeSource - name: portworxVolume type: - namedType: PortworxVolumeSource.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.PortworxVolumeSource - name: projected type: - namedType: ProjectedVolumeSource.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.ProjectedVolumeSource - name: quobyte type: - namedType: QuobyteVolumeSource.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.QuobyteVolumeSource - name: rbd type: - namedType: RBDVolumeSource.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.RBDVolumeSource - name: scaleIO type: - namedType: ScaleIOVolumeSource.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.ScaleIOVolumeSource - name: secret type: - namedType: SecretVolumeSource.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.SecretVolumeSource - name: storageos type: - namedType: StorageOSVolumeSource.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.StorageOSVolumeSource - name: vsphereVolume type: - namedType: VsphereVirtualDiskVolumeSource.v1.core.api.k8s.io -- name: VolumeDevice.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.VsphereVirtualDiskVolumeSource +- name: io.k8s.api.core.v1.VolumeDevice map: fields: - name: devicePath @@ -2251,7 +2409,7 @@ var schemaYAML = typed.YAMLObject(`types: type: scalar: string default: "" -- name: VolumeMount.v1.core.api.k8s.io +- name: io.k8s.api.core.v1.VolumeMount map: fields: - name: mountPath @@ -2277,41 +2435,41 @@ var schemaYAML = typed.YAMLObject(`types: - name: subPathExpr type: scalar: string -- name: VolumeProjection.v1.core.api.k8s.io +- name: io.k8s.api.core.v1.VolumeProjection map: fields: - name: clusterTrustBundle type: - namedType: ClusterTrustBundleProjection.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.ClusterTrustBundleProjection - name: configMap type: - namedType: ConfigMapProjection.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.ConfigMapProjection - name: downwardAPI type: - namedType: DownwardAPIProjection.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.DownwardAPIProjection - name: podCertificate type: - namedType: PodCertificateProjection.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.PodCertificateProjection - name: secret type: - namedType: SecretProjection.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.SecretProjection - name: serviceAccountToken type: - namedType: ServiceAccountTokenProjection.v1.core.api.k8s.io -- name: VolumeResourceRequirements.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.ServiceAccountTokenProjection +- name: io.k8s.api.core.v1.VolumeResourceRequirements map: fields: - name: limits type: map: elementType: - namedType: Quantity.resource.api.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.api.resource.Quantity - name: requests type: map: elementType: - namedType: Quantity.resource.api.pkg.apimachinery.k8s.io -- name: VsphereVirtualDiskVolumeSource.v1.core.api.k8s.io + namedType: io.k8s.apimachinery.pkg.api.resource.Quantity +- name: io.k8s.api.core.v1.VsphereVirtualDiskVolumeSource map: fields: - name: fsType @@ -2327,18 +2485,18 @@ var schemaYAML = typed.YAMLObject(`types: type: scalar: string default: "" -- name: WeightedPodAffinityTerm.v1.core.api.k8s.io +- name: io.k8s.api.core.v1.WeightedPodAffinityTerm map: fields: - name: podAffinityTerm type: - namedType: PodAffinityTerm.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.PodAffinityTerm default: {} - name: weight type: scalar: numeric default: 0 -- name: WindowsSecurityContextOptions.v1.core.api.k8s.io +- name: io.k8s.api.core.v1.WindowsSecurityContextOptions map: fields: - name: gmsaCredentialSpec @@ -2353,7 +2511,7 @@ var schemaYAML = typed.YAMLObject(`types: - name: runAsUserName type: scalar: string -- name: WorkloadReference.v1.core.api.k8s.io +- name: io.k8s.api.core.v1.WorkloadReference map: fields: - name: name @@ -2367,327 +2525,169 @@ var schemaYAML = typed.YAMLObject(`types: - name: podGroupReplicaKey type: scalar: string -- name: com.github.openshift.api.apps.v1.CustomDeploymentStrategyParams +- name: io.k8s.apimachinery.pkg.api.resource.Quantity + scalar: untyped +- name: io.k8s.apimachinery.pkg.apis.meta.v1.FieldsV1 + map: + elementType: + scalar: untyped + list: + elementType: + namedType: __untyped_atomic_ + elementRelationship: atomic + map: + elementType: + namedType: __untyped_deduced_ + elementRelationship: separable +- name: io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector map: fields: - - name: command + - name: matchExpressions type: list: elementType: - scalar: string + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement elementRelationship: atomic - - name: environment + - name: matchLabels type: - list: + map: elementType: - namedType: EnvVar.v1.core.api.k8s.io - elementRelationship: atomic - - name: image - type: - scalar: string -- name: com.github.openshift.api.apps.v1.DeploymentCause + scalar: string + elementRelationship: atomic +- name: io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement map: fields: - - name: imageTrigger + - name: key type: - namedType: com.github.openshift.api.apps.v1.DeploymentCauseImageTrigger - - name: type + scalar: string + default: "" + - name: operator type: scalar: string default: "" -- name: com.github.openshift.api.apps.v1.DeploymentCauseImageTrigger - map: - fields: - - name: from + - name: values type: - namedType: ObjectReference.v1.core.api.k8s.io - default: {} -- name: com.github.openshift.api.apps.v1.DeploymentCondition + list: + elementType: + scalar: string + elementRelationship: atomic +- name: io.k8s.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry map: fields: - - name: lastTransitionTime - type: - namedType: Time.v1.meta.apis.pkg.apimachinery.k8s.io - - name: lastUpdateTime - type: - namedType: Time.v1.meta.apis.pkg.apimachinery.k8s.io - - name: message + - name: apiVersion type: scalar: string - - name: reason + - name: fieldsType type: scalar: string - - name: status + - name: fieldsV1 type: - scalar: string - default: "" - - name: type + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.FieldsV1 + - name: manager type: scalar: string - default: "" -- name: com.github.openshift.api.apps.v1.DeploymentConfig - map: - fields: - - name: apiVersion + - name: operation type: scalar: string - - name: kind + - name: subresource type: scalar: string - - name: metadata - type: - namedType: ObjectMeta.v1.meta.apis.pkg.apimachinery.k8s.io - default: {} - - name: spec - type: - namedType: com.github.openshift.api.apps.v1.DeploymentConfigSpec - default: {} - - name: status + - name: time type: - namedType: com.github.openshift.api.apps.v1.DeploymentConfigStatus - default: {} -- name: com.github.openshift.api.apps.v1.DeploymentConfigSpec + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.Time +- name: io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta map: fields: - - name: minReadySeconds - type: - scalar: numeric - - name: paused - type: - scalar: boolean - - name: replicas - type: - scalar: numeric - default: 0 - - name: revisionHistoryLimit - type: - scalar: numeric - - name: selector + - name: annotations type: map: elementType: scalar: string - - name: strategy - type: - namedType: com.github.openshift.api.apps.v1.DeploymentStrategy - default: {} - - name: template - type: - namedType: PodTemplateSpec.v1.core.api.k8s.io - - name: test - type: - scalar: boolean - default: false - - name: triggers - type: - list: - elementType: - namedType: com.github.openshift.api.apps.v1.DeploymentTriggerPolicy - elementRelationship: atomic -- name: com.github.openshift.api.apps.v1.DeploymentConfigStatus - map: - fields: - - name: availableReplicas - type: - scalar: numeric - default: 0 - - name: conditions - type: - list: - elementType: - namedType: com.github.openshift.api.apps.v1.DeploymentCondition - elementRelationship: associative - keys: - - type - - name: details - type: - namedType: com.github.openshift.api.apps.v1.DeploymentDetails - - name: latestVersion - type: - scalar: numeric - default: 0 - - name: observedGeneration - type: - scalar: numeric - default: 0 - - name: readyReplicas - type: - scalar: numeric - - name: replicas + - name: creationTimestamp type: - scalar: numeric - default: 0 - - name: unavailableReplicas + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.Time + - name: deletionGracePeriodSeconds type: scalar: numeric - default: 0 - - name: updatedReplicas + - name: deletionTimestamp type: - scalar: numeric - default: 0 -- name: com.github.openshift.api.apps.v1.DeploymentDetails - map: - fields: - - name: causes + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.Time + - name: finalizers type: list: elementType: - namedType: com.github.openshift.api.apps.v1.DeploymentCause - elementRelationship: atomic - - name: message + scalar: string + elementRelationship: associative + - name: generateName type: scalar: string -- name: com.github.openshift.api.apps.v1.DeploymentStrategy - map: - fields: - - name: activeDeadlineSeconds + - name: generation type: scalar: numeric - - name: annotations - type: - map: - elementType: - scalar: string - - name: customParams - type: - namedType: com.github.openshift.api.apps.v1.CustomDeploymentStrategyParams - name: labels type: map: elementType: scalar: string - - name: recreateParams - type: - namedType: com.github.openshift.api.apps.v1.RecreateDeploymentStrategyParams - - name: resources - type: - namedType: ResourceRequirements.v1.core.api.k8s.io - default: {} - - name: rollingParams - type: - namedType: com.github.openshift.api.apps.v1.RollingDeploymentStrategyParams - - name: type - type: - scalar: string -- name: com.github.openshift.api.apps.v1.DeploymentTriggerImageChangeParams - map: - fields: - - name: automatic - type: - scalar: boolean - - name: containerNames + - name: managedFields type: list: elementType: - scalar: string + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry elementRelationship: atomic - - name: from - type: - namedType: ObjectReference.v1.core.api.k8s.io - default: {} - - name: lastTriggeredImage + - name: name type: scalar: string -- name: com.github.openshift.api.apps.v1.DeploymentTriggerPolicy - map: - fields: - - name: imageChangeParams - type: - namedType: com.github.openshift.api.apps.v1.DeploymentTriggerImageChangeParams - - name: type + - name: namespace type: scalar: string -- name: com.github.openshift.api.apps.v1.ExecNewPodHook - map: - fields: - - name: command + - name: ownerReferences type: list: elementType: - scalar: string - elementRelationship: atomic - - name: containerName + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.OwnerReference + elementRelationship: associative + keys: + - uid + - name: resourceVersion type: scalar: string - default: "" - - name: env + - name: selfLink type: - list: - elementType: - namedType: EnvVar.v1.core.api.k8s.io - elementRelationship: atomic - - name: volumes + scalar: string + - name: uid type: - list: - elementType: - scalar: string - elementRelationship: atomic -- name: com.github.openshift.api.apps.v1.LifecycleHook + scalar: string +- name: io.k8s.apimachinery.pkg.apis.meta.v1.OwnerReference map: fields: - - name: execNewPod - type: - namedType: com.github.openshift.api.apps.v1.ExecNewPodHook - - name: failurePolicy + - name: apiVersion type: scalar: string default: "" - - name: tagImages - type: - list: - elementType: - namedType: com.github.openshift.api.apps.v1.TagImageHook - elementRelationship: atomic -- name: com.github.openshift.api.apps.v1.RecreateDeploymentStrategyParams - map: - fields: - - name: mid - type: - namedType: com.github.openshift.api.apps.v1.LifecycleHook - - name: post - type: - namedType: com.github.openshift.api.apps.v1.LifecycleHook - - name: pre - type: - namedType: com.github.openshift.api.apps.v1.LifecycleHook - - name: timeoutSeconds - type: - scalar: numeric -- name: com.github.openshift.api.apps.v1.RollingDeploymentStrategyParams - map: - fields: - - name: intervalSeconds - type: - scalar: numeric - - name: maxSurge - type: - namedType: IntOrString.intstr.util.pkg.apimachinery.k8s.io - - name: maxUnavailable - type: - namedType: IntOrString.intstr.util.pkg.apimachinery.k8s.io - - name: post - type: - namedType: com.github.openshift.api.apps.v1.LifecycleHook - - name: pre + - name: blockOwnerDeletion type: - namedType: com.github.openshift.api.apps.v1.LifecycleHook - - name: timeoutSeconds + scalar: boolean + - name: controller type: - scalar: numeric - - name: updatePeriodSeconds + scalar: boolean + - name: kind type: - scalar: numeric -- name: com.github.openshift.api.apps.v1.TagImageHook - map: - fields: - - name: containerName + scalar: string + default: "" + - name: name type: scalar: string default: "" - - name: to + - name: uid type: - namedType: ObjectReference.v1.core.api.k8s.io - default: {} + scalar: string + default: "" + elementRelationship: atomic +- name: io.k8s.apimachinery.pkg.apis.meta.v1.Time + scalar: untyped +- name: io.k8s.apimachinery.pkg.util.intstr.IntOrString + scalar: untyped - name: __untyped_atomic_ scalar: untyped list: diff --git a/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/criocredentialproviderconfig.go b/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/criocredentialproviderconfig.go new file mode 100644 index 0000000000..94be7a1cda --- /dev/null +++ b/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/criocredentialproviderconfig.go @@ -0,0 +1,285 @@ +// Code generated by applyconfiguration-gen. DO NOT EDIT. + +package v1 + +import ( + configv1 "github.com/openshift/api/config/v1" + internal "github.com/openshift/client-go/config/applyconfigurations/internal" + apismetav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + types "k8s.io/apimachinery/pkg/types" + managedfields "k8s.io/apimachinery/pkg/util/managedfields" + metav1 "k8s.io/client-go/applyconfigurations/meta/v1" +) + +// CRIOCredentialProviderConfigApplyConfiguration represents a declarative configuration of the CRIOCredentialProviderConfig type for use +// with apply. +// +// CRIOCredentialProviderConfig holds cluster-wide singleton resource configurations for CRI-O credential provider, the name of this instance is "cluster". CRI-O credential provider is a binary shipped with CRI-O that provides a way to obtain container image pull credentials from external sources. +// For example, it can be used to fetch mirror registry credentials from secrets resources in the cluster within the same namespace the pod will be running in. +// CRIOCredentialProviderConfig configuration specifies the pod image sources registries that should trigger the CRI-O credential provider execution, which will resolve the CRI-O mirror configurations and obtain the necessary credentials for pod creation. +// Note: Configuration changes will only take effect after the kubelet restarts, which is automatically managed by the cluster during rollout. +// +// The resource is a singleton named "cluster". +// +// Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer). +type CRIOCredentialProviderConfigApplyConfiguration struct { + metav1.TypeMetaApplyConfiguration `json:",inline"` + // metadata is the standard object's metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata + *metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` + // spec defines the desired configuration of the CRI-O Credential Provider. + // This field is required and must be provided when creating the resource. + Spec *CRIOCredentialProviderConfigSpecApplyConfiguration `json:"spec,omitempty"` + // status represents the current state of the CRIOCredentialProviderConfig. + // When omitted or nil, it indicates that the status has not yet been set by the controller. + // The controller will populate this field with validation conditions and operational state. + Status *CRIOCredentialProviderConfigStatusApplyConfiguration `json:"status,omitempty"` +} + +// CRIOCredentialProviderConfig constructs a declarative configuration of the CRIOCredentialProviderConfig type for use with +// apply. +func CRIOCredentialProviderConfig(name string) *CRIOCredentialProviderConfigApplyConfiguration { + b := &CRIOCredentialProviderConfigApplyConfiguration{} + b.WithName(name) + b.WithKind("CRIOCredentialProviderConfig") + b.WithAPIVersion("config.openshift.io/v1") + return b +} + +// ExtractCRIOCredentialProviderConfigFrom extracts the applied configuration owned by fieldManager from +// cRIOCredentialProviderConfig for the specified subresource. Pass an empty string for subresource to extract +// the main resource. Common subresources include "status", "scale", etc. +// cRIOCredentialProviderConfig must be a unmodified CRIOCredentialProviderConfig API object that was retrieved from the Kubernetes API. +// ExtractCRIOCredentialProviderConfigFrom provides a way to perform a extract/modify-in-place/apply workflow. +// Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously +// applied if another fieldManager has updated or force applied any of the previously applied fields. +func ExtractCRIOCredentialProviderConfigFrom(cRIOCredentialProviderConfig *configv1.CRIOCredentialProviderConfig, fieldManager string, subresource string) (*CRIOCredentialProviderConfigApplyConfiguration, error) { + b := &CRIOCredentialProviderConfigApplyConfiguration{} + err := managedfields.ExtractInto(cRIOCredentialProviderConfig, internal.Parser().Type("com.github.openshift.api.config.v1.CRIOCredentialProviderConfig"), fieldManager, b, subresource) + if err != nil { + return nil, err + } + b.WithName(cRIOCredentialProviderConfig.Name) + + b.WithKind("CRIOCredentialProviderConfig") + b.WithAPIVersion("config.openshift.io/v1") + return b, nil +} + +// ExtractCRIOCredentialProviderConfig extracts the applied configuration owned by fieldManager from +// cRIOCredentialProviderConfig. If no managedFields are found in cRIOCredentialProviderConfig for fieldManager, a +// CRIOCredentialProviderConfigApplyConfiguration is returned with only the Name, Namespace (if applicable), +// APIVersion and Kind populated. It is possible that no managed fields were found for because other +// field managers have taken ownership of all the fields previously owned by fieldManager, or because +// the fieldManager never owned fields any fields. +// cRIOCredentialProviderConfig must be a unmodified CRIOCredentialProviderConfig API object that was retrieved from the Kubernetes API. +// ExtractCRIOCredentialProviderConfig provides a way to perform a extract/modify-in-place/apply workflow. +// Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously +// applied if another fieldManager has updated or force applied any of the previously applied fields. +func ExtractCRIOCredentialProviderConfig(cRIOCredentialProviderConfig *configv1.CRIOCredentialProviderConfig, fieldManager string) (*CRIOCredentialProviderConfigApplyConfiguration, error) { + return ExtractCRIOCredentialProviderConfigFrom(cRIOCredentialProviderConfig, fieldManager, "") +} + +// ExtractCRIOCredentialProviderConfigStatus extracts the applied configuration owned by fieldManager from +// cRIOCredentialProviderConfig for the status subresource. +func ExtractCRIOCredentialProviderConfigStatus(cRIOCredentialProviderConfig *configv1.CRIOCredentialProviderConfig, fieldManager string) (*CRIOCredentialProviderConfigApplyConfiguration, error) { + return ExtractCRIOCredentialProviderConfigFrom(cRIOCredentialProviderConfig, fieldManager, "status") +} + +func (b CRIOCredentialProviderConfigApplyConfiguration) IsApplyConfiguration() {} + +// WithKind sets the Kind field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the Kind field is set to the value of the last call. +func (b *CRIOCredentialProviderConfigApplyConfiguration) WithKind(value string) *CRIOCredentialProviderConfigApplyConfiguration { + b.TypeMetaApplyConfiguration.Kind = &value + return b +} + +// WithAPIVersion sets the APIVersion field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the APIVersion field is set to the value of the last call. +func (b *CRIOCredentialProviderConfigApplyConfiguration) WithAPIVersion(value string) *CRIOCredentialProviderConfigApplyConfiguration { + b.TypeMetaApplyConfiguration.APIVersion = &value + return b +} + +// WithName sets the Name field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the Name field is set to the value of the last call. +func (b *CRIOCredentialProviderConfigApplyConfiguration) WithName(value string) *CRIOCredentialProviderConfigApplyConfiguration { + b.ensureObjectMetaApplyConfigurationExists() + b.ObjectMetaApplyConfiguration.Name = &value + return b +} + +// WithGenerateName sets the GenerateName field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the GenerateName field is set to the value of the last call. +func (b *CRIOCredentialProviderConfigApplyConfiguration) WithGenerateName(value string) *CRIOCredentialProviderConfigApplyConfiguration { + b.ensureObjectMetaApplyConfigurationExists() + b.ObjectMetaApplyConfiguration.GenerateName = &value + return b +} + +// WithNamespace sets the Namespace field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the Namespace field is set to the value of the last call. +func (b *CRIOCredentialProviderConfigApplyConfiguration) WithNamespace(value string) *CRIOCredentialProviderConfigApplyConfiguration { + b.ensureObjectMetaApplyConfigurationExists() + b.ObjectMetaApplyConfiguration.Namespace = &value + return b +} + +// WithUID sets the UID field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the UID field is set to the value of the last call. +func (b *CRIOCredentialProviderConfigApplyConfiguration) WithUID(value types.UID) *CRIOCredentialProviderConfigApplyConfiguration { + b.ensureObjectMetaApplyConfigurationExists() + b.ObjectMetaApplyConfiguration.UID = &value + return b +} + +// WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the ResourceVersion field is set to the value of the last call. +func (b *CRIOCredentialProviderConfigApplyConfiguration) WithResourceVersion(value string) *CRIOCredentialProviderConfigApplyConfiguration { + b.ensureObjectMetaApplyConfigurationExists() + b.ObjectMetaApplyConfiguration.ResourceVersion = &value + return b +} + +// WithGeneration sets the Generation field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the Generation field is set to the value of the last call. +func (b *CRIOCredentialProviderConfigApplyConfiguration) WithGeneration(value int64) *CRIOCredentialProviderConfigApplyConfiguration { + b.ensureObjectMetaApplyConfigurationExists() + b.ObjectMetaApplyConfiguration.Generation = &value + return b +} + +// WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the CreationTimestamp field is set to the value of the last call. +func (b *CRIOCredentialProviderConfigApplyConfiguration) WithCreationTimestamp(value apismetav1.Time) *CRIOCredentialProviderConfigApplyConfiguration { + b.ensureObjectMetaApplyConfigurationExists() + b.ObjectMetaApplyConfiguration.CreationTimestamp = &value + return b +} + +// WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the DeletionTimestamp field is set to the value of the last call. +func (b *CRIOCredentialProviderConfigApplyConfiguration) WithDeletionTimestamp(value apismetav1.Time) *CRIOCredentialProviderConfigApplyConfiguration { + b.ensureObjectMetaApplyConfigurationExists() + b.ObjectMetaApplyConfiguration.DeletionTimestamp = &value + return b +} + +// WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call. +func (b *CRIOCredentialProviderConfigApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *CRIOCredentialProviderConfigApplyConfiguration { + b.ensureObjectMetaApplyConfigurationExists() + b.ObjectMetaApplyConfiguration.DeletionGracePeriodSeconds = &value + return b +} + +// WithLabels puts the entries into the Labels field in the declarative configuration +// and returns the receiver, so that objects can be build by chaining "With" function invocations. +// If called multiple times, the entries provided by each call will be put on the Labels field, +// overwriting an existing map entries in Labels field with the same key. +func (b *CRIOCredentialProviderConfigApplyConfiguration) WithLabels(entries map[string]string) *CRIOCredentialProviderConfigApplyConfiguration { + b.ensureObjectMetaApplyConfigurationExists() + if b.ObjectMetaApplyConfiguration.Labels == nil && len(entries) > 0 { + b.ObjectMetaApplyConfiguration.Labels = make(map[string]string, len(entries)) + } + for k, v := range entries { + b.ObjectMetaApplyConfiguration.Labels[k] = v + } + return b +} + +// WithAnnotations puts the entries into the Annotations field in the declarative configuration +// and returns the receiver, so that objects can be build by chaining "With" function invocations. +// If called multiple times, the entries provided by each call will be put on the Annotations field, +// overwriting an existing map entries in Annotations field with the same key. +func (b *CRIOCredentialProviderConfigApplyConfiguration) WithAnnotations(entries map[string]string) *CRIOCredentialProviderConfigApplyConfiguration { + b.ensureObjectMetaApplyConfigurationExists() + if b.ObjectMetaApplyConfiguration.Annotations == nil && len(entries) > 0 { + b.ObjectMetaApplyConfiguration.Annotations = make(map[string]string, len(entries)) + } + for k, v := range entries { + b.ObjectMetaApplyConfiguration.Annotations[k] = v + } + return b +} + +// WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration +// and returns the receiver, so that objects can be build by chaining "With" function invocations. +// If called multiple times, values provided by each call will be appended to the OwnerReferences field. +func (b *CRIOCredentialProviderConfigApplyConfiguration) WithOwnerReferences(values ...*metav1.OwnerReferenceApplyConfiguration) *CRIOCredentialProviderConfigApplyConfiguration { + b.ensureObjectMetaApplyConfigurationExists() + for i := range values { + if values[i] == nil { + panic("nil value passed to WithOwnerReferences") + } + b.ObjectMetaApplyConfiguration.OwnerReferences = append(b.ObjectMetaApplyConfiguration.OwnerReferences, *values[i]) + } + return b +} + +// WithFinalizers adds the given value to the Finalizers field in the declarative configuration +// and returns the receiver, so that objects can be build by chaining "With" function invocations. +// If called multiple times, values provided by each call will be appended to the Finalizers field. +func (b *CRIOCredentialProviderConfigApplyConfiguration) WithFinalizers(values ...string) *CRIOCredentialProviderConfigApplyConfiguration { + b.ensureObjectMetaApplyConfigurationExists() + for i := range values { + b.ObjectMetaApplyConfiguration.Finalizers = append(b.ObjectMetaApplyConfiguration.Finalizers, values[i]) + } + return b +} + +func (b *CRIOCredentialProviderConfigApplyConfiguration) ensureObjectMetaApplyConfigurationExists() { + if b.ObjectMetaApplyConfiguration == nil { + b.ObjectMetaApplyConfiguration = &metav1.ObjectMetaApplyConfiguration{} + } +} + +// WithSpec sets the Spec field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the Spec field is set to the value of the last call. +func (b *CRIOCredentialProviderConfigApplyConfiguration) WithSpec(value *CRIOCredentialProviderConfigSpecApplyConfiguration) *CRIOCredentialProviderConfigApplyConfiguration { + b.Spec = value + return b +} + +// WithStatus sets the Status field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the Status field is set to the value of the last call. +func (b *CRIOCredentialProviderConfigApplyConfiguration) WithStatus(value *CRIOCredentialProviderConfigStatusApplyConfiguration) *CRIOCredentialProviderConfigApplyConfiguration { + b.Status = value + return b +} + +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *CRIOCredentialProviderConfigApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *CRIOCredentialProviderConfigApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + +// GetName retrieves the value of the Name field in the declarative configuration. +func (b *CRIOCredentialProviderConfigApplyConfiguration) GetName() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Name +} + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *CRIOCredentialProviderConfigApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/criocredentialproviderconfigspec.go b/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/criocredentialproviderconfigspec.go new file mode 100644 index 0000000000..4820041d74 --- /dev/null +++ b/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/criocredentialproviderconfigspec.go @@ -0,0 +1,72 @@ +// Code generated by applyconfiguration-gen. DO NOT EDIT. + +package v1 + +import ( + configv1 "github.com/openshift/api/config/v1" +) + +// CRIOCredentialProviderConfigSpecApplyConfiguration represents a declarative configuration of the CRIOCredentialProviderConfigSpec type for use +// with apply. +// +// CRIOCredentialProviderConfigSpec defines the desired configuration of the CRI-O Credential Provider. +type CRIOCredentialProviderConfigSpecApplyConfiguration struct { + // matchImages is a list of string patterns used to determine whether + // the CRI-O credential provider should be invoked for a given image. This list is + // passed to the kubelet CredentialProviderConfig, and if any pattern matches + // the requested image, CRI-O credential provider will be invoked to obtain credentials for pulling + // that image or its mirrors. + // Depending on the platform, the CRI-O credential provider may be installed alongside an existing platform specific provider. + // Conflicts between the existing platform specific provider image match configuration and this list will be handled by + // the following precedence rule: credentials from built-in kubelet providers (e.g., ECR, GCR, ACR) take precedence over those + // from the CRIOCredentialProviderConfig when both match the same image. + // To avoid uncertainty, it is recommended to avoid configuring your private image patterns to overlap with + // existing platform specific provider config(e.g., the entries from https://github.com/openshift/machine-config-operator/blob/main/templates/common/aws/files/etc-kubernetes-credential-providers-ecr-credential-provider.yaml). + // You can check the resource's Status conditions + // to see if any entries were ignored due to exact matches with known built-in provider patterns. + // + // This field is optional, the items of the list must contain between 1 and 50 entries. + // The list is treated as a set, so duplicate entries are not allowed. + // + // For more details, see: + // https://kubernetes.io/docs/tasks/administer-cluster/kubelet-credential-provider/ + // https://github.com/cri-o/crio-credential-provider#architecture + // + // Each entry in matchImages is a pattern which can optionally contain a port and a path. Each entry must be no longer than 512 characters. + // Wildcards ('*') are supported for full subdomain labels, such as '*.k8s.io' or 'k8s.*.io', + // and for top-level domains, such as 'k8s.*' (which matches 'k8s.io' or 'k8s.net'). + // A global wildcard '*' (matching any domain) is not allowed. + // Wildcards may replace an entire hostname label (e.g., *.example.com), but they cannot appear within a label (e.g., f*oo.example.com) and are not allowed in the port or path. + // For example, 'example.*.com' is valid, but 'exa*mple.*.com' is not. + // Each wildcard matches only a single domain label, + // so '*.io' does **not** match '*.k8s.io'. + // + // A match exists between an image and a matchImage when all of the below are true: + // Both contain the same number of domain parts and each part matches. + // The URL path of an matchImages must be a prefix of the target image URL path. + // If the matchImages contains a port, then the port must match in the image as well. + // + // Example values of matchImages: + // - 123456789.dkr.ecr.us-east-1.amazonaws.com + // - *.azurecr.io + // - gcr.io + // - *.*.registry.io + // - registry.io:8080/path + MatchImages []configv1.MatchImage `json:"matchImages,omitempty"` +} + +// CRIOCredentialProviderConfigSpecApplyConfiguration constructs a declarative configuration of the CRIOCredentialProviderConfigSpec type for use with +// apply. +func CRIOCredentialProviderConfigSpec() *CRIOCredentialProviderConfigSpecApplyConfiguration { + return &CRIOCredentialProviderConfigSpecApplyConfiguration{} +} + +// WithMatchImages adds the given value to the MatchImages field in the declarative configuration +// and returns the receiver, so that objects can be build by chaining "With" function invocations. +// If called multiple times, values provided by each call will be appended to the MatchImages field. +func (b *CRIOCredentialProviderConfigSpecApplyConfiguration) WithMatchImages(values ...configv1.MatchImage) *CRIOCredentialProviderConfigSpecApplyConfiguration { + for i := range values { + b.MatchImages = append(b.MatchImages, values[i]) + } + return b +} diff --git a/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/criocredentialproviderconfigstatus.go b/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/criocredentialproviderconfigstatus.go new file mode 100644 index 0000000000..903292fe8d --- /dev/null +++ b/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/criocredentialproviderconfigstatus.go @@ -0,0 +1,41 @@ +// Code generated by applyconfiguration-gen. DO NOT EDIT. + +package v1 + +import ( + metav1 "k8s.io/client-go/applyconfigurations/meta/v1" +) + +// CRIOCredentialProviderConfigStatusApplyConfiguration represents a declarative configuration of the CRIOCredentialProviderConfigStatus type for use +// with apply. +// +// CRIOCredentialProviderConfigStatus defines the observed state of CRIOCredentialProviderConfig +type CRIOCredentialProviderConfigStatusApplyConfiguration struct { + // conditions represent the latest available observations of the configuration state. + // When omitted, it indicates that no conditions have been reported yet. + // The maximum number of conditions is 16. + // Conditions are stored as a map keyed by condition type, ensuring uniqueness. + // + // Expected condition types include: + // "Validated": indicates whether the matchImages configuration is valid + Conditions []metav1.ConditionApplyConfiguration `json:"conditions,omitempty"` +} + +// CRIOCredentialProviderConfigStatusApplyConfiguration constructs a declarative configuration of the CRIOCredentialProviderConfigStatus type for use with +// apply. +func CRIOCredentialProviderConfigStatus() *CRIOCredentialProviderConfigStatusApplyConfiguration { + return &CRIOCredentialProviderConfigStatusApplyConfiguration{} +} + +// WithConditions adds the given value to the Conditions field in the declarative configuration +// and returns the receiver, so that objects can be build by chaining "With" function invocations. +// If called multiple times, values provided by each call will be appended to the Conditions field. +func (b *CRIOCredentialProviderConfigStatusApplyConfiguration) WithConditions(values ...*metav1.ConditionApplyConfiguration) *CRIOCredentialProviderConfigStatusApplyConfiguration { + for i := range values { + if values[i] == nil { + panic("nil value passed to WithConditions") + } + b.Conditions = append(b.Conditions, *values[i]) + } + return b +} diff --git a/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/infrastructurespec.go b/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/infrastructurespec.go index e48e1368b3..135e8568dd 100644 --- a/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/infrastructurespec.go +++ b/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/infrastructurespec.go @@ -2,6 +2,10 @@ package v1 +import ( + configv1 "github.com/openshift/api/config/v1" +) + // InfrastructureSpecApplyConfiguration represents a declarative configuration of the InfrastructureSpec type for use // with apply. // @@ -23,6 +27,16 @@ type InfrastructureSpecApplyConfiguration struct { // platformSpec holds desired information specific to the underlying // infrastructure provider. PlatformSpec *PlatformSpecApplyConfiguration `json:"platformSpec,omitempty"` + // controlPlaneTopology expresses the desired topology configuration for control nodes. + // + // When status.controlPlaneTopology is 'SingleReplica' and spec.controlPlaneTopology is set to 'HighlyAvailable', + // a transition will be triggered to reconfigure the cluster from SingleReplica to HighlyAvailable. + // + // When left blank or status.controlPlaneTopology and spec.controlPlaneTopology are the same value, + // no changes are required and no transitions will be triggered. + // + // This value may be set to match status.controlPlaneTopology regardless of the current value. + ControlPlaneTopology *configv1.TopologyMode `json:"controlPlaneTopology,omitempty"` } // InfrastructureSpecApplyConfiguration constructs a declarative configuration of the InfrastructureSpec type for use with @@ -46,3 +60,11 @@ func (b *InfrastructureSpecApplyConfiguration) WithPlatformSpec(value *PlatformS b.PlatformSpec = value return b } + +// WithControlPlaneTopology sets the ControlPlaneTopology field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the ControlPlaneTopology field is set to the value of the last call. +func (b *InfrastructureSpecApplyConfiguration) WithControlPlaneTopology(value configv1.TopologyMode) *InfrastructureSpecApplyConfiguration { + b.ControlPlaneTopology = &value + return b +} diff --git a/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/networkobservabilityspec.go b/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/networkobservabilityspec.go index 1ccd980764..5e58d8e9c1 100644 --- a/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/networkobservabilityspec.go +++ b/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/networkobservabilityspec.go @@ -15,6 +15,9 @@ type NetworkObservabilitySpecApplyConfiguration struct { // Valid values are "InstallAndEnable" and "NoAction". // When set to "InstallAndEnable", ensure that network observability will be installed and enabled on the cluster. If already installed, no action taken, but if it gets uninstalled, it will install it again. // When set to "NoAction", nothing will be done regarding Network observability. + // During the installation of NetworkObservability, the platform checks for any existing manual installations. + // If a successful installation using the OLMv0 or OLMv1 API is detected, it will be used. + // If the platform cannot determine how the current version was installed, or if the existing installation is incomplete, the installation process will stop. InstallationPolicy *configv1.NetworkObservabilityInstallationPolicy `json:"installationPolicy,omitempty"` } diff --git a/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1alpha1/remotewriteauthorization.go b/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1alpha1/remotewriteauthorization.go index c32870d760..e9b07674d1 100644 --- a/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1alpha1/remotewriteauthorization.go +++ b/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1alpha1/remotewriteauthorization.go @@ -4,19 +4,19 @@ package v1alpha1 import ( configv1alpha1 "github.com/openshift/api/config/v1alpha1" - v1 "k8s.io/api/core/v1" ) // RemoteWriteAuthorizationApplyConfiguration represents a declarative configuration of the RemoteWriteAuthorization type for use // with apply. // // RemoteWriteAuthorization defines the authorization method for a remote write endpoint. -// Exactly one of the nested configs must be set according to the type discriminator. +// Nested config requirements depend on the type discriminator: Authorization requires authorization, +// BasicAuth requires basicAuth, OAuth2 requires oauth2, SigV4 requires sigv4, and ServiceAccount forbids all nested configs. type RemoteWriteAuthorizationApplyConfiguration struct { // type specifies the authorization method to use. - // Allowed values are BearerToken, BasicAuth, OAuth2, SigV4, SafeAuthorization, ServiceAccount. + // Allowed values are Authorization, BasicAuth, OAuth2, SigV4, and ServiceAccount. // - // When set to BearerToken, the bearer token is read from a Secret referenced by the bearerToken field. + // When set to Authorization, credentials are read from a single Secret key. The secret key typically contains a Bearer token. Use the authorization field. // // When set to BasicAuth, HTTP basic authentication is used; the basicAuth field (username and password from Secrets) must be set. // @@ -24,16 +24,12 @@ type RemoteWriteAuthorizationApplyConfiguration struct { // // When set to SigV4, AWS Signature Version 4 is used for authentication; the sigv4 field must be set. // - // When set to SafeAuthorization, credentials are read from a single Secret key (Prometheus SafeAuthorization pattern). The secret key typically contains a Bearer token. Use the safeAuthorization field. - // // When set to ServiceAccount, the pod's service account token is used for machine identity. No additional field is required; the operator configures the token path. Type *configv1alpha1.RemoteWriteAuthorizationType `json:"type,omitempty"` - // safeAuthorization defines the secret reference containing the credentials for authentication (e.g. Bearer token). - // Required when type is "SafeAuthorization", and forbidden otherwise. Maps to Prometheus SafeAuthorization. The secret must exist in the openshift-monitoring namespace. - SafeAuthorization *v1.SecretKeySelector `json:"safeAuthorization,omitempty"` - // bearerToken defines the secret reference containing the bearer token. - // Required when type is "BearerToken", and forbidden otherwise. - BearerToken *SecretKeySelectorApplyConfiguration `json:"bearerToken,omitempty"` + // authorization defines the secret reference containing the authorization credentials (e.g. Bearer token). + // Required when type is "Authorization", and forbidden otherwise. + // The secret must exist in the openshift-monitoring namespace. + Authorization *SecretKeySelectorApplyConfiguration `json:"authorization,omitempty"` // basicAuth defines HTTP basic authentication credentials. // Required when type is "BasicAuth", and forbidden otherwise. BasicAuth *BasicAuthApplyConfiguration `json:"basicAuth,omitempty"` @@ -59,19 +55,11 @@ func (b *RemoteWriteAuthorizationApplyConfiguration) WithType(value configv1alph return b } -// WithSafeAuthorization sets the SafeAuthorization field in the declarative configuration to the given value -// and returns the receiver, so that objects can be built by chaining "With" function invocations. -// If called multiple times, the SafeAuthorization field is set to the value of the last call. -func (b *RemoteWriteAuthorizationApplyConfiguration) WithSafeAuthorization(value v1.SecretKeySelector) *RemoteWriteAuthorizationApplyConfiguration { - b.SafeAuthorization = &value - return b -} - -// WithBearerToken sets the BearerToken field in the declarative configuration to the given value +// WithAuthorization sets the Authorization field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. -// If called multiple times, the BearerToken field is set to the value of the last call. -func (b *RemoteWriteAuthorizationApplyConfiguration) WithBearerToken(value *SecretKeySelectorApplyConfiguration) *RemoteWriteAuthorizationApplyConfiguration { - b.BearerToken = value +// If called multiple times, the Authorization field is set to the value of the last call. +func (b *RemoteWriteAuthorizationApplyConfiguration) WithAuthorization(value *SecretKeySelectorApplyConfiguration) *RemoteWriteAuthorizationApplyConfiguration { + b.Authorization = value return b } diff --git a/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1alpha1/remotewritespec.go b/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1alpha1/remotewritespec.go index cbb3c0dbcf..07c4b1e15f 100644 --- a/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1alpha1/remotewritespec.go +++ b/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1alpha1/remotewritespec.go @@ -23,7 +23,7 @@ type RemoteWriteSpecApplyConfiguration struct { Name *string `json:"name,omitempty"` // authorization defines the authorization method for the remote write endpoint. // When omitted, no authorization is performed. - // When set, type must be one of BearerToken, BasicAuth, OAuth2, SigV4, SafeAuthorization, or ServiceAccount; the corresponding nested config must be set (ServiceAccount has no config). + // When set, type must be one of Authorization, BasicAuth, OAuth2, SigV4, or ServiceAccount; the corresponding nested config must be set (ServiceAccount has no config). AuthorizationConfig *RemoteWriteAuthorizationApplyConfiguration `json:"authorization,omitempty"` // headers specifies the custom HTTP headers to be sent along with each remote write request. // Sending custom headers makes the configuration of a proxy in between optional and helps the diff --git a/vendor/github.com/openshift/client-go/config/applyconfigurations/internal/internal.go b/vendor/github.com/openshift/client-go/config/applyconfigurations/internal/internal.go index 303a840719..44304442d0 100644 --- a/vendor/github.com/openshift/client-go/config/applyconfigurations/internal/internal.go +++ b/vendor/github.com/openshift/client-go/config/applyconfigurations/internal/internal.go @@ -23,80 +23,96 @@ func Parser() *typed.Parser { var parserOnce sync.Once var parser *typed.Parser var schemaYAML = typed.YAMLObject(`types: -- name: Condition.v1.meta.apis.pkg.apimachinery.k8s.io +- name: com.github.openshift.api.config.v1.APIServer map: fields: - - name: lastTransitionTime + - name: apiVersion type: - namedType: Time.v1.meta.apis.pkg.apimachinery.k8s.io - - name: message + scalar: string + - name: kind type: scalar: string - default: "" - - name: observedGeneration + - name: metadata type: - scalar: numeric - - name: reason + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta + default: {} + - name: spec type: - scalar: string - default: "" + namedType: com.github.openshift.api.config.v1.APIServerSpec + default: {} - name: status type: - scalar: string - default: "" - - name: type - type: - scalar: string - default: "" -- name: ConfigMapKeySelector.v1.core.api.k8s.io + namedType: com.github.openshift.api.config.v1.APIServerStatus + default: {} +- name: com.github.openshift.api.config.v1.APIServerEncryption map: fields: - - name: key + - name: kms type: - scalar: string - default: "" - - name: name + namedType: com.github.openshift.api.config.v1.KMSPluginConfig + default: {} + - name: type type: scalar: string - default: "" - - name: optional - type: - scalar: boolean - elementRelationship: atomic -- name: Duration.v1.meta.apis.pkg.apimachinery.k8s.io - scalar: string -- name: EnvVar.v1.core.api.k8s.io + unions: + - discriminator: type + fields: + - fieldName: kms + discriminatorValue: KMS +- name: com.github.openshift.api.config.v1.APIServerNamedServingCert map: fields: - - name: name + - name: names type: - scalar: string - default: "" - - name: value + list: + elementType: + scalar: string + elementRelationship: atomic + - name: servingCertificate type: - scalar: string - - name: valueFrom + namedType: com.github.openshift.api.config.v1.SecretNameReference + default: {} +- name: com.github.openshift.api.config.v1.APIServerServingCerts + map: + fields: + - name: namedCertificates type: - namedType: EnvVarSource.v1.core.api.k8s.io -- name: EnvVarSource.v1.core.api.k8s.io + list: + elementType: + namedType: com.github.openshift.api.config.v1.APIServerNamedServingCert + elementRelationship: atomic +- name: com.github.openshift.api.config.v1.APIServerSpec map: fields: - - name: configMapKeyRef + - name: additionalCORSAllowedOrigins type: - namedType: ConfigMapKeySelector.v1.core.api.k8s.io - - name: fieldRef + list: + elementType: + scalar: string + elementRelationship: atomic + - name: audit type: - namedType: ObjectFieldSelector.v1.core.api.k8s.io - - name: fileKeyRef + namedType: com.github.openshift.api.config.v1.Audit + default: {} + - name: clientCA type: - namedType: FileKeySelector.v1.core.api.k8s.io - - name: resourceFieldRef + namedType: com.github.openshift.api.config.v1.ConfigMapNameReference + default: {} + - name: encryption type: - namedType: ResourceFieldSelector.v1.core.api.k8s.io - - name: secretKeyRef + namedType: com.github.openshift.api.config.v1.APIServerEncryption + default: {} + - name: servingCerts + type: + namedType: com.github.openshift.api.config.v1.APIServerServingCerts + default: {} + - name: tlsAdherence + type: + scalar: string + - name: tlsSecurityProfile type: - namedType: SecretKeySelector.v1.core.api.k8s.io -- name: FieldsV1.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: com.github.openshift.api.config.v1.TLSSecurityProfile +- name: com.github.openshift.api.config.v1.APIServerStatus map: elementType: scalar: untyped @@ -108,229 +124,190 @@ var schemaYAML = typed.YAMLObject(`types: elementType: namedType: __untyped_deduced_ elementRelationship: separable -- name: FileKeySelector.v1.core.api.k8s.io +- name: com.github.openshift.api.config.v1.AWSDNSSpec map: fields: - - name: key - type: - scalar: string - default: "" - - name: optional - type: - scalar: boolean - default: false - - name: path + - name: privateZoneIAMRole type: scalar: string default: "" - - name: volumeName +- name: com.github.openshift.api.config.v1.AWSIngressSpec + map: + fields: + - name: type type: scalar: string default: "" - elementRelationship: atomic -- name: LabelSelector.v1.meta.apis.pkg.apimachinery.k8s.io + unions: + - discriminator: type +- name: com.github.openshift.api.config.v1.AWSPlatformSpec map: fields: - - name: matchExpressions + - name: serviceEndpoints type: list: elementType: - namedType: LabelSelectorRequirement.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: com.github.openshift.api.config.v1.AWSServiceEndpoint elementRelationship: atomic - - name: matchLabels - type: - map: - elementType: - scalar: string - elementRelationship: atomic -- name: LabelSelectorRequirement.v1.meta.apis.pkg.apimachinery.k8s.io +- name: com.github.openshift.api.config.v1.AWSPlatformStatus map: fields: - - name: key + - name: cloudLoadBalancerConfig + type: + namedType: com.github.openshift.api.config.v1.CloudLoadBalancerConfig + default: + dnsType: PlatformDefault + - name: ipFamily type: scalar: string - default: "" - - name: operator + default: IPv4 + - name: region type: scalar: string default: "" - - name: values + - name: resourceTags type: list: elementType: - scalar: string + namedType: com.github.openshift.api.config.v1.AWSResourceTag + elementRelationship: atomic + - name: serviceEndpoints + type: + list: + elementType: + namedType: com.github.openshift.api.config.v1.AWSServiceEndpoint elementRelationship: atomic -- name: ManagedFieldsEntry.v1.meta.apis.pkg.apimachinery.k8s.io +- name: com.github.openshift.api.config.v1.AWSResourceTag map: fields: - - name: apiVersion + - name: key type: scalar: string - - name: fieldsType + default: "" + - name: value type: scalar: string - - name: fieldsV1 - type: - namedType: FieldsV1.v1.meta.apis.pkg.apimachinery.k8s.io - - name: manager + default: "" +- name: com.github.openshift.api.config.v1.AWSServiceEndpoint + map: + fields: + - name: name type: scalar: string - - name: operation + default: "" + - name: url type: scalar: string - - name: subresource + default: "" +- name: com.github.openshift.api.config.v1.AcceptRisk + map: + fields: + - name: name type: scalar: string - - name: time - type: - namedType: Time.v1.meta.apis.pkg.apimachinery.k8s.io -- name: ModifyVolumeStatus.v1.core.api.k8s.io +- name: com.github.openshift.api.config.v1.AlibabaCloudPlatformSpec + map: + elementType: + scalar: untyped + list: + elementType: + namedType: __untyped_atomic_ + elementRelationship: atomic + map: + elementType: + namedType: __untyped_deduced_ + elementRelationship: separable +- name: com.github.openshift.api.config.v1.AlibabaCloudPlatformStatus map: fields: - - name: status + - name: region type: scalar: string default: "" - - name: targetVolumeAttributesClassName + - name: resourceGroupID type: scalar: string -- name: ObjectFieldSelector.v1.core.api.k8s.io + - name: resourceTags + type: + list: + elementType: + namedType: com.github.openshift.api.config.v1.AlibabaCloudResourceTag + elementRelationship: associative + keys: + - key +- name: com.github.openshift.api.config.v1.AlibabaCloudResourceTag map: fields: - - name: apiVersion + - name: key type: scalar: string - - name: fieldPath + default: "" + - name: value type: scalar: string default: "" - elementRelationship: atomic -- name: ObjectMeta.v1.meta.apis.pkg.apimachinery.k8s.io +- name: com.github.openshift.api.config.v1.Audit map: fields: - - name: annotations - type: - map: - elementType: - scalar: string - - name: creationTimestamp - type: - namedType: Time.v1.meta.apis.pkg.apimachinery.k8s.io - - name: deletionGracePeriodSeconds - type: - scalar: numeric - - name: deletionTimestamp - type: - namedType: Time.v1.meta.apis.pkg.apimachinery.k8s.io - - name: finalizers + - name: customRules type: list: elementType: - scalar: string + namedType: com.github.openshift.api.config.v1.AuditCustomRule elementRelationship: associative - - name: generateName + keys: + - group + - name: profile type: scalar: string - - name: generation - type: - scalar: numeric - - name: labels +- name: com.github.openshift.api.config.v1.AuditCustomRule + map: + fields: + - name: group type: - map: - elementType: - scalar: string - - name: managedFields + scalar: string + default: "" + - name: profile type: - list: - elementType: - namedType: ManagedFieldsEntry.v1.meta.apis.pkg.apimachinery.k8s.io - elementRelationship: atomic - - name: name + scalar: string + default: "" +- name: com.github.openshift.api.config.v1.Authentication + map: + fields: + - name: apiVersion type: scalar: string - - name: namespace + - name: kind type: scalar: string - - name: ownerReferences + - name: metadata type: - list: - elementType: - namedType: OwnerReference.v1.meta.apis.pkg.apimachinery.k8s.io - elementRelationship: associative - keys: - - uid - - name: resourceVersion - type: - scalar: string - - name: selfLink - type: - scalar: string - - name: uid - type: - scalar: string -- name: OwnerReference.v1.meta.apis.pkg.apimachinery.k8s.io - map: - fields: - - name: apiVersion - type: - scalar: string - default: "" - - name: blockOwnerDeletion - type: - scalar: boolean - - name: controller - type: - scalar: boolean - - name: kind - type: - scalar: string - default: "" - - name: name - type: - scalar: string - default: "" - - name: uid - type: - scalar: string - default: "" - elementRelationship: atomic -- name: PersistentVolumeClaim.v1.core.api.k8s.io - map: - fields: - - name: apiVersion - type: - scalar: string - - name: kind - type: - scalar: string - - name: metadata - type: - namedType: ObjectMeta.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta default: {} - name: spec type: - namedType: PersistentVolumeClaimSpec.v1.core.api.k8s.io + namedType: com.github.openshift.api.config.v1.AuthenticationSpec default: {} - name: status type: - namedType: PersistentVolumeClaimStatus.v1.core.api.k8s.io + namedType: com.github.openshift.api.config.v1.AuthenticationStatus default: {} -- name: PersistentVolumeClaimCondition.v1.core.api.k8s.io +- name: com.github.openshift.api.config.v1.AuthenticationSpec map: fields: - - name: lastProbeTime - type: - namedType: Time.v1.meta.apis.pkg.apimachinery.k8s.io - - name: lastTransitionTime - type: - namedType: Time.v1.meta.apis.pkg.apimachinery.k8s.io - - name: message + - name: oauthMetadata type: - scalar: string - - name: reason + namedType: com.github.openshift.api.config.v1.ConfigMapNameReference + default: {} + - name: oidcProviders type: - scalar: string - - name: status + list: + elementType: + namedType: com.github.openshift.api.config.v1.OIDCProvider + elementRelationship: associative + keys: + - name + - name: serviceAccountIssuer type: scalar: string default: "" @@ -338,85 +315,32 @@ var schemaYAML = typed.YAMLObject(`types: type: scalar: string default: "" -- name: PersistentVolumeClaimSpec.v1.core.api.k8s.io - map: - fields: - - name: accessModes + - name: webhookTokenAuthenticator + type: + namedType: com.github.openshift.api.config.v1.WebhookTokenAuthenticator + - name: webhookTokenAuthenticators type: list: elementType: - scalar: string + namedType: com.github.openshift.api.config.v1.DeprecatedWebhookTokenAuthenticator elementRelationship: atomic - - name: dataSource - type: - namedType: TypedLocalObjectReference.v1.core.api.k8s.io - - name: dataSourceRef - type: - namedType: TypedObjectReference.v1.core.api.k8s.io - - name: resources - type: - namedType: VolumeResourceRequirements.v1.core.api.k8s.io - default: {} - - name: selector - type: - namedType: LabelSelector.v1.meta.apis.pkg.apimachinery.k8s.io - - name: storageClassName - type: - scalar: string - - name: volumeAttributesClassName - type: - scalar: string - - name: volumeMode - type: - scalar: string - - name: volumeName - type: - scalar: string -- name: PersistentVolumeClaimStatus.v1.core.api.k8s.io +- name: com.github.openshift.api.config.v1.AuthenticationStatus map: fields: - - name: accessModes - type: - list: - elementType: - scalar: string - elementRelationship: atomic - - name: allocatedResourceStatuses - type: - map: - elementType: - scalar: string - elementRelationship: separable - - name: allocatedResources - type: - map: - elementType: - namedType: Quantity.resource.api.pkg.apimachinery.k8s.io - - name: capacity + - name: integratedOAuthMetadata type: - map: - elementType: - namedType: Quantity.resource.api.pkg.apimachinery.k8s.io - - name: conditions + namedType: com.github.openshift.api.config.v1.ConfigMapNameReference + default: {} + - name: oidcClients type: list: elementType: - namedType: PersistentVolumeClaimCondition.v1.core.api.k8s.io + namedType: com.github.openshift.api.config.v1.OIDCClientStatus elementRelationship: associative keys: - - type - - name: currentVolumeAttributesClassName - type: - scalar: string - - name: modifyVolumeStatus - type: - namedType: ModifyVolumeStatus.v1.core.api.k8s.io - - name: phase - type: - scalar: string -- name: Quantity.resource.api.pkg.apimachinery.k8s.io - scalar: string -- name: RawExtension.runtime.pkg.apimachinery.k8s.io + - componentNamespace + - componentName +- name: com.github.openshift.api.config.v1.AzurePlatformSpec map: elementType: scalar: untyped @@ -428,165 +352,136 @@ var schemaYAML = typed.YAMLObject(`types: elementType: namedType: __untyped_deduced_ elementRelationship: separable -- name: ResourceClaim.v1.core.api.k8s.io +- name: com.github.openshift.api.config.v1.AzurePlatformStatus map: fields: - - name: name + - name: armEndpoint type: scalar: string - default: "" - - name: request + - name: cloudLoadBalancerConfig + type: + namedType: com.github.openshift.api.config.v1.CloudLoadBalancerConfig + default: + dnsType: PlatformDefault + - name: cloudName type: scalar: string -- name: ResourceFieldSelector.v1.core.api.k8s.io - map: - fields: - - name: containerName + - name: ipFamily type: scalar: string - - name: divisor + default: IPv4 + - name: networkResourceGroupName type: - namedType: Quantity.resource.api.pkg.apimachinery.k8s.io - - name: resource + scalar: string + - name: resourceGroupName type: scalar: string default: "" - elementRelationship: atomic -- name: ResourceRequirements.v1.core.api.k8s.io - map: - fields: - - name: claims + - name: resourceTags type: list: elementType: - namedType: ResourceClaim.v1.core.api.k8s.io - elementRelationship: associative - keys: - - name - - name: limits - type: - map: - elementType: - namedType: Quantity.resource.api.pkg.apimachinery.k8s.io - - name: requests - type: - map: - elementType: - namedType: Quantity.resource.api.pkg.apimachinery.k8s.io -- name: SecretKeySelector.v1.core.api.k8s.io + namedType: com.github.openshift.api.config.v1.AzureResourceTag + elementRelationship: atomic +- name: com.github.openshift.api.config.v1.AzureResourceTag map: fields: - name: key type: scalar: string default: "" - - name: name + - name: value type: scalar: string default: "" - - name: optional - type: - scalar: boolean - elementRelationship: atomic -- name: Time.v1.meta.apis.pkg.apimachinery.k8s.io - scalar: untyped -- name: Toleration.v1.core.api.k8s.io +- name: com.github.openshift.api.config.v1.BareMetalPlatformLoadBalancer map: fields: - - name: effect - type: - scalar: string - - name: key - type: - scalar: string - - name: operator - type: - scalar: string - - name: tolerationSeconds - type: - scalar: numeric - - name: value + - name: type type: scalar: string -- name: TopologySpreadConstraint.v1.core.api.k8s.io + default: OpenShiftManagedDefault + unions: + - discriminator: type +- name: com.github.openshift.api.config.v1.BareMetalPlatformSpec map: fields: - - name: labelSelector - type: - namedType: LabelSelector.v1.meta.apis.pkg.apimachinery.k8s.io - - name: matchLabelKeys + - name: apiServerInternalIPs type: list: elementType: scalar: string elementRelationship: atomic - - name: maxSkew + - name: ingressIPs type: - scalar: numeric - default: 0 - - name: minDomains + list: + elementType: + scalar: string + elementRelationship: atomic + - name: machineNetworks type: - scalar: numeric - - name: nodeAffinityPolicy + list: + elementType: + scalar: string + elementRelationship: atomic +- name: com.github.openshift.api.config.v1.BareMetalPlatformStatus + map: + fields: + - name: apiServerInternalIP type: scalar: string - - name: nodeTaintsPolicy + - name: apiServerInternalIPs type: - scalar: string - - name: topologyKey + list: + elementType: + scalar: string + elementRelationship: atomic + - name: dnsRecordsType type: scalar: string - default: "" - - name: whenUnsatisfiable + - name: ingressIP type: scalar: string - default: "" -- name: TypedLocalObjectReference.v1.core.api.k8s.io - map: - fields: - - name: apiGroup + - name: ingressIPs type: - scalar: string - - name: kind + list: + elementType: + scalar: string + elementRelationship: atomic + - name: loadBalancer type: - scalar: string - default: "" - - name: name + namedType: com.github.openshift.api.config.v1.BareMetalPlatformLoadBalancer + default: + type: OpenShiftManagedDefault + - name: machineNetworks + type: + list: + elementType: + scalar: string + elementRelationship: atomic + - name: nodeDNSIP type: scalar: string - default: "" - elementRelationship: atomic -- name: TypedObjectReference.v1.core.api.k8s.io +- name: com.github.openshift.api.config.v1.BasicAuthIdentityProvider map: fields: - - name: apiGroup + - name: ca type: - scalar: string - - name: kind + namedType: com.github.openshift.api.config.v1.ConfigMapNameReference + default: {} + - name: tlsClientCert type: - scalar: string - default: "" - - name: name + namedType: com.github.openshift.api.config.v1.SecretNameReference + default: {} + - name: tlsClientKey type: - scalar: string - default: "" - - name: namespace + namedType: com.github.openshift.api.config.v1.SecretNameReference + default: {} + - name: url type: scalar: string -- name: VolumeResourceRequirements.v1.core.api.k8s.io - map: - fields: - - name: limits - type: - map: - elementType: - namedType: Quantity.resource.api.pkg.apimachinery.k8s.io - - name: requests - type: - map: - elementType: - namedType: Quantity.resource.api.pkg.apimachinery.k8s.io -- name: com.github.openshift.api.config.v1.APIServer + default: "" +- name: com.github.openshift.api.config.v1.Build map: fields: - name: apiVersion @@ -597,244 +492,198 @@ var schemaYAML = typed.YAMLObject(`types: scalar: string - name: metadata type: - namedType: ObjectMeta.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta default: {} - name: spec type: - namedType: com.github.openshift.api.config.v1.APIServerSpec - default: {} - - name: status - type: - namedType: com.github.openshift.api.config.v1.APIServerStatus + namedType: com.github.openshift.api.config.v1.BuildSpec default: {} -- name: com.github.openshift.api.config.v1.APIServerEncryption +- name: com.github.openshift.api.config.v1.BuildDefaults map: fields: - - name: kms + - name: defaultProxy type: - namedType: com.github.openshift.api.config.v1.KMSPluginConfig - default: {} - - name: type + namedType: com.github.openshift.api.config.v1.ProxySpec + - name: env type: - scalar: string - unions: - - discriminator: type - fields: - - fieldName: kms - discriminatorValue: KMS -- name: com.github.openshift.api.config.v1.APIServerNamedServingCert - map: - fields: - - name: names + list: + elementType: + namedType: io.k8s.api.core.v1.EnvVar + elementRelationship: atomic + - name: gitProxy + type: + namedType: com.github.openshift.api.config.v1.ProxySpec + - name: imageLabels type: list: elementType: - scalar: string + namedType: com.github.openshift.api.config.v1.ImageLabel elementRelationship: atomic - - name: servingCertificate + - name: resources type: - namedType: com.github.openshift.api.config.v1.SecretNameReference + namedType: io.k8s.api.core.v1.ResourceRequirements default: {} -- name: com.github.openshift.api.config.v1.APIServerServingCerts +- name: com.github.openshift.api.config.v1.BuildOverrides map: fields: - - name: namedCertificates + - name: forcePull + type: + scalar: boolean + - name: imageLabels type: list: elementType: - namedType: com.github.openshift.api.config.v1.APIServerNamedServingCert + namedType: com.github.openshift.api.config.v1.ImageLabel elementRelationship: atomic -- name: com.github.openshift.api.config.v1.APIServerSpec - map: - fields: - - name: additionalCORSAllowedOrigins + - name: nodeSelector type: - list: + map: elementType: scalar: string - elementRelationship: atomic - - name: audit + - name: tolerations type: - namedType: com.github.openshift.api.config.v1.Audit - default: {} - - name: clientCA + list: + elementType: + namedType: io.k8s.api.core.v1.Toleration + elementRelationship: atomic +- name: com.github.openshift.api.config.v1.BuildSpec + map: + fields: + - name: additionalTrustedCA type: namedType: com.github.openshift.api.config.v1.ConfigMapNameReference default: {} - - name: encryption + - name: buildDefaults type: - namedType: com.github.openshift.api.config.v1.APIServerEncryption + namedType: com.github.openshift.api.config.v1.BuildDefaults default: {} - - name: servingCerts + - name: buildOverrides type: - namedType: com.github.openshift.api.config.v1.APIServerServingCerts + namedType: com.github.openshift.api.config.v1.BuildOverrides default: {} - - name: tlsAdherence - type: - scalar: string - - name: tlsSecurityProfile - type: - namedType: com.github.openshift.api.config.v1.TLSSecurityProfile -- name: com.github.openshift.api.config.v1.APIServerStatus - map: - elementType: - scalar: untyped - list: - elementType: - namedType: __untyped_atomic_ - elementRelationship: atomic - map: - elementType: - namedType: __untyped_deduced_ - elementRelationship: separable -- name: com.github.openshift.api.config.v1.AWSDNSSpec +- name: com.github.openshift.api.config.v1.CRIOCredentialProviderConfig map: fields: - - name: privateZoneIAMRole + - name: apiVersion type: scalar: string - default: "" -- name: com.github.openshift.api.config.v1.AWSIngressSpec - map: - fields: - - name: type + - name: kind type: scalar: string - default: "" - unions: - - discriminator: type -- name: com.github.openshift.api.config.v1.AWSPlatformSpec + - name: metadata + type: + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta + default: {} + - name: spec + type: + namedType: com.github.openshift.api.config.v1.CRIOCredentialProviderConfigSpec + - name: status + type: + namedType: com.github.openshift.api.config.v1.CRIOCredentialProviderConfigStatus + default: {} +- name: com.github.openshift.api.config.v1.CRIOCredentialProviderConfigSpec map: fields: - - name: serviceEndpoints + - name: matchImages type: list: elementType: - namedType: com.github.openshift.api.config.v1.AWSServiceEndpoint - elementRelationship: atomic -- name: com.github.openshift.api.config.v1.AWSPlatformStatus + scalar: string + elementRelationship: associative +- name: com.github.openshift.api.config.v1.CRIOCredentialProviderConfigStatus map: fields: - - name: cloudLoadBalancerConfig - type: - namedType: com.github.openshift.api.config.v1.CloudLoadBalancerConfig - default: - dnsType: PlatformDefault - - name: ipFamily + - name: conditions type: - scalar: string - default: IPv4 - - name: region + list: + elementType: + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.Condition + elementRelationship: associative + keys: + - type +- name: com.github.openshift.api.config.v1.ClientCredentialConfig + map: + fields: + - name: clientID type: scalar: string - default: "" - - name: resourceTags + - name: clientSecret type: - list: - elementType: - namedType: com.github.openshift.api.config.v1.AWSResourceTag - elementRelationship: atomic - - name: serviceEndpoints + namedType: com.github.openshift.api.config.v1.ClientSecretSecretReference + default: {} + - name: scopes type: list: elementType: - namedType: com.github.openshift.api.config.v1.AWSServiceEndpoint - elementRelationship: atomic -- name: com.github.openshift.api.config.v1.AWSResourceTag - map: - fields: - - name: key + scalar: string + elementRelationship: associative + - name: tls type: - scalar: string - default: "" - - name: value + namedType: com.github.openshift.api.config.v1.ExternalSourceTLS + default: {} + - name: tokenEndpoint type: scalar: string - default: "" -- name: com.github.openshift.api.config.v1.AWSServiceEndpoint +- name: com.github.openshift.api.config.v1.ClientSecretSecretReference map: fields: - name: name type: scalar: string - default: "" - - name: url +- name: com.github.openshift.api.config.v1.CloudControllerManagerStatus + map: + fields: + - name: state type: scalar: string default: "" -- name: com.github.openshift.api.config.v1.AcceptRisk +- name: com.github.openshift.api.config.v1.CloudLoadBalancerConfig map: fields: - - name: name + - name: clusterHosted + type: + namedType: com.github.openshift.api.config.v1.CloudLoadBalancerIPs + - name: dnsType type: scalar: string -- name: com.github.openshift.api.config.v1.AlibabaCloudPlatformSpec - map: - elementType: - scalar: untyped - list: - elementType: - namedType: __untyped_atomic_ - elementRelationship: atomic - map: - elementType: - namedType: __untyped_deduced_ - elementRelationship: separable -- name: com.github.openshift.api.config.v1.AlibabaCloudPlatformStatus + default: PlatformDefault + unions: + - discriminator: dnsType + fields: + - fieldName: clusterHosted + discriminatorValue: ClusterHosted +- name: com.github.openshift.api.config.v1.CloudLoadBalancerIPs map: fields: - - name: region - type: - scalar: string - default: "" - - name: resourceGroupID - type: - scalar: string - - name: resourceTags + - name: apiIntLoadBalancerIPs type: list: elementType: - namedType: com.github.openshift.api.config.v1.AlibabaCloudResourceTag + scalar: string elementRelationship: associative - keys: - - key -- name: com.github.openshift.api.config.v1.AlibabaCloudResourceTag - map: - fields: - - name: key - type: - scalar: string - default: "" - - name: value - type: - scalar: string - default: "" -- name: com.github.openshift.api.config.v1.Audit - map: - fields: - - name: customRules + - name: apiLoadBalancerIPs type: list: elementType: - namedType: com.github.openshift.api.config.v1.AuditCustomRule + scalar: string elementRelationship: associative - keys: - - group - - name: profile + - name: ingressLoadBalancerIPs type: - scalar: string -- name: com.github.openshift.api.config.v1.AuditCustomRule + list: + elementType: + scalar: string + elementRelationship: associative +- name: com.github.openshift.api.config.v1.ClusterCondition map: fields: - - name: group + - name: promql type: - scalar: string - default: "" - - name: profile + namedType: com.github.openshift.api.config.v1.PromQLClusterCondition + - name: type type: scalar: string default: "" -- name: com.github.openshift.api.config.v1.Authentication +- name: com.github.openshift.api.config.v1.ClusterImagePolicy map: fields: - name: apiVersion @@ -845,65 +694,72 @@ var schemaYAML = typed.YAMLObject(`types: scalar: string - name: metadata type: - namedType: ObjectMeta.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta default: {} - name: spec type: - namedType: com.github.openshift.api.config.v1.AuthenticationSpec + namedType: com.github.openshift.api.config.v1.ClusterImagePolicySpec default: {} - name: status type: - namedType: com.github.openshift.api.config.v1.AuthenticationStatus + namedType: com.github.openshift.api.config.v1.ClusterImagePolicyStatus default: {} -- name: com.github.openshift.api.config.v1.AuthenticationSpec +- name: com.github.openshift.api.config.v1.ClusterImagePolicySpec map: fields: - - name: oauthMetadata + - name: policy type: - namedType: com.github.openshift.api.config.v1.ConfigMapNameReference + namedType: com.github.openshift.api.config.v1.ImageSigstoreVerificationPolicy default: {} - - name: oidcProviders + - name: scopes type: list: elementType: - namedType: com.github.openshift.api.config.v1.OIDCProvider + scalar: string + elementRelationship: associative +- name: com.github.openshift.api.config.v1.ClusterImagePolicyStatus + map: + fields: + - name: conditions + type: + list: + elementType: + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.Condition elementRelationship: associative keys: - - name - - name: serviceAccountIssuer + - type +- name: com.github.openshift.api.config.v1.ClusterNetworkEntry + map: + fields: + - name: cidr type: scalar: string default: "" - - name: type + - name: hostPrefix + type: + scalar: numeric +- name: com.github.openshift.api.config.v1.ClusterOperator + map: + fields: + - name: apiVersion type: scalar: string - default: "" - - name: webhookTokenAuthenticator + - name: kind type: - namedType: com.github.openshift.api.config.v1.WebhookTokenAuthenticator - - name: webhookTokenAuthenticators + scalar: string + - name: metadata type: - list: - elementType: - namedType: com.github.openshift.api.config.v1.DeprecatedWebhookTokenAuthenticator - elementRelationship: atomic -- name: com.github.openshift.api.config.v1.AuthenticationStatus - map: - fields: - - name: integratedOAuthMetadata + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta + default: {} + - name: spec type: - namedType: com.github.openshift.api.config.v1.ConfigMapNameReference + namedType: com.github.openshift.api.config.v1.ClusterOperatorSpec default: {} - - name: oidcClients + - name: status type: - list: - elementType: - namedType: com.github.openshift.api.config.v1.OIDCClientStatus - elementRelationship: associative - keys: - - componentNamespace - - componentName -- name: com.github.openshift.api.config.v1.AzurePlatformSpec + namedType: com.github.openshift.api.config.v1.ClusterOperatorStatus + default: {} +- name: com.github.openshift.api.config.v1.ClusterOperatorSpec map: elementType: scalar: untyped @@ -915,432 +771,436 @@ var schemaYAML = typed.YAMLObject(`types: elementType: namedType: __untyped_deduced_ elementRelationship: separable -- name: com.github.openshift.api.config.v1.AzurePlatformStatus +- name: com.github.openshift.api.config.v1.ClusterOperatorStatus map: fields: - - name: armEndpoint - type: - scalar: string - - name: cloudLoadBalancerConfig - type: - namedType: com.github.openshift.api.config.v1.CloudLoadBalancerConfig - default: - dnsType: PlatformDefault - - name: cloudName - type: - scalar: string - - name: ipFamily + - name: conditions type: - scalar: string - default: IPv4 - - name: networkResourceGroupName + list: + elementType: + namedType: com.github.openshift.api.config.v1.ClusterOperatorStatusCondition + elementRelationship: associative + keys: + - type + - name: extension type: - scalar: string - - name: resourceGroupName + namedType: __untyped_atomic_ + - name: relatedObjects type: - scalar: string - default: "" - - name: resourceTags + list: + elementType: + namedType: com.github.openshift.api.config.v1.ObjectReference + elementRelationship: atomic + - name: versions type: list: elementType: - namedType: com.github.openshift.api.config.v1.AzureResourceTag + namedType: com.github.openshift.api.config.v1.OperandVersion elementRelationship: atomic -- name: com.github.openshift.api.config.v1.AzureResourceTag +- name: com.github.openshift.api.config.v1.ClusterOperatorStatusCondition map: fields: - - name: key + - name: lastTransitionTime + type: + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.Time + - name: message + type: + scalar: string + - name: reason + type: + scalar: string + - name: status type: scalar: string default: "" - - name: value + - name: type type: scalar: string default: "" -- name: com.github.openshift.api.config.v1.BareMetalPlatformLoadBalancer +- name: com.github.openshift.api.config.v1.ClusterVersion map: fields: - - name: type + - name: apiVersion type: scalar: string - default: OpenShiftManagedDefault - unions: - - discriminator: type -- name: com.github.openshift.api.config.v1.BareMetalPlatformSpec + - name: kind + type: + scalar: string + - name: metadata + type: + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta + default: {} + - name: spec + type: + namedType: com.github.openshift.api.config.v1.ClusterVersionSpec + default: {} + - name: status + type: + namedType: com.github.openshift.api.config.v1.ClusterVersionStatus + default: {} +- name: com.github.openshift.api.config.v1.ClusterVersionCapabilitiesSpec map: fields: - - name: apiServerInternalIPs + - name: additionalEnabledCapabilities type: list: elementType: scalar: string elementRelationship: atomic - - name: ingressIPs + - name: baselineCapabilitySet + type: + scalar: string +- name: com.github.openshift.api.config.v1.ClusterVersionCapabilitiesStatus + map: + fields: + - name: enabledCapabilities type: list: elementType: scalar: string elementRelationship: atomic - - name: machineNetworks + - name: knownCapabilities type: list: elementType: scalar: string elementRelationship: atomic -- name: com.github.openshift.api.config.v1.BareMetalPlatformStatus +- name: com.github.openshift.api.config.v1.ClusterVersionSpec map: fields: - - name: apiServerInternalIP - type: - scalar: string - - name: apiServerInternalIPs + - name: capabilities type: - list: - elementType: - scalar: string - elementRelationship: atomic - - name: dnsRecordsType + namedType: com.github.openshift.api.config.v1.ClusterVersionCapabilitiesSpec + - name: channel type: scalar: string - - name: ingressIP + - name: clusterID type: scalar: string - - name: ingressIPs + default: "" + - name: desiredUpdate + type: + namedType: com.github.openshift.api.config.v1.Update + - name: overrides type: list: elementType: - scalar: string - elementRelationship: atomic - - name: loadBalancer - type: - namedType: com.github.openshift.api.config.v1.BareMetalPlatformLoadBalancer - default: - type: OpenShiftManagedDefault - - name: machineNetworks + namedType: com.github.openshift.api.config.v1.ComponentOverride + elementRelationship: associative + keys: + - kind + - group + - namespace + - name + - name: signatureStores type: list: elementType: - scalar: string - elementRelationship: atomic - - name: nodeDNSIP + namedType: com.github.openshift.api.config.v1.SignatureStore + elementRelationship: associative + keys: + - url + - name: upstream type: scalar: string -- name: com.github.openshift.api.config.v1.BasicAuthIdentityProvider +- name: com.github.openshift.api.config.v1.ClusterVersionStatus map: fields: - - name: ca - type: - namedType: com.github.openshift.api.config.v1.ConfigMapNameReference - default: {} - - name: tlsClientCert - type: - namedType: com.github.openshift.api.config.v1.SecretNameReference - default: {} - - name: tlsClientKey - type: - namedType: com.github.openshift.api.config.v1.SecretNameReference - default: {} - - name: url - type: - scalar: string - default: "" -- name: com.github.openshift.api.config.v1.Build - map: - fields: - - name: apiVersion - type: - scalar: string - - name: kind - type: - scalar: string - - name: metadata - type: - namedType: ObjectMeta.v1.meta.apis.pkg.apimachinery.k8s.io - default: {} - - name: spec - type: - namedType: com.github.openshift.api.config.v1.BuildSpec - default: {} -- name: com.github.openshift.api.config.v1.BuildDefaults - map: - fields: - - name: defaultProxy - type: - namedType: com.github.openshift.api.config.v1.ProxySpec - - name: env + - name: availableUpdates type: list: elementType: - namedType: EnvVar.v1.core.api.k8s.io + namedType: com.github.openshift.api.config.v1.Release elementRelationship: atomic - - name: gitProxy + - name: capabilities type: - namedType: com.github.openshift.api.config.v1.ProxySpec - - name: imageLabels + namedType: com.github.openshift.api.config.v1.ClusterVersionCapabilitiesStatus + default: {} + - name: conditionalUpdateRisks type: list: elementType: - namedType: com.github.openshift.api.config.v1.ImageLabel - elementRelationship: atomic - - name: resources - type: - namedType: ResourceRequirements.v1.core.api.k8s.io - default: {} -- name: com.github.openshift.api.config.v1.BuildOverrides - map: - fields: - - name: forcePull - type: - scalar: boolean - - name: imageLabels + namedType: com.github.openshift.api.config.v1.ConditionalUpdateRisk + elementRelationship: associative + keys: + - name + - name: conditionalUpdates type: list: elementType: - namedType: com.github.openshift.api.config.v1.ImageLabel + namedType: com.github.openshift.api.config.v1.ConditionalUpdate elementRelationship: atomic - - name: nodeSelector + - name: conditions type: - map: + list: elementType: - scalar: string - - name: tolerations + namedType: com.github.openshift.api.config.v1.ClusterOperatorStatusCondition + elementRelationship: associative + keys: + - type + - name: desired + type: + namedType: com.github.openshift.api.config.v1.Release + default: {} + - name: history type: list: elementType: - namedType: Toleration.v1.core.api.k8s.io + namedType: com.github.openshift.api.config.v1.UpdateHistory elementRelationship: atomic -- name: com.github.openshift.api.config.v1.BuildSpec - map: - fields: - - name: additionalTrustedCA - type: - namedType: com.github.openshift.api.config.v1.ConfigMapNameReference - default: {} - - name: buildDefaults + - name: observedGeneration type: - namedType: com.github.openshift.api.config.v1.BuildDefaults - default: {} - - name: buildOverrides + scalar: numeric + default: 0 + - name: versionHash type: - namedType: com.github.openshift.api.config.v1.BuildOverrides - default: {} -- name: com.github.openshift.api.config.v1.ClientCredentialConfig + scalar: string + default: "" +- name: com.github.openshift.api.config.v1.ComponentOverride map: fields: - - name: clientID + - name: group type: scalar: string - - name: clientSecret - type: - namedType: com.github.openshift.api.config.v1.ClientSecretSecretReference - default: {} - - name: scopes - type: - list: - elementType: - scalar: string - elementRelationship: associative - - name: tls - type: - namedType: com.github.openshift.api.config.v1.ExternalSourceTLS - default: {} - - name: tokenEndpoint + default: "" + - name: kind type: scalar: string -- name: com.github.openshift.api.config.v1.ClientSecretSecretReference - map: - fields: + default: "" - name: name type: scalar: string -- name: com.github.openshift.api.config.v1.CloudControllerManagerStatus - map: - fields: - - name: state + default: "" + - name: namespace type: scalar: string default: "" -- name: com.github.openshift.api.config.v1.CloudLoadBalancerConfig + - name: unmanaged + type: + scalar: boolean + default: false +- name: com.github.openshift.api.config.v1.ComponentRouteSpec map: fields: - - name: clusterHosted + - name: hostname type: - namedType: com.github.openshift.api.config.v1.CloudLoadBalancerIPs - - name: dnsType + scalar: string + default: "" + - name: name type: scalar: string - default: PlatformDefault - unions: - - discriminator: dnsType - fields: - - fieldName: clusterHosted - discriminatorValue: ClusterHosted -- name: com.github.openshift.api.config.v1.CloudLoadBalancerIPs + default: "" + - name: namespace + type: + scalar: string + default: "" + - name: servingCertKeyPairSecret + type: + namedType: com.github.openshift.api.config.v1.SecretNameReference + default: {} +- name: com.github.openshift.api.config.v1.ComponentRouteStatus map: fields: - - name: apiIntLoadBalancerIPs + - name: conditions type: list: elementType: - scalar: string + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.Condition elementRelationship: associative - - name: apiLoadBalancerIPs + keys: + - type + - name: consumingUsers type: list: elementType: scalar: string - elementRelationship: associative - - name: ingressLoadBalancerIPs + elementRelationship: atomic + - name: currentHostnames type: list: elementType: scalar: string - elementRelationship: associative -- name: com.github.openshift.api.config.v1.ClusterCondition - map: - fields: - - name: promql - type: - namedType: com.github.openshift.api.config.v1.PromQLClusterCondition - - name: type + elementRelationship: atomic + - name: defaultHostname type: scalar: string default: "" -- name: com.github.openshift.api.config.v1.ClusterImagePolicy - map: - fields: - - name: apiVersion + - name: name type: scalar: string - - name: kind + default: "" + - name: namespace type: scalar: string - - name: metadata - type: - namedType: ObjectMeta.v1.meta.apis.pkg.apimachinery.k8s.io - default: {} - - name: spec - type: - namedType: com.github.openshift.api.config.v1.ClusterImagePolicySpec - default: {} - - name: status + default: "" + - name: relatedObjects type: - namedType: com.github.openshift.api.config.v1.ClusterImagePolicyStatus - default: {} -- name: com.github.openshift.api.config.v1.ClusterImagePolicySpec + list: + elementType: + namedType: com.github.openshift.api.config.v1.ObjectReference + elementRelationship: atomic +- name: com.github.openshift.api.config.v1.ConditionalUpdate map: fields: - - name: policy + - name: conditions type: - namedType: com.github.openshift.api.config.v1.ImageSigstoreVerificationPolicy + list: + elementType: + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.Condition + elementRelationship: associative + keys: + - type + - name: release + type: + namedType: com.github.openshift.api.config.v1.Release default: {} - - name: scopes + - name: riskNames type: list: elementType: scalar: string elementRelationship: associative -- name: com.github.openshift.api.config.v1.ClusterImagePolicyStatus + - name: risks + type: + list: + elementType: + namedType: com.github.openshift.api.config.v1.ConditionalUpdateRisk + elementRelationship: associative + keys: + - name +- name: com.github.openshift.api.config.v1.ConditionalUpdateRisk map: fields: - name: conditions type: list: elementType: - namedType: Condition.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.Condition elementRelationship: associative keys: - type -- name: com.github.openshift.api.config.v1.ClusterNetworkEntry - map: - fields: - - name: cidr + - name: matchingRules + type: + list: + elementType: + namedType: com.github.openshift.api.config.v1.ClusterCondition + elementRelationship: atomic + - name: message type: scalar: string default: "" - - name: hostPrefix + - name: name type: - scalar: numeric -- name: com.github.openshift.api.config.v1.ClusterOperator + scalar: string + default: "" + - name: url + type: + scalar: string + default: "" +- name: com.github.openshift.api.config.v1.ConfigMapFileReference map: fields: - - name: apiVersion + - name: key type: scalar: string - - name: kind + - name: name type: scalar: string - - name: metadata + default: "" +- name: com.github.openshift.api.config.v1.ConfigMapNameReference + map: + fields: + - name: name type: - namedType: ObjectMeta.v1.meta.apis.pkg.apimachinery.k8s.io + scalar: string + default: "" +- name: com.github.openshift.api.config.v1.Console + map: + fields: + - name: apiVersion + type: + scalar: string + - name: kind + type: + scalar: string + - name: metadata + type: + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta default: {} - name: spec type: - namedType: com.github.openshift.api.config.v1.ClusterOperatorSpec + namedType: com.github.openshift.api.config.v1.ConsoleSpec default: {} - name: status type: - namedType: com.github.openshift.api.config.v1.ClusterOperatorStatus + namedType: com.github.openshift.api.config.v1.ConsoleStatus default: {} -- name: com.github.openshift.api.config.v1.ClusterOperatorSpec +- name: com.github.openshift.api.config.v1.ConsoleAuthentication map: - elementType: - scalar: untyped - list: - elementType: - namedType: __untyped_atomic_ - elementRelationship: atomic - map: - elementType: - namedType: __untyped_deduced_ - elementRelationship: separable -- name: com.github.openshift.api.config.v1.ClusterOperatorStatus + fields: + - name: logoutRedirect + type: + scalar: string +- name: com.github.openshift.api.config.v1.ConsoleSpec map: fields: - - name: conditions + - name: authentication + type: + namedType: com.github.openshift.api.config.v1.ConsoleAuthentication + default: {} +- name: com.github.openshift.api.config.v1.ConsoleStatus + map: + fields: + - name: consoleURL + type: + scalar: string + default: "" +- name: com.github.openshift.api.config.v1.Custom + map: + fields: + - name: configs type: list: elementType: - namedType: com.github.openshift.api.config.v1.ClusterOperatorStatusCondition + namedType: com.github.openshift.api.config.v1.GathererConfig elementRelationship: associative keys: - - type - - name: extension - type: - namedType: RawExtension.runtime.pkg.apimachinery.k8s.io - - name: relatedObjects + - name +- name: com.github.openshift.api.config.v1.CustomFeatureGates + map: + fields: + - name: disabled type: list: elementType: - namedType: com.github.openshift.api.config.v1.ObjectReference + scalar: string elementRelationship: atomic - - name: versions + - name: enabled type: list: elementType: - namedType: com.github.openshift.api.config.v1.OperandVersion + scalar: string elementRelationship: atomic -- name: com.github.openshift.api.config.v1.ClusterOperatorStatusCondition +- name: com.github.openshift.api.config.v1.CustomTLSProfile map: fields: - - name: lastTransitionTime - type: - namedType: Time.v1.meta.apis.pkg.apimachinery.k8s.io - - name: message - type: - scalar: string - - name: reason + - name: ciphers type: - scalar: string - - name: status + list: + elementType: + scalar: string + elementRelationship: atomic + - name: groups type: - scalar: string - default: "" - - name: type + list: + elementType: + scalar: string + elementRelationship: associative + - name: minTLSVersion type: scalar: string default: "" -- name: com.github.openshift.api.config.v1.ClusterVersion +- name: com.github.openshift.api.config.v1.DNS map: fields: - name: apiVersion @@ -1351,675 +1211,663 @@ var schemaYAML = typed.YAMLObject(`types: scalar: string - name: metadata type: - namedType: ObjectMeta.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta default: {} - name: spec type: - namedType: com.github.openshift.api.config.v1.ClusterVersionSpec + namedType: com.github.openshift.api.config.v1.DNSSpec default: {} - name: status type: - namedType: com.github.openshift.api.config.v1.ClusterVersionStatus + namedType: com.github.openshift.api.config.v1.DNSStatus default: {} -- name: com.github.openshift.api.config.v1.ClusterVersionCapabilitiesSpec +- name: com.github.openshift.api.config.v1.DNSPlatformSpec map: fields: - - name: additionalEnabledCapabilities + - name: aws type: - list: - elementType: - scalar: string - elementRelationship: atomic - - name: baselineCapabilitySet + namedType: com.github.openshift.api.config.v1.AWSDNSSpec + - name: type type: scalar: string -- name: com.github.openshift.api.config.v1.ClusterVersionCapabilitiesStatus + default: "" + unions: + - discriminator: type + fields: + - fieldName: aws + discriminatorValue: AWS +- name: com.github.openshift.api.config.v1.DNSSpec map: fields: - - name: enabledCapabilities + - name: baseDomain type: - list: - elementType: - scalar: string - elementRelationship: atomic - - name: knownCapabilities + scalar: string + default: "" + - name: platform type: - list: + namedType: com.github.openshift.api.config.v1.DNSPlatformSpec + default: {} + - name: privateZone + type: + namedType: com.github.openshift.api.config.v1.DNSZone + - name: publicZone + type: + namedType: com.github.openshift.api.config.v1.DNSZone +- name: com.github.openshift.api.config.v1.DNSStatus + map: + elementType: + scalar: untyped + list: + elementType: + namedType: __untyped_atomic_ + elementRelationship: atomic + map: + elementType: + namedType: __untyped_deduced_ + elementRelationship: separable +- name: com.github.openshift.api.config.v1.DNSZone + map: + fields: + - name: id + type: + scalar: string + - name: tags + type: + map: elementType: scalar: string - elementRelationship: atomic -- name: com.github.openshift.api.config.v1.ClusterVersionSpec +- name: com.github.openshift.api.config.v1.DeprecatedWebhookTokenAuthenticator map: fields: - - name: capabilities + - name: kubeConfig type: - namedType: com.github.openshift.api.config.v1.ClusterVersionCapabilitiesSpec - - name: channel + namedType: com.github.openshift.api.config.v1.SecretNameReference + default: {} +- name: com.github.openshift.api.config.v1.EquinixMetalPlatformSpec + map: + elementType: + scalar: untyped + list: + elementType: + namedType: __untyped_atomic_ + elementRelationship: atomic + map: + elementType: + namedType: __untyped_deduced_ + elementRelationship: separable +- name: com.github.openshift.api.config.v1.EquinixMetalPlatformStatus + map: + fields: + - name: apiServerInternalIP type: scalar: string - - name: clusterID + - name: ingressIP type: scalar: string - default: "" - - name: desiredUpdate +- name: com.github.openshift.api.config.v1.ExternalClaimsSource + map: + fields: + - name: authentication type: - namedType: com.github.openshift.api.config.v1.Update - - name: overrides + namedType: com.github.openshift.api.config.v1.ExternalSourceAuthentication + default: {} + - name: mappings type: list: elementType: - namedType: com.github.openshift.api.config.v1.ComponentOverride + namedType: com.github.openshift.api.config.v1.SourcedClaimMapping elementRelationship: associative keys: - - kind - - group - - namespace - name - - name: signatureStores + - name: predicates type: list: elementType: - namedType: com.github.openshift.api.config.v1.SignatureStore + namedType: com.github.openshift.api.config.v1.ExternalSourcePredicate elementRelationship: associative keys: - - url - - name: upstream + - expression + - name: tls type: - scalar: string -- name: com.github.openshift.api.config.v1.ClusterVersionStatus + namedType: com.github.openshift.api.config.v1.ExternalSourceTLS + default: {} + - name: url + type: + namedType: com.github.openshift.api.config.v1.SourceURL + default: {} +- name: com.github.openshift.api.config.v1.ExternalIPConfig map: fields: - - name: availableUpdates + - name: autoAssignCIDRs type: list: elementType: - namedType: com.github.openshift.api.config.v1.Release + scalar: string elementRelationship: atomic - - name: capabilities - type: - namedType: com.github.openshift.api.config.v1.ClusterVersionCapabilitiesStatus - default: {} - - name: conditionalUpdateRisks + - name: policy type: - list: - elementType: - namedType: com.github.openshift.api.config.v1.ConditionalUpdateRisk - elementRelationship: associative - keys: - - name - - name: conditionalUpdates + namedType: com.github.openshift.api.config.v1.ExternalIPPolicy +- name: com.github.openshift.api.config.v1.ExternalIPPolicy + map: + fields: + - name: allowedCIDRs type: list: elementType: - namedType: com.github.openshift.api.config.v1.ConditionalUpdate + scalar: string elementRelationship: atomic - - name: conditions + - name: rejectedCIDRs type: list: elementType: - namedType: com.github.openshift.api.config.v1.ClusterOperatorStatusCondition - elementRelationship: associative - keys: - - type - - name: desired + scalar: string + elementRelationship: atomic +- name: com.github.openshift.api.config.v1.ExternalPlatformSpec + map: + fields: + - name: platformName type: - namedType: com.github.openshift.api.config.v1.Release - default: {} - - name: history + scalar: string + default: Unknown +- name: com.github.openshift.api.config.v1.ExternalPlatformStatus + map: + fields: + - name: cloudControllerManager type: - list: - elementType: - namedType: com.github.openshift.api.config.v1.UpdateHistory - elementRelationship: atomic - - name: observedGeneration + namedType: com.github.openshift.api.config.v1.CloudControllerManagerStatus + default: {} +- name: com.github.openshift.api.config.v1.ExternalSourceAuthentication + map: + fields: + - name: clientCredential type: - scalar: numeric - default: 0 - - name: versionHash + namedType: com.github.openshift.api.config.v1.ClientCredentialConfig + default: {} + - name: type type: scalar: string - default: "" -- name: com.github.openshift.api.config.v1.ComponentOverride +- name: com.github.openshift.api.config.v1.ExternalSourceCertificateAuthorityConfigMapReference map: fields: - - name: group + - name: name type: scalar: string - default: "" - - name: kind +- name: com.github.openshift.api.config.v1.ExternalSourcePredicate + map: + fields: + - name: expression type: scalar: string - default: "" - - name: name +- name: com.github.openshift.api.config.v1.ExternalSourceTLS + map: + fields: + - name: certificateAuthority + type: + namedType: com.github.openshift.api.config.v1.ExternalSourceCertificateAuthorityConfigMapReference + default: {} +- name: com.github.openshift.api.config.v1.ExtraMapping + map: + fields: + - name: key type: scalar: string default: "" - - name: namespace + - name: valueExpression type: scalar: string default: "" - - name: unmanaged - type: - scalar: boolean - default: false -- name: com.github.openshift.api.config.v1.ComponentRouteSpec +- name: com.github.openshift.api.config.v1.FeatureGate map: fields: - - name: hostname + - name: apiVersion type: scalar: string - default: "" - - name: name + - name: kind type: scalar: string - default: "" - - name: namespace + - name: metadata type: - scalar: string - default: "" - - name: servingCertKeyPairSecret + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta + default: {} + - name: spec type: - namedType: com.github.openshift.api.config.v1.SecretNameReference + namedType: com.github.openshift.api.config.v1.FeatureGateSpec default: {} -- name: com.github.openshift.api.config.v1.ComponentRouteStatus + - name: status + type: + namedType: com.github.openshift.api.config.v1.FeatureGateStatus + default: {} +- name: com.github.openshift.api.config.v1.FeatureGateAttributes map: fields: - - name: conditions + - name: name type: - list: - elementType: - namedType: Condition.v1.meta.apis.pkg.apimachinery.k8s.io - elementRelationship: associative - keys: - - type - - name: consumingUsers + scalar: string + default: "" +- name: com.github.openshift.api.config.v1.FeatureGateDetails + map: + fields: + - name: disabled type: list: elementType: - scalar: string + namedType: com.github.openshift.api.config.v1.FeatureGateAttributes elementRelationship: atomic - - name: currentHostnames + - name: enabled type: list: elementType: - scalar: string + namedType: com.github.openshift.api.config.v1.FeatureGateAttributes elementRelationship: atomic - - name: defaultHostname + - name: version type: scalar: string default: "" - - name: name +- name: com.github.openshift.api.config.v1.FeatureGateSpec + map: + fields: + - name: customNoUpgrade type: - scalar: string - default: "" - - name: namespace + namedType: com.github.openshift.api.config.v1.CustomFeatureGates + - name: featureSet type: scalar: string - default: "" - - name: relatedObjects - type: - list: - elementType: - namedType: com.github.openshift.api.config.v1.ObjectReference - elementRelationship: atomic -- name: com.github.openshift.api.config.v1.ConditionalUpdate + unions: + - discriminator: featureSet + fields: + - fieldName: customNoUpgrade + discriminatorValue: CustomNoUpgrade +- name: com.github.openshift.api.config.v1.FeatureGateStatus map: fields: - name: conditions type: list: elementType: - namedType: Condition.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.Condition elementRelationship: associative keys: - type - - name: release - type: - namedType: com.github.openshift.api.config.v1.Release - default: {} - - name: riskNames - type: - list: - elementType: - scalar: string - elementRelationship: associative - - name: risks + - name: featureGates type: list: elementType: - namedType: com.github.openshift.api.config.v1.ConditionalUpdateRisk + namedType: com.github.openshift.api.config.v1.FeatureGateDetails elementRelationship: associative keys: - - name -- name: com.github.openshift.api.config.v1.ConditionalUpdateRisk + - version +- name: com.github.openshift.api.config.v1.GCPPlatformSpec + map: + elementType: + scalar: untyped + list: + elementType: + namedType: __untyped_atomic_ + elementRelationship: atomic + map: + elementType: + namedType: __untyped_deduced_ + elementRelationship: separable +- name: com.github.openshift.api.config.v1.GCPPlatformStatus map: fields: - - name: conditions + - name: cloudLoadBalancerConfig + type: + namedType: com.github.openshift.api.config.v1.CloudLoadBalancerConfig + default: + dnsType: PlatformDefault + - name: projectID + type: + scalar: string + default: "" + - name: region + type: + scalar: string + default: "" + - name: resourceLabels type: list: elementType: - namedType: Condition.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: com.github.openshift.api.config.v1.GCPResourceLabel elementRelationship: associative keys: - - type - - name: matchingRules + - key + - name: resourceTags type: list: elementType: - namedType: com.github.openshift.api.config.v1.ClusterCondition - elementRelationship: atomic - - name: message - type: - scalar: string - default: "" - - name: name + namedType: com.github.openshift.api.config.v1.GCPResourceTag + elementRelationship: associative + keys: + - key +- name: com.github.openshift.api.config.v1.GCPResourceLabel + map: + fields: + - name: key type: scalar: string default: "" - - name: url + - name: value type: scalar: string default: "" -- name: com.github.openshift.api.config.v1.ConfigMapFileReference +- name: com.github.openshift.api.config.v1.GCPResourceTag map: fields: - name: key type: scalar: string - - name: name + default: "" + - name: parentID type: scalar: string default: "" -- name: com.github.openshift.api.config.v1.ConfigMapNameReference - map: - fields: - - name: name + - name: value type: scalar: string default: "" -- name: com.github.openshift.api.config.v1.Console +- name: com.github.openshift.api.config.v1.GatherConfig map: fields: - - name: apiVersion - type: - scalar: string - - name: kind - type: - scalar: string - - name: metadata + - name: dataPolicy type: - namedType: ObjectMeta.v1.meta.apis.pkg.apimachinery.k8s.io - default: {} - - name: spec + list: + elementType: + scalar: string + elementRelationship: atomic + - name: gatherers type: - namedType: com.github.openshift.api.config.v1.ConsoleSpec + namedType: com.github.openshift.api.config.v1.Gatherers default: {} - - name: status + - name: storage type: - namedType: com.github.openshift.api.config.v1.ConsoleStatus + namedType: com.github.openshift.api.config.v1.Storage default: {} -- name: com.github.openshift.api.config.v1.ConsoleAuthentication +- name: com.github.openshift.api.config.v1.GathererConfig map: fields: - - name: logoutRedirect + - name: name type: scalar: string -- name: com.github.openshift.api.config.v1.ConsoleSpec + - name: state + type: + scalar: string +- name: com.github.openshift.api.config.v1.Gatherers map: fields: - - name: authentication + - name: custom type: - namedType: com.github.openshift.api.config.v1.ConsoleAuthentication + namedType: com.github.openshift.api.config.v1.Custom default: {} -- name: com.github.openshift.api.config.v1.ConsoleStatus - map: - fields: - - name: consoleURL + - name: mode type: scalar: string - default: "" -- name: com.github.openshift.api.config.v1.Custom + unions: + - discriminator: mode + fields: + - fieldName: custom + discriminatorValue: Custom +- name: com.github.openshift.api.config.v1.GitHubIdentityProvider map: fields: - - name: configs + - name: ca type: - list: - elementType: - namedType: com.github.openshift.api.config.v1.GathererConfig - elementRelationship: associative - keys: - - name -- name: com.github.openshift.api.config.v1.CustomFeatureGates - map: - fields: - - name: disabled + namedType: com.github.openshift.api.config.v1.ConfigMapNameReference + default: {} + - name: clientID type: - list: - elementType: - scalar: string - elementRelationship: atomic - - name: enabled + scalar: string + default: "" + - name: clientSecret type: - list: - elementType: - scalar: string - elementRelationship: atomic -- name: com.github.openshift.api.config.v1.CustomTLSProfile - map: - fields: - - name: ciphers + namedType: com.github.openshift.api.config.v1.SecretNameReference + default: {} + - name: hostname + type: + scalar: string + default: "" + - name: organizations type: list: elementType: scalar: string elementRelationship: atomic - - name: groups + - name: teams type: list: elementType: scalar: string - elementRelationship: associative - - name: minTLSVersion - type: - scalar: string - default: "" -- name: com.github.openshift.api.config.v1.DNS + elementRelationship: atomic +- name: com.github.openshift.api.config.v1.GitLabIdentityProvider map: fields: - - name: apiVersion - type: - scalar: string - - name: kind - type: - scalar: string - - name: metadata + - name: ca type: - namedType: ObjectMeta.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: com.github.openshift.api.config.v1.ConfigMapNameReference default: {} - - name: spec + - name: clientID type: - namedType: com.github.openshift.api.config.v1.DNSSpec - default: {} - - name: status + scalar: string + default: "" + - name: clientSecret type: - namedType: com.github.openshift.api.config.v1.DNSStatus + namedType: com.github.openshift.api.config.v1.SecretNameReference default: {} -- name: com.github.openshift.api.config.v1.DNSPlatformSpec - map: - fields: - - name: aws - type: - namedType: com.github.openshift.api.config.v1.AWSDNSSpec - - name: type + - name: url type: scalar: string default: "" - unions: - - discriminator: type - fields: - - fieldName: aws - discriminatorValue: AWS -- name: com.github.openshift.api.config.v1.DNSSpec +- name: com.github.openshift.api.config.v1.GoogleIdentityProvider map: fields: - - name: baseDomain + - name: clientID type: scalar: string default: "" - - name: platform + - name: clientSecret type: - namedType: com.github.openshift.api.config.v1.DNSPlatformSpec + namedType: com.github.openshift.api.config.v1.SecretNameReference default: {} - - name: privateZone - type: - namedType: com.github.openshift.api.config.v1.DNSZone - - name: publicZone - type: - namedType: com.github.openshift.api.config.v1.DNSZone -- name: com.github.openshift.api.config.v1.DNSStatus - map: - elementType: - scalar: untyped - list: - elementType: - namedType: __untyped_atomic_ - elementRelationship: atomic - map: - elementType: - namedType: __untyped_deduced_ - elementRelationship: separable -- name: com.github.openshift.api.config.v1.DNSZone - map: - fields: - - name: id + - name: hostedDomain type: scalar: string - - name: tags - type: - map: - elementType: - scalar: string -- name: com.github.openshift.api.config.v1.DeprecatedWebhookTokenAuthenticator + default: "" +- name: com.github.openshift.api.config.v1.HTPasswdIdentityProvider map: fields: - - name: kubeConfig + - name: fileData type: namedType: com.github.openshift.api.config.v1.SecretNameReference default: {} -- name: com.github.openshift.api.config.v1.EquinixMetalPlatformSpec +- name: com.github.openshift.api.config.v1.HubSource map: - elementType: - scalar: untyped - list: - elementType: - namedType: __untyped_atomic_ - elementRelationship: atomic - map: - elementType: - namedType: __untyped_deduced_ - elementRelationship: separable -- name: com.github.openshift.api.config.v1.EquinixMetalPlatformStatus + fields: + - name: disabled + type: + scalar: boolean + default: false + - name: name + type: + scalar: string + default: "" +- name: com.github.openshift.api.config.v1.HubSourceStatus map: fields: - - name: apiServerInternalIP + - name: message type: scalar: string - - name: ingressIP + - name: status type: scalar: string -- name: com.github.openshift.api.config.v1.ExternalClaimsSource +- name: com.github.openshift.api.config.v1.IBMCloudPlatformSpec map: fields: - - name: authentication - type: - namedType: com.github.openshift.api.config.v1.ExternalSourceAuthentication - default: {} - - name: mappings + - name: serviceEndpoints type: list: elementType: - namedType: com.github.openshift.api.config.v1.SourcedClaimMapping + namedType: com.github.openshift.api.config.v1.IBMCloudServiceEndpoint elementRelationship: associative keys: - name - - name: predicates - type: - list: - elementType: - namedType: com.github.openshift.api.config.v1.ExternalSourcePredicate - elementRelationship: associative - keys: - - expression - - name: tls - type: - namedType: com.github.openshift.api.config.v1.ExternalSourceTLS - default: {} - - name: url - type: - namedType: com.github.openshift.api.config.v1.SourceURL - default: {} -- name: com.github.openshift.api.config.v1.ExternalIPConfig - map: - fields: - - name: autoAssignCIDRs - type: - list: - elementType: - scalar: string - elementRelationship: atomic - - name: policy - type: - namedType: com.github.openshift.api.config.v1.ExternalIPPolicy -- name: com.github.openshift.api.config.v1.ExternalIPPolicy - map: - fields: - - name: allowedCIDRs - type: - list: - elementType: - scalar: string - elementRelationship: atomic - - name: rejectedCIDRs - type: - list: - elementType: - scalar: string - elementRelationship: atomic -- name: com.github.openshift.api.config.v1.ExternalPlatformSpec +- name: com.github.openshift.api.config.v1.IBMCloudPlatformStatus map: fields: - - name: platformName + - name: cisInstanceCRN type: scalar: string - default: Unknown -- name: com.github.openshift.api.config.v1.ExternalPlatformStatus - map: - fields: - - name: cloudControllerManager - type: - namedType: com.github.openshift.api.config.v1.CloudControllerManagerStatus - default: {} -- name: com.github.openshift.api.config.v1.ExternalSourceAuthentication - map: - fields: - - name: clientCredential + - name: dnsInstanceCRN type: - namedType: com.github.openshift.api.config.v1.ClientCredentialConfig - default: {} - - name: type + scalar: string + - name: location type: scalar: string -- name: com.github.openshift.api.config.v1.ExternalSourceCertificateAuthorityConfigMapReference - map: - fields: - - name: name + - name: providerType type: scalar: string -- name: com.github.openshift.api.config.v1.ExternalSourcePredicate - map: - fields: - - name: expression + - name: resourceGroupName type: scalar: string -- name: com.github.openshift.api.config.v1.ExternalSourceTLS - map: - fields: - - name: certificateAuthority + - name: serviceEndpoints type: - namedType: com.github.openshift.api.config.v1.ExternalSourceCertificateAuthorityConfigMapReference - default: {} -- name: com.github.openshift.api.config.v1.ExtraMapping + list: + elementType: + namedType: com.github.openshift.api.config.v1.IBMCloudServiceEndpoint + elementRelationship: associative + keys: + - name +- name: com.github.openshift.api.config.v1.IBMCloudServiceEndpoint map: fields: - - name: key + - name: name type: scalar: string default: "" - - name: valueExpression + - name: url type: scalar: string default: "" -- name: com.github.openshift.api.config.v1.FeatureGate +- name: com.github.openshift.api.config.v1.IdentityProvider map: fields: - - name: apiVersion - type: - scalar: string - - name: kind + - name: basicAuth type: - scalar: string - - name: metadata + namedType: com.github.openshift.api.config.v1.BasicAuthIdentityProvider + - name: github type: - namedType: ObjectMeta.v1.meta.apis.pkg.apimachinery.k8s.io - default: {} - - name: spec + namedType: com.github.openshift.api.config.v1.GitHubIdentityProvider + - name: gitlab type: - namedType: com.github.openshift.api.config.v1.FeatureGateSpec - default: {} - - name: status + namedType: com.github.openshift.api.config.v1.GitLabIdentityProvider + - name: google type: - namedType: com.github.openshift.api.config.v1.FeatureGateStatus - default: {} -- name: com.github.openshift.api.config.v1.FeatureGateAttributes - map: - fields: + namedType: com.github.openshift.api.config.v1.GoogleIdentityProvider + - name: htpasswd + type: + namedType: com.github.openshift.api.config.v1.HTPasswdIdentityProvider + - name: keystone + type: + namedType: com.github.openshift.api.config.v1.KeystoneIdentityProvider + - name: ldap + type: + namedType: com.github.openshift.api.config.v1.LDAPIdentityProvider + - name: mappingMethod + type: + scalar: string - name: name type: scalar: string default: "" -- name: com.github.openshift.api.config.v1.FeatureGateDetails - map: - fields: - - name: disabled + - name: openID type: - list: - elementType: - namedType: com.github.openshift.api.config.v1.FeatureGateAttributes - elementRelationship: atomic - - name: enabled + namedType: com.github.openshift.api.config.v1.OpenIDIdentityProvider + - name: requestHeader type: - list: - elementType: - namedType: com.github.openshift.api.config.v1.FeatureGateAttributes - elementRelationship: atomic - - name: version + namedType: com.github.openshift.api.config.v1.RequestHeaderIdentityProvider + - name: type type: scalar: string default: "" -- name: com.github.openshift.api.config.v1.FeatureGateSpec +- name: com.github.openshift.api.config.v1.Image map: fields: - - name: customNoUpgrade + - name: apiVersion type: - namedType: com.github.openshift.api.config.v1.CustomFeatureGates - - name: featureSet + scalar: string + - name: kind type: scalar: string - unions: - - discriminator: featureSet - fields: - - fieldName: customNoUpgrade - discriminatorValue: CustomNoUpgrade -- name: com.github.openshift.api.config.v1.FeatureGateStatus + - name: metadata + type: + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta + default: {} + - name: spec + type: + namedType: com.github.openshift.api.config.v1.ImageSpec + default: {} + - name: status + type: + namedType: com.github.openshift.api.config.v1.ImageStatus + default: {} +- name: com.github.openshift.api.config.v1.ImageContentPolicy map: fields: - - name: conditions + - name: apiVersion + type: + scalar: string + - name: kind + type: + scalar: string + - name: metadata + type: + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta + default: {} + - name: spec + type: + namedType: com.github.openshift.api.config.v1.ImageContentPolicySpec + default: {} +- name: com.github.openshift.api.config.v1.ImageContentPolicySpec + map: + fields: + - name: repositoryDigestMirrors type: list: elementType: - namedType: Condition.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: com.github.openshift.api.config.v1.RepositoryDigestMirrors elementRelationship: associative keys: - - type - - name: featureGates + - source +- name: com.github.openshift.api.config.v1.ImageDigestMirrorSet + map: + fields: + - name: apiVersion + type: + scalar: string + - name: kind + type: + scalar: string + - name: metadata + type: + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta + default: {} + - name: spec + type: + namedType: com.github.openshift.api.config.v1.ImageDigestMirrorSetSpec + default: {} + - name: status + type: + namedType: com.github.openshift.api.config.v1.ImageDigestMirrorSetStatus + default: {} +- name: com.github.openshift.api.config.v1.ImageDigestMirrorSetSpec + map: + fields: + - name: imageDigestMirrors type: list: elementType: - namedType: com.github.openshift.api.config.v1.FeatureGateDetails - elementRelationship: associative - keys: - - version -- name: com.github.openshift.api.config.v1.GCPPlatformSpec + namedType: com.github.openshift.api.config.v1.ImageDigestMirrors + elementRelationship: atomic +- name: com.github.openshift.api.config.v1.ImageDigestMirrorSetStatus map: elementType: scalar: untyped @@ -2031,336 +1879,165 @@ var schemaYAML = typed.YAMLObject(`types: elementType: namedType: __untyped_deduced_ elementRelationship: separable -- name: com.github.openshift.api.config.v1.GCPPlatformStatus +- name: com.github.openshift.api.config.v1.ImageDigestMirrors map: fields: - - name: cloudLoadBalancerConfig - type: - namedType: com.github.openshift.api.config.v1.CloudLoadBalancerConfig - default: - dnsType: PlatformDefault - - name: projectID - type: - scalar: string - default: "" - - name: region + - name: mirrorSourcePolicy type: scalar: string - default: "" - - name: resourceLabels + - name: mirrors type: list: elementType: - namedType: com.github.openshift.api.config.v1.GCPResourceLabel + scalar: string elementRelationship: associative - keys: - - key - - name: resourceTags + - name: source type: - list: - elementType: - namedType: com.github.openshift.api.config.v1.GCPResourceTag - elementRelationship: associative - keys: - - key -- name: com.github.openshift.api.config.v1.GCPResourceLabel + scalar: string + default: "" +- name: com.github.openshift.api.config.v1.ImageLabel map: fields: - - name: key + - name: name type: scalar: string default: "" - name: value type: scalar: string - default: "" -- name: com.github.openshift.api.config.v1.GCPResourceTag +- name: com.github.openshift.api.config.v1.ImagePolicy map: fields: - - name: key - type: - scalar: string - default: "" - - name: parentID + - name: apiVersion type: scalar: string - default: "" - - name: value + - name: kind type: scalar: string - default: "" -- name: com.github.openshift.api.config.v1.GatherConfig - map: - fields: - - name: dataPolicy + - name: metadata type: - list: - elementType: - scalar: string - elementRelationship: atomic - - name: gatherers + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta + default: {} + - name: spec type: - namedType: com.github.openshift.api.config.v1.Gatherers + namedType: com.github.openshift.api.config.v1.ImagePolicySpec default: {} - - name: storage + - name: status type: - namedType: com.github.openshift.api.config.v1.Storage + namedType: com.github.openshift.api.config.v1.ImagePolicyStatus default: {} -- name: com.github.openshift.api.config.v1.GathererConfig +- name: com.github.openshift.api.config.v1.ImagePolicyFulcioCAWithRekorRootOfTrust map: fields: - - name: name + - name: fulcioCAData type: scalar: string - - name: state + - name: fulcioSubject + type: + namedType: com.github.openshift.api.config.v1.PolicyFulcioSubject + default: {} + - name: rekorKeyData type: scalar: string -- name: com.github.openshift.api.config.v1.Gatherers +- name: com.github.openshift.api.config.v1.ImagePolicyPKIRootOfTrust map: fields: - - name: custom + - name: caIntermediatesData type: - namedType: com.github.openshift.api.config.v1.Custom - default: {} - - name: mode + scalar: string + - name: caRootsData type: scalar: string - unions: - - discriminator: mode - fields: - - fieldName: custom - discriminatorValue: Custom -- name: com.github.openshift.api.config.v1.GitHubIdentityProvider + - name: pkiCertificateSubject + type: + namedType: com.github.openshift.api.config.v1.PKICertificateSubject + default: {} +- name: com.github.openshift.api.config.v1.ImagePolicyPublicKeyRootOfTrust map: fields: - - name: ca + - name: keyData type: - namedType: com.github.openshift.api.config.v1.ConfigMapNameReference - default: {} - - name: clientID + scalar: string + - name: rekorKeyData type: scalar: string - default: "" - - name: clientSecret +- name: com.github.openshift.api.config.v1.ImagePolicySpec + map: + fields: + - name: policy type: - namedType: com.github.openshift.api.config.v1.SecretNameReference + namedType: com.github.openshift.api.config.v1.ImageSigstoreVerificationPolicy default: {} - - name: hostname - type: - scalar: string - default: "" - - name: organizations + - name: scopes type: list: elementType: scalar: string - elementRelationship: atomic - - name: teams + elementRelationship: associative +- name: com.github.openshift.api.config.v1.ImagePolicyStatus + map: + fields: + - name: conditions type: list: elementType: - scalar: string - elementRelationship: atomic -- name: com.github.openshift.api.config.v1.GitLabIdentityProvider + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.Condition + elementRelationship: associative + keys: + - type +- name: com.github.openshift.api.config.v1.ImageSigstoreVerificationPolicy map: fields: - - name: ca - type: - namedType: com.github.openshift.api.config.v1.ConfigMapNameReference - default: {} - - name: clientID - type: - scalar: string - default: "" - - name: clientSecret - type: - namedType: com.github.openshift.api.config.v1.SecretNameReference - default: {} - - name: url - type: - scalar: string - default: "" -- name: com.github.openshift.api.config.v1.GoogleIdentityProvider - map: - fields: - - name: clientID - type: - scalar: string - default: "" - - name: clientSecret + - name: rootOfTrust type: - namedType: com.github.openshift.api.config.v1.SecretNameReference + namedType: com.github.openshift.api.config.v1.PolicyRootOfTrust default: {} - - name: hostedDomain + - name: signedIdentity type: - scalar: string - default: "" -- name: com.github.openshift.api.config.v1.HTPasswdIdentityProvider + namedType: com.github.openshift.api.config.v1.PolicyIdentity +- name: com.github.openshift.api.config.v1.ImageSpec map: fields: - - name: fileData + - name: additionalTrustedCA type: - namedType: com.github.openshift.api.config.v1.SecretNameReference + namedType: com.github.openshift.api.config.v1.ConfigMapNameReference default: {} -- name: com.github.openshift.api.config.v1.HubSource - map: - fields: - - name: disabled - type: - scalar: boolean - default: false - - name: name - type: - scalar: string - default: "" -- name: com.github.openshift.api.config.v1.HubSourceStatus - map: - fields: - - name: message - type: - scalar: string - - name: status - type: - scalar: string -- name: com.github.openshift.api.config.v1.IBMCloudPlatformSpec - map: - fields: - - name: serviceEndpoints + - name: allowedRegistriesForImport type: list: elementType: - namedType: com.github.openshift.api.config.v1.IBMCloudServiceEndpoint - elementRelationship: associative - keys: - - name -- name: com.github.openshift.api.config.v1.IBMCloudPlatformStatus - map: - fields: - - name: cisInstanceCRN - type: - scalar: string - - name: dnsInstanceCRN - type: - scalar: string - - name: location - type: - scalar: string - - name: providerType - type: - scalar: string - - name: resourceGroupName - type: - scalar: string - - name: serviceEndpoints + namedType: com.github.openshift.api.config.v1.RegistryLocation + elementRelationship: atomic + - name: externalRegistryHostnames type: list: elementType: - namedType: com.github.openshift.api.config.v1.IBMCloudServiceEndpoint - elementRelationship: associative - keys: - - name -- name: com.github.openshift.api.config.v1.IBMCloudServiceEndpoint - map: - fields: - - name: name - type: - scalar: string - default: "" - - name: url - type: - scalar: string - default: "" -- name: com.github.openshift.api.config.v1.IdentityProvider - map: - fields: - - name: basicAuth - type: - namedType: com.github.openshift.api.config.v1.BasicAuthIdentityProvider - - name: github - type: - namedType: com.github.openshift.api.config.v1.GitHubIdentityProvider - - name: gitlab - type: - namedType: com.github.openshift.api.config.v1.GitLabIdentityProvider - - name: google - type: - namedType: com.github.openshift.api.config.v1.GoogleIdentityProvider - - name: htpasswd - type: - namedType: com.github.openshift.api.config.v1.HTPasswdIdentityProvider - - name: keystone - type: - namedType: com.github.openshift.api.config.v1.KeystoneIdentityProvider - - name: ldap - type: - namedType: com.github.openshift.api.config.v1.LDAPIdentityProvider - - name: mappingMethod - type: - scalar: string - - name: name - type: - scalar: string - default: "" - - name: openID - type: - namedType: com.github.openshift.api.config.v1.OpenIDIdentityProvider - - name: requestHeader - type: - namedType: com.github.openshift.api.config.v1.RequestHeaderIdentityProvider - - name: type + scalar: string + elementRelationship: atomic + - name: imageStreamImportMode type: scalar: string default: "" -- name: com.github.openshift.api.config.v1.Image - map: - fields: - - name: apiVersion - type: - scalar: string - - name: kind - type: - scalar: string - - name: metadata - type: - namedType: ObjectMeta.v1.meta.apis.pkg.apimachinery.k8s.io - default: {} - - name: spec - type: - namedType: com.github.openshift.api.config.v1.ImageSpec - default: {} - - name: status + - name: registrySources type: - namedType: com.github.openshift.api.config.v1.ImageStatus + namedType: com.github.openshift.api.config.v1.RegistrySources default: {} -- name: com.github.openshift.api.config.v1.ImageContentPolicy +- name: com.github.openshift.api.config.v1.ImageStatus map: fields: - - name: apiVersion + - name: externalRegistryHostnames type: - scalar: string - - name: kind + list: + elementType: + scalar: string + elementRelationship: atomic + - name: imageStreamImportMode type: scalar: string - - name: metadata - type: - namedType: ObjectMeta.v1.meta.apis.pkg.apimachinery.k8s.io - default: {} - - name: spec - type: - namedType: com.github.openshift.api.config.v1.ImageContentPolicySpec - default: {} -- name: com.github.openshift.api.config.v1.ImageContentPolicySpec - map: - fields: - - name: repositoryDigestMirrors + - name: internalRegistryHostname type: - list: - elementType: - namedType: com.github.openshift.api.config.v1.RepositoryDigestMirrors - elementRelationship: associative - keys: - - source -- name: com.github.openshift.api.config.v1.ImageDigestMirrorSet + scalar: string +- name: com.github.openshift.api.config.v1.ImageTagMirrorSet map: fields: - name: apiVersion @@ -2371,26 +2048,26 @@ var schemaYAML = typed.YAMLObject(`types: scalar: string - name: metadata type: - namedType: ObjectMeta.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta default: {} - name: spec type: - namedType: com.github.openshift.api.config.v1.ImageDigestMirrorSetSpec + namedType: com.github.openshift.api.config.v1.ImageTagMirrorSetSpec default: {} - name: status type: - namedType: com.github.openshift.api.config.v1.ImageDigestMirrorSetStatus + namedType: com.github.openshift.api.config.v1.ImageTagMirrorSetStatus default: {} -- name: com.github.openshift.api.config.v1.ImageDigestMirrorSetSpec +- name: com.github.openshift.api.config.v1.ImageTagMirrorSetSpec map: fields: - - name: imageDigestMirrors + - name: imageTagMirrors type: list: elementType: - namedType: com.github.openshift.api.config.v1.ImageDigestMirrors + namedType: com.github.openshift.api.config.v1.ImageTagMirrors elementRelationship: atomic -- name: com.github.openshift.api.config.v1.ImageDigestMirrorSetStatus +- name: com.github.openshift.api.config.v1.ImageTagMirrorSetStatus map: elementType: scalar: untyped @@ -2402,7 +2079,7 @@ var schemaYAML = typed.YAMLObject(`types: elementType: namedType: __untyped_deduced_ elementRelationship: separable -- name: com.github.openshift.api.config.v1.ImageDigestMirrors +- name: com.github.openshift.api.config.v1.ImageTagMirrors map: fields: - name: mirrorSourcePolicy @@ -2418,17 +2095,7 @@ var schemaYAML = typed.YAMLObject(`types: type: scalar: string default: "" -- name: com.github.openshift.api.config.v1.ImageLabel - map: - fields: - - name: name - type: - scalar: string - default: "" - - name: value - type: - scalar: string -- name: com.github.openshift.api.config.v1.ImagePolicy +- name: com.github.openshift.api.config.v1.Infrastructure map: fields: - name: apiVersion @@ -2439,229 +2106,42 @@ var schemaYAML = typed.YAMLObject(`types: scalar: string - name: metadata type: - namedType: ObjectMeta.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta default: {} - name: spec type: - namedType: com.github.openshift.api.config.v1.ImagePolicySpec + namedType: com.github.openshift.api.config.v1.InfrastructureSpec default: {} - name: status type: - namedType: com.github.openshift.api.config.v1.ImagePolicyStatus + namedType: com.github.openshift.api.config.v1.InfrastructureStatus default: {} -- name: com.github.openshift.api.config.v1.ImagePolicyFulcioCAWithRekorRootOfTrust +- name: com.github.openshift.api.config.v1.InfrastructureSpec map: fields: - - name: fulcioCAData - type: - scalar: string - - name: fulcioSubject + - name: cloudConfig type: - namedType: com.github.openshift.api.config.v1.PolicyFulcioSubject + namedType: com.github.openshift.api.config.v1.ConfigMapFileReference default: {} - - name: rekorKeyData + - name: controlPlaneTopology type: scalar: string -- name: com.github.openshift.api.config.v1.ImagePolicyPKIRootOfTrust + - name: platformSpec + type: + namedType: com.github.openshift.api.config.v1.PlatformSpec + default: {} +- name: com.github.openshift.api.config.v1.InfrastructureStatus map: fields: - - name: caIntermediatesData + - name: apiServerInternalURI type: scalar: string - - name: caRootsData + default: "" + - name: apiServerURL type: scalar: string - - name: pkiCertificateSubject - type: - namedType: com.github.openshift.api.config.v1.PKICertificateSubject - default: {} -- name: com.github.openshift.api.config.v1.ImagePolicyPublicKeyRootOfTrust - map: - fields: - - name: keyData - type: - scalar: string - - name: rekorKeyData - type: - scalar: string -- name: com.github.openshift.api.config.v1.ImagePolicySpec - map: - fields: - - name: policy - type: - namedType: com.github.openshift.api.config.v1.ImageSigstoreVerificationPolicy - default: {} - - name: scopes - type: - list: - elementType: - scalar: string - elementRelationship: associative -- name: com.github.openshift.api.config.v1.ImagePolicyStatus - map: - fields: - - name: conditions - type: - list: - elementType: - namedType: Condition.v1.meta.apis.pkg.apimachinery.k8s.io - elementRelationship: associative - keys: - - type -- name: com.github.openshift.api.config.v1.ImageSigstoreVerificationPolicy - map: - fields: - - name: rootOfTrust - type: - namedType: com.github.openshift.api.config.v1.PolicyRootOfTrust - default: {} - - name: signedIdentity - type: - namedType: com.github.openshift.api.config.v1.PolicyIdentity -- name: com.github.openshift.api.config.v1.ImageSpec - map: - fields: - - name: additionalTrustedCA - type: - namedType: com.github.openshift.api.config.v1.ConfigMapNameReference - default: {} - - name: allowedRegistriesForImport - type: - list: - elementType: - namedType: com.github.openshift.api.config.v1.RegistryLocation - elementRelationship: atomic - - name: externalRegistryHostnames - type: - list: - elementType: - scalar: string - elementRelationship: atomic - - name: imageStreamImportMode - type: - scalar: string - default: "" - - name: registrySources - type: - namedType: com.github.openshift.api.config.v1.RegistrySources - default: {} -- name: com.github.openshift.api.config.v1.ImageStatus - map: - fields: - - name: externalRegistryHostnames - type: - list: - elementType: - scalar: string - elementRelationship: atomic - - name: imageStreamImportMode - type: - scalar: string - - name: internalRegistryHostname - type: - scalar: string -- name: com.github.openshift.api.config.v1.ImageTagMirrorSet - map: - fields: - - name: apiVersion - type: - scalar: string - - name: kind - type: - scalar: string - - name: metadata - type: - namedType: ObjectMeta.v1.meta.apis.pkg.apimachinery.k8s.io - default: {} - - name: spec - type: - namedType: com.github.openshift.api.config.v1.ImageTagMirrorSetSpec - default: {} - - name: status - type: - namedType: com.github.openshift.api.config.v1.ImageTagMirrorSetStatus - default: {} -- name: com.github.openshift.api.config.v1.ImageTagMirrorSetSpec - map: - fields: - - name: imageTagMirrors - type: - list: - elementType: - namedType: com.github.openshift.api.config.v1.ImageTagMirrors - elementRelationship: atomic -- name: com.github.openshift.api.config.v1.ImageTagMirrorSetStatus - map: - elementType: - scalar: untyped - list: - elementType: - namedType: __untyped_atomic_ - elementRelationship: atomic - map: - elementType: - namedType: __untyped_deduced_ - elementRelationship: separable -- name: com.github.openshift.api.config.v1.ImageTagMirrors - map: - fields: - - name: mirrorSourcePolicy - type: - scalar: string - - name: mirrors - type: - list: - elementType: - scalar: string - elementRelationship: associative - - name: source - type: - scalar: string - default: "" -- name: com.github.openshift.api.config.v1.Infrastructure - map: - fields: - - name: apiVersion - type: - scalar: string - - name: kind - type: - scalar: string - - name: metadata - type: - namedType: ObjectMeta.v1.meta.apis.pkg.apimachinery.k8s.io - default: {} - - name: spec - type: - namedType: com.github.openshift.api.config.v1.InfrastructureSpec - default: {} - - name: status - type: - namedType: com.github.openshift.api.config.v1.InfrastructureStatus - default: {} -- name: com.github.openshift.api.config.v1.InfrastructureSpec - map: - fields: - - name: cloudConfig - type: - namedType: com.github.openshift.api.config.v1.ConfigMapFileReference - default: {} - - name: platformSpec - type: - namedType: com.github.openshift.api.config.v1.PlatformSpec - default: {} -- name: com.github.openshift.api.config.v1.InfrastructureStatus - map: - fields: - - name: apiServerInternalURI - type: - scalar: string - default: "" - - name: apiServerURL - type: - scalar: string - default: "" - - name: controlPlaneTopology + default: "" + - name: controlPlaneTopology type: scalar: string default: "" @@ -2697,7 +2177,7 @@ var schemaYAML = typed.YAMLObject(`types: scalar: string - name: metadata type: - namedType: ObjectMeta.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta default: {} - name: spec type: @@ -2778,7 +2258,7 @@ var schemaYAML = typed.YAMLObject(`types: scalar: string - name: metadata type: - namedType: ObjectMeta.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta default: {} - name: spec type: @@ -2974,7 +2454,7 @@ var schemaYAML = typed.YAMLObject(`types: scalar: string - name: metadata type: - namedType: ObjectMeta.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta default: {} - name: spec type: @@ -3011,7 +2491,7 @@ var schemaYAML = typed.YAMLObject(`types: type: list: elementType: - namedType: Toleration.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.Toleration elementRelationship: atomic - name: com.github.openshift.api.config.v1.NetworkDiagnosticsTargetPlacement map: @@ -3025,7 +2505,7 @@ var schemaYAML = typed.YAMLObject(`types: type: list: elementType: - namedType: Toleration.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.Toleration elementRelationship: atomic - name: com.github.openshift.api.config.v1.NetworkMigration map: @@ -3091,7 +2571,7 @@ var schemaYAML = typed.YAMLObject(`types: type: list: elementType: - namedType: Condition.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.Condition elementRelationship: associative keys: - type @@ -3118,7 +2598,7 @@ var schemaYAML = typed.YAMLObject(`types: scalar: string - name: metadata type: - namedType: ObjectMeta.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta default: {} - name: spec type: @@ -3148,7 +2628,7 @@ var schemaYAML = typed.YAMLObject(`types: type: list: elementType: - namedType: Condition.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.Condition elementRelationship: associative keys: - type @@ -3283,7 +2763,7 @@ var schemaYAML = typed.YAMLObject(`types: scalar: string - name: metadata type: - namedType: ObjectMeta.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta default: {} - name: spec type: @@ -3392,7 +2872,7 @@ var schemaYAML = typed.YAMLObject(`types: type: list: elementType: - namedType: Condition.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.Condition elementRelationship: associative keys: - type @@ -3639,7 +3119,7 @@ var schemaYAML = typed.YAMLObject(`types: scalar: string - name: metadata type: - namedType: ObjectMeta.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta default: {} - name: spec type: @@ -4003,7 +3483,7 @@ var schemaYAML = typed.YAMLObject(`types: scalar: string - name: metadata type: - namedType: ObjectMeta.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta default: {} - name: spec type: @@ -4054,7 +3534,7 @@ var schemaYAML = typed.YAMLObject(`types: scalar: string - name: metadata type: - namedType: ObjectMeta.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta default: {} - name: spec type: @@ -4237,7 +3717,7 @@ var schemaYAML = typed.YAMLObject(`types: default: {} - name: namespaceSelector type: - namedType: LabelSelector.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector - name: preloadPolicy type: scalar: string @@ -4252,7 +3732,7 @@ var schemaYAML = typed.YAMLObject(`types: scalar: string - name: metadata type: - namedType: ObjectMeta.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta default: {} - name: spec type: @@ -4442,7 +3922,7 @@ var schemaYAML = typed.YAMLObject(`types: fields: - name: accessTokenInactivityTimeout type: - namedType: Duration.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.Duration - name: accessTokenInactivityTimeoutSeconds type: scalar: numeric @@ -4527,14 +4007,14 @@ var schemaYAML = typed.YAMLObject(`types: scalar: string - name: completionTime type: - namedType: Time.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.Time - name: image type: scalar: string default: "" - name: startedTime type: - namedType: Time.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.Time - name: state type: scalar: string @@ -4761,175 +4241,589 @@ var schemaYAML = typed.YAMLObject(`types: elementRelationship: atomic - name: nodeDNSIP type: - scalar: string -- name: com.github.openshift.api.config.v1.VSpherePlatformTopology - map: - fields: - - name: computeCluster + scalar: string +- name: com.github.openshift.api.config.v1.VSpherePlatformTopology + map: + fields: + - name: computeCluster + type: + scalar: string + default: "" + - name: datacenter + type: + scalar: string + default: "" + - name: datastore + type: + scalar: string + default: "" + - name: folder + type: + scalar: string + - name: networks + type: + list: + elementType: + scalar: string + elementRelationship: atomic + - name: resourcePool + type: + scalar: string + - name: template + type: + scalar: string +- name: com.github.openshift.api.config.v1.VSpherePlatformVCenterSpec + map: + fields: + - name: datacenters + type: + list: + elementType: + scalar: string + elementRelationship: associative + - name: port + type: + scalar: numeric + - name: server + type: + scalar: string + default: "" +- name: com.github.openshift.api.config.v1.VaultAppRoleAuthentication + map: + fields: + - name: secret + type: + namedType: com.github.openshift.api.config.v1.VaultSecretReference + default: {} +- name: com.github.openshift.api.config.v1.VaultAuthentication + map: + fields: + - name: appRole + type: + namedType: com.github.openshift.api.config.v1.VaultAppRoleAuthentication + default: {} + - name: type + type: + scalar: string + unions: + - discriminator: type + fields: + - fieldName: appRole + discriminatorValue: AppRole +- name: com.github.openshift.api.config.v1.VaultConfigMapReference + map: + fields: + - name: name + type: + scalar: string +- name: com.github.openshift.api.config.v1.VaultKMSPluginConfig + map: + fields: + - name: authentication + type: + namedType: com.github.openshift.api.config.v1.VaultAuthentication + default: {} + - name: kmsPluginImage + type: + scalar: string + - name: tls + type: + namedType: com.github.openshift.api.config.v1.VaultTLSConfig + default: {} + - name: transitKey + type: + scalar: string + - name: transitMount + type: + scalar: string + - name: vaultAddress + type: + scalar: string + - name: vaultNamespace + type: + scalar: string +- name: com.github.openshift.api.config.v1.VaultSecretReference + map: + fields: + - name: name + type: + scalar: string +- name: com.github.openshift.api.config.v1.VaultTLSConfig + map: + fields: + - name: caBundle + type: + namedType: com.github.openshift.api.config.v1.VaultConfigMapReference + default: {} + - name: serverName + type: + scalar: string +- name: com.github.openshift.api.config.v1.WebhookTokenAuthenticator + map: + fields: + - name: kubeConfig + type: + namedType: com.github.openshift.api.config.v1.SecretNameReference + default: {} +- name: com.github.openshift.api.config.v1alpha1.AdditionalAlertmanagerConfig + map: + fields: + - name: authorization + type: + namedType: com.github.openshift.api.config.v1alpha1.AuthorizationConfig + default: {} + - name: name + type: + scalar: string + - name: pathPrefix + type: + scalar: string + - name: scheme + type: + scalar: string + - name: staticConfigs + type: + list: + elementType: + scalar: string + elementRelationship: associative + - name: timeoutSeconds + type: + scalar: numeric + - name: tlsConfig + type: + namedType: com.github.openshift.api.config.v1alpha1.TLSConfig + default: {} +- name: com.github.openshift.api.config.v1alpha1.AlertmanagerConfig + map: + fields: + - name: customConfig + type: + namedType: com.github.openshift.api.config.v1alpha1.AlertmanagerCustomConfig + default: {} + - name: deploymentMode + type: + scalar: string +- name: com.github.openshift.api.config.v1alpha1.AlertmanagerCustomConfig + map: + fields: + - name: logLevel + type: + scalar: string + - name: nodeSelector + type: + map: + elementType: + scalar: string + - name: resources + type: + list: + elementType: + namedType: com.github.openshift.api.config.v1alpha1.ContainerResource + elementRelationship: associative + keys: + - name + - name: secrets + type: + list: + elementType: + scalar: string + elementRelationship: associative + - name: tolerations + type: + list: + elementType: + namedType: io.k8s.api.core.v1.Toleration + elementRelationship: atomic + - name: topologySpreadConstraints + type: + list: + elementType: + namedType: io.k8s.api.core.v1.TopologySpreadConstraint + elementRelationship: associative + keys: + - topologyKey + - whenUnsatisfiable + - name: userAlertmanagerConfigSelection + type: + scalar: string + - name: volumeClaimTemplate + type: + namedType: io.k8s.api.core.v1.PersistentVolumeClaim +- name: com.github.openshift.api.config.v1alpha1.Audit + map: + fields: + - name: profile + type: + scalar: string +- name: com.github.openshift.api.config.v1alpha1.AuthorizationConfig + map: + fields: + - name: bearerToken + type: + namedType: com.github.openshift.api.config.v1alpha1.SecretKeySelector + default: {} + - name: type + type: + scalar: string + unions: + - discriminator: type + fields: + - fieldName: bearerToken + discriminatorValue: BearerToken +- name: com.github.openshift.api.config.v1alpha1.Backup + map: + fields: + - name: apiVersion + type: + scalar: string + - name: kind + type: + scalar: string + - name: metadata + type: + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta + default: {} + - name: spec + type: + namedType: com.github.openshift.api.config.v1alpha1.BackupSpec + default: {} + - name: status + type: + namedType: com.github.openshift.api.config.v1alpha1.BackupStatus + default: {} +- name: com.github.openshift.api.config.v1alpha1.BackupSpec + map: + fields: + - name: etcd + type: + namedType: com.github.openshift.api.config.v1alpha1.EtcdBackupSpec + default: {} +- name: com.github.openshift.api.config.v1alpha1.BackupStatus + map: + elementType: + scalar: untyped + list: + elementType: + namedType: __untyped_atomic_ + elementRelationship: atomic + map: + elementType: + namedType: __untyped_deduced_ + elementRelationship: separable +- name: com.github.openshift.api.config.v1alpha1.BasicAuth + map: + fields: + - name: password + type: + namedType: com.github.openshift.api.config.v1alpha1.SecretKeySelector + default: {} + - name: username + type: + namedType: com.github.openshift.api.config.v1alpha1.SecretKeySelector + default: {} +- name: com.github.openshift.api.config.v1alpha1.CRIOCredentialProviderConfig + map: + fields: + - name: apiVersion + type: + scalar: string + - name: kind + type: + scalar: string + - name: metadata + type: + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta + default: {} + - name: spec + type: + namedType: com.github.openshift.api.config.v1alpha1.CRIOCredentialProviderConfigSpec + - name: status + type: + namedType: com.github.openshift.api.config.v1alpha1.CRIOCredentialProviderConfigStatus + default: {} +- name: com.github.openshift.api.config.v1alpha1.CRIOCredentialProviderConfigSpec + map: + fields: + - name: matchImages + type: + list: + elementType: + scalar: string + elementRelationship: associative +- name: com.github.openshift.api.config.v1alpha1.CRIOCredentialProviderConfigStatus + map: + fields: + - name: conditions + type: + list: + elementType: + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.Condition + elementRelationship: associative + keys: + - type +- name: com.github.openshift.api.config.v1alpha1.CertificateConfig + map: + fields: + - name: key + type: + namedType: com.github.openshift.api.config.v1alpha1.KeyConfig + default: {} +- name: com.github.openshift.api.config.v1alpha1.ClusterMonitoring + map: + fields: + - name: apiVersion + type: + scalar: string + - name: kind + type: + scalar: string + - name: metadata + type: + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta + default: {} + - name: spec + type: + namedType: com.github.openshift.api.config.v1alpha1.ClusterMonitoringSpec + default: {} + - name: status + type: + namedType: com.github.openshift.api.config.v1alpha1.ClusterMonitoringStatus + default: {} +- name: com.github.openshift.api.config.v1alpha1.ClusterMonitoringSpec + map: + fields: + - name: alertmanagerConfig + type: + namedType: com.github.openshift.api.config.v1alpha1.AlertmanagerConfig + default: {} + - name: kubeStateMetricsConfig + type: + namedType: com.github.openshift.api.config.v1alpha1.KubeStateMetricsConfig + default: {} + - name: metricsServerConfig + type: + namedType: com.github.openshift.api.config.v1alpha1.MetricsServerConfig + default: {} + - name: monitoringPluginConfig + type: + namedType: com.github.openshift.api.config.v1alpha1.MonitoringPluginConfig + default: {} + - name: nodeExporterConfig + type: + namedType: com.github.openshift.api.config.v1alpha1.NodeExporterConfig + default: {} + - name: openShiftStateMetricsConfig type: - scalar: string - default: "" - - name: datacenter + namedType: com.github.openshift.api.config.v1alpha1.OpenShiftStateMetricsConfig + default: {} + - name: prometheusConfig type: - scalar: string - default: "" - - name: datastore + namedType: com.github.openshift.api.config.v1alpha1.PrometheusConfig + default: {} + - name: prometheusOperatorAdmissionWebhookConfig type: - scalar: string - default: "" - - name: folder + namedType: com.github.openshift.api.config.v1alpha1.PrometheusOperatorAdmissionWebhookConfig + default: {} + - name: prometheusOperatorConfig type: - scalar: string - - name: networks + namedType: com.github.openshift.api.config.v1alpha1.PrometheusOperatorConfig + default: {} + - name: telemeterClientConfig type: - list: - elementType: - scalar: string - elementRelationship: atomic - - name: resourcePool + namedType: com.github.openshift.api.config.v1alpha1.TelemeterClientConfig + default: {} + - name: thanosQuerierConfig type: - scalar: string - - name: template + namedType: com.github.openshift.api.config.v1alpha1.ThanosQuerierConfig + default: {} + - name: userDefined type: - scalar: string -- name: com.github.openshift.api.config.v1.VSpherePlatformVCenterSpec + namedType: com.github.openshift.api.config.v1alpha1.UserDefinedMonitoring + default: {} +- name: com.github.openshift.api.config.v1alpha1.ClusterMonitoringStatus + map: + elementType: + scalar: untyped + list: + elementType: + namedType: __untyped_atomic_ + elementRelationship: atomic + map: + elementType: + namedType: __untyped_deduced_ + elementRelationship: separable +- name: com.github.openshift.api.config.v1alpha1.ContainerResource map: fields: - - name: datacenters - type: - list: - elementType: - scalar: string - elementRelationship: associative - - name: port + - name: limit type: - scalar: numeric - - name: server + namedType: io.k8s.apimachinery.pkg.api.resource.Quantity + - name: name type: scalar: string - default: "" -- name: com.github.openshift.api.config.v1.VaultAppRoleAuthentication + - name: request + type: + namedType: io.k8s.apimachinery.pkg.api.resource.Quantity +- name: com.github.openshift.api.config.v1alpha1.CustomPKIPolicy map: fields: - - name: secret + - name: clientCertificates type: - namedType: com.github.openshift.api.config.v1.VaultSecretReference + namedType: com.github.openshift.api.config.v1alpha1.CertificateConfig default: {} -- name: com.github.openshift.api.config.v1.VaultAuthentication + - name: defaults + type: + namedType: com.github.openshift.api.config.v1alpha1.DefaultCertificateConfig + default: {} + - name: servingCertificates + type: + namedType: com.github.openshift.api.config.v1alpha1.CertificateConfig + default: {} + - name: signerCertificates + type: + namedType: com.github.openshift.api.config.v1alpha1.CertificateConfig + default: {} +- name: com.github.openshift.api.config.v1alpha1.DefaultCertificateConfig map: fields: - - name: appRole + - name: key type: - namedType: com.github.openshift.api.config.v1.VaultAppRoleAuthentication + namedType: com.github.openshift.api.config.v1alpha1.KeyConfig default: {} - - name: type +- name: com.github.openshift.api.config.v1alpha1.DropEqualActionConfig + map: + fields: + - name: targetLabel type: scalar: string - unions: - - discriminator: type - fields: - - fieldName: appRole - discriminatorValue: AppRole -- name: com.github.openshift.api.config.v1.VaultConfigMapReference +- name: com.github.openshift.api.config.v1alpha1.ECDSAKeyConfig map: fields: - - name: name + - name: curve type: scalar: string -- name: com.github.openshift.api.config.v1.VaultKMSPluginConfig +- name: com.github.openshift.api.config.v1alpha1.EtcdBackupSpec map: fields: - - name: authentication - type: - namedType: com.github.openshift.api.config.v1.VaultAuthentication - default: {} - - name: kmsPluginImage + - name: pvcName type: scalar: string - - name: tls + default: "" + - name: retentionPolicy type: - namedType: com.github.openshift.api.config.v1.VaultTLSConfig + namedType: com.github.openshift.api.config.v1alpha1.RetentionPolicy default: {} - - name: transitKey - type: - scalar: string - - name: transitMount - type: - scalar: string - - name: vaultAddress + - name: schedule type: scalar: string - - name: vaultNamespace + default: "" + - name: timeZone type: scalar: string -- name: com.github.openshift.api.config.v1.VaultSecretReference + default: "" +- name: com.github.openshift.api.config.v1alpha1.GatherConfig map: fields: - - name: name + - name: dataPolicy type: scalar: string -- name: com.github.openshift.api.config.v1.VaultTLSConfig - map: - fields: - - name: caBundle - type: - namedType: com.github.openshift.api.config.v1.VaultConfigMapReference - default: {} - - name: serverName + - name: disabledGatherers type: - scalar: string -- name: com.github.openshift.api.config.v1.WebhookTokenAuthenticator - map: - fields: - - name: kubeConfig + list: + elementType: + scalar: string + elementRelationship: atomic + - name: storage type: - namedType: com.github.openshift.api.config.v1.SecretNameReference - default: {} -- name: com.github.openshift.api.config.v1alpha1.AdditionalAlertmanagerConfig + namedType: com.github.openshift.api.config.v1alpha1.Storage +- name: com.github.openshift.api.config.v1alpha1.HashModActionConfig map: fields: - - name: authorization + - name: modulus type: - namedType: com.github.openshift.api.config.v1alpha1.AuthorizationConfig - default: {} - - name: name + scalar: numeric + - name: targetLabel type: scalar: string - - name: pathPrefix +- name: com.github.openshift.api.config.v1alpha1.InsightsDataGather + map: + fields: + - name: apiVersion type: scalar: string - - name: scheme + - name: kind type: scalar: string - - name: staticConfigs + - name: metadata type: - list: - elementType: - scalar: string - elementRelationship: associative - - name: timeoutSeconds + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta + default: {} + - name: spec type: - scalar: numeric - - name: tlsConfig + namedType: com.github.openshift.api.config.v1alpha1.InsightsDataGatherSpec + default: {} + - name: status type: - namedType: com.github.openshift.api.config.v1alpha1.TLSConfig + namedType: com.github.openshift.api.config.v1alpha1.InsightsDataGatherStatus default: {} -- name: com.github.openshift.api.config.v1alpha1.AlertmanagerConfig +- name: com.github.openshift.api.config.v1alpha1.InsightsDataGatherSpec map: fields: - - name: customConfig + - name: gatherConfig type: - namedType: com.github.openshift.api.config.v1alpha1.AlertmanagerCustomConfig + namedType: com.github.openshift.api.config.v1alpha1.GatherConfig default: {} - - name: deploymentMode +- name: com.github.openshift.api.config.v1alpha1.InsightsDataGatherStatus + map: + elementType: + scalar: untyped + list: + elementType: + namedType: __untyped_atomic_ + elementRelationship: atomic + map: + elementType: + namedType: __untyped_deduced_ + elementRelationship: separable +- name: com.github.openshift.api.config.v1alpha1.KeepEqualActionConfig + map: + fields: + - name: targetLabel type: scalar: string -- name: com.github.openshift.api.config.v1alpha1.AlertmanagerCustomConfig +- name: com.github.openshift.api.config.v1alpha1.KeyConfig map: fields: - - name: logLevel + - name: algorithm type: scalar: string + - name: ecdsa + type: + namedType: com.github.openshift.api.config.v1alpha1.ECDSAKeyConfig + default: {} + - name: rsa + type: + namedType: com.github.openshift.api.config.v1alpha1.RSAKeyConfig + default: {} + unions: + - discriminator: algorithm + fields: + - fieldName: ecdsa + discriminatorValue: ECDSA + - fieldName: rsa + discriminatorValue: RSA +- name: com.github.openshift.api.config.v1alpha1.KubeStateMetricsConfig + map: + fields: + - name: additionalResourceLabels + type: + list: + elementType: + namedType: com.github.openshift.api.config.v1alpha1.KubeStateMetricsResourceLabels + elementRelationship: associative + keys: + - resource - name: nodeSelector type: map: @@ -4943,407 +4837,349 @@ var schemaYAML = typed.YAMLObject(`types: elementRelationship: associative keys: - name - - name: secrets - type: - list: - elementType: - scalar: string - elementRelationship: associative - name: tolerations type: list: elementType: - namedType: Toleration.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.Toleration elementRelationship: atomic - name: topologySpreadConstraints type: list: elementType: - namedType: TopologySpreadConstraint.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.TopologySpreadConstraint elementRelationship: associative keys: - topologyKey - whenUnsatisfiable - - name: userAlertmanagerConfigSelection - type: - scalar: string - - name: volumeClaimTemplate - type: - namedType: PersistentVolumeClaim.v1.core.api.k8s.io -- name: com.github.openshift.api.config.v1alpha1.Audit +- name: com.github.openshift.api.config.v1alpha1.KubeStateMetricsResourceLabels map: fields: - - name: profile + - name: labels + type: + list: + elementType: + scalar: string + elementRelationship: associative + - name: resource type: scalar: string -- name: com.github.openshift.api.config.v1alpha1.AuthorizationConfig +- name: com.github.openshift.api.config.v1alpha1.Label map: fields: - - name: bearerToken + - name: key type: - namedType: com.github.openshift.api.config.v1alpha1.SecretKeySelector - default: {} - - name: type + scalar: string + - name: value type: scalar: string - unions: - - discriminator: type - fields: - - fieldName: bearerToken - discriminatorValue: BearerToken -- name: com.github.openshift.api.config.v1alpha1.Backup +- name: com.github.openshift.api.config.v1alpha1.LabelMapActionConfig map: fields: - - name: apiVersion + - name: replacement type: scalar: string - - name: kind +- name: com.github.openshift.api.config.v1alpha1.LowercaseActionConfig + map: + fields: + - name: targetLabel type: scalar: string - - name: metadata - type: - namedType: ObjectMeta.v1.meta.apis.pkg.apimachinery.k8s.io - default: {} - - name: spec +- name: com.github.openshift.api.config.v1alpha1.MetadataConfig + map: + fields: + - name: custom type: - namedType: com.github.openshift.api.config.v1alpha1.BackupSpec + namedType: com.github.openshift.api.config.v1alpha1.MetadataConfigCustom default: {} - - name: status + - name: sendPolicy type: - namedType: com.github.openshift.api.config.v1alpha1.BackupStatus - default: {} -- name: com.github.openshift.api.config.v1alpha1.BackupSpec + scalar: string +- name: com.github.openshift.api.config.v1alpha1.MetadataConfigCustom map: fields: - - name: etcd + - name: sendIntervalSeconds type: - namedType: com.github.openshift.api.config.v1alpha1.EtcdBackupSpec - default: {} -- name: com.github.openshift.api.config.v1alpha1.BackupStatus - map: - elementType: - scalar: untyped - list: - elementType: - namedType: __untyped_atomic_ - elementRelationship: atomic - map: - elementType: - namedType: __untyped_deduced_ - elementRelationship: separable -- name: com.github.openshift.api.config.v1alpha1.BasicAuth + scalar: numeric +- name: com.github.openshift.api.config.v1alpha1.MetricsServerConfig map: fields: - - name: password - type: - namedType: com.github.openshift.api.config.v1alpha1.SecretKeySelector - default: {} - - name: username + - name: audit type: - namedType: com.github.openshift.api.config.v1alpha1.SecretKeySelector + namedType: com.github.openshift.api.config.v1alpha1.Audit default: {} -- name: com.github.openshift.api.config.v1alpha1.CRIOCredentialProviderConfig - map: - fields: - - name: apiVersion + - name: nodeSelector type: - scalar: string - - name: kind + map: + elementType: + scalar: string + - name: resources type: - scalar: string - - name: metadata + list: + elementType: + namedType: com.github.openshift.api.config.v1alpha1.ContainerResource + elementRelationship: associative + keys: + - name + - name: tolerations type: - namedType: ObjectMeta.v1.meta.apis.pkg.apimachinery.k8s.io - default: {} - - name: spec + list: + elementType: + namedType: io.k8s.api.core.v1.Toleration + elementRelationship: atomic + - name: topologySpreadConstraints type: - namedType: com.github.openshift.api.config.v1alpha1.CRIOCredentialProviderConfigSpec - - name: status + list: + elementType: + namedType: io.k8s.api.core.v1.TopologySpreadConstraint + elementRelationship: associative + keys: + - topologyKey + - whenUnsatisfiable + - name: verbosity type: - namedType: com.github.openshift.api.config.v1alpha1.CRIOCredentialProviderConfigStatus - default: {} -- name: com.github.openshift.api.config.v1alpha1.CRIOCredentialProviderConfigSpec + scalar: string +- name: com.github.openshift.api.config.v1alpha1.MonitoringPluginConfig map: fields: - - name: matchImages + - name: nodeSelector type: - list: + map: elementType: scalar: string - elementRelationship: associative -- name: com.github.openshift.api.config.v1alpha1.CRIOCredentialProviderConfigStatus - map: - fields: - - name: conditions + - name: resources type: list: elementType: - namedType: Condition.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: com.github.openshift.api.config.v1alpha1.ContainerResource elementRelationship: associative keys: - - type -- name: com.github.openshift.api.config.v1alpha1.CertificateConfig - map: - fields: - - name: key + - name + - name: tolerations type: - namedType: com.github.openshift.api.config.v1alpha1.KeyConfig - default: {} -- name: com.github.openshift.api.config.v1alpha1.ClusterMonitoring + list: + elementType: + namedType: io.k8s.api.core.v1.Toleration + elementRelationship: atomic + - name: topologySpreadConstraints + type: + list: + elementType: + namedType: io.k8s.api.core.v1.TopologySpreadConstraint + elementRelationship: associative + keys: + - topologyKey + - whenUnsatisfiable +- name: com.github.openshift.api.config.v1alpha1.NodeExporterCollectorBuddyInfoConfig map: fields: - - name: apiVersion - type: - scalar: string - - name: kind + - name: collectionPolicy type: scalar: string - - name: metadata - type: - namedType: ObjectMeta.v1.meta.apis.pkg.apimachinery.k8s.io - default: {} - - name: spec - type: - namedType: com.github.openshift.api.config.v1alpha1.ClusterMonitoringSpec - default: {} - - name: status - type: - namedType: com.github.openshift.api.config.v1alpha1.ClusterMonitoringStatus - default: {} -- name: com.github.openshift.api.config.v1alpha1.ClusterMonitoringSpec +- name: com.github.openshift.api.config.v1alpha1.NodeExporterCollectorConfig map: fields: - - name: alertmanagerConfig - type: - namedType: com.github.openshift.api.config.v1alpha1.AlertmanagerConfig - default: {} - - name: kubeStateMetricsConfig - type: - namedType: com.github.openshift.api.config.v1alpha1.KubeStateMetricsConfig - default: {} - - name: metricsServerConfig - type: - namedType: com.github.openshift.api.config.v1alpha1.MetricsServerConfig - default: {} - - name: monitoringPluginConfig - type: - namedType: com.github.openshift.api.config.v1alpha1.MonitoringPluginConfig - default: {} - - name: nodeExporterConfig - type: - namedType: com.github.openshift.api.config.v1alpha1.NodeExporterConfig - default: {} - - name: openShiftStateMetricsConfig + - name: buddyInfo type: - namedType: com.github.openshift.api.config.v1alpha1.OpenShiftStateMetricsConfig + namedType: com.github.openshift.api.config.v1alpha1.NodeExporterCollectorBuddyInfoConfig default: {} - - name: prometheusConfig + - name: cpuFreq type: - namedType: com.github.openshift.api.config.v1alpha1.PrometheusConfig + namedType: com.github.openshift.api.config.v1alpha1.NodeExporterCollectorCpufreqConfig default: {} - - name: prometheusOperatorAdmissionWebhookConfig + - name: ethtool type: - namedType: com.github.openshift.api.config.v1alpha1.PrometheusOperatorAdmissionWebhookConfig + namedType: com.github.openshift.api.config.v1alpha1.NodeExporterCollectorEthtoolConfig default: {} - - name: prometheusOperatorConfig + - name: ksmd type: - namedType: com.github.openshift.api.config.v1alpha1.PrometheusOperatorConfig + namedType: com.github.openshift.api.config.v1alpha1.NodeExporterCollectorKSMDConfig default: {} - - name: telemeterClientConfig + - name: mountStats type: - namedType: com.github.openshift.api.config.v1alpha1.TelemeterClientConfig + namedType: com.github.openshift.api.config.v1alpha1.NodeExporterCollectorMountStatsConfig default: {} - - name: thanosQuerierConfig + - name: netClass type: - namedType: com.github.openshift.api.config.v1alpha1.ThanosQuerierConfig + namedType: com.github.openshift.api.config.v1alpha1.NodeExporterCollectorNetClassConfig default: {} - - name: userDefined + - name: netDev type: - namedType: com.github.openshift.api.config.v1alpha1.UserDefinedMonitoring + namedType: com.github.openshift.api.config.v1alpha1.NodeExporterCollectorNetDevConfig default: {} -- name: com.github.openshift.api.config.v1alpha1.ClusterMonitoringStatus - map: - elementType: - scalar: untyped - list: - elementType: - namedType: __untyped_atomic_ - elementRelationship: atomic - map: - elementType: - namedType: __untyped_deduced_ - elementRelationship: separable -- name: com.github.openshift.api.config.v1alpha1.ContainerResource - map: - fields: - - name: limit - type: - namedType: Quantity.resource.api.pkg.apimachinery.k8s.io - - name: name - type: - scalar: string - - name: request - type: - namedType: Quantity.resource.api.pkg.apimachinery.k8s.io -- name: com.github.openshift.api.config.v1alpha1.CustomPKIPolicy - map: - fields: - - name: clientCertificates + - name: processes type: - namedType: com.github.openshift.api.config.v1alpha1.CertificateConfig + namedType: com.github.openshift.api.config.v1alpha1.NodeExporterCollectorProcessesConfig default: {} - - name: defaults + - name: softirqs type: - namedType: com.github.openshift.api.config.v1alpha1.DefaultCertificateConfig + namedType: com.github.openshift.api.config.v1alpha1.NodeExporterCollectorSoftirqsConfig default: {} - - name: servingCertificates + - name: systemd type: - namedType: com.github.openshift.api.config.v1alpha1.CertificateConfig + namedType: com.github.openshift.api.config.v1alpha1.NodeExporterCollectorSystemdConfig default: {} - - name: signerCertificates + - name: tcpStat type: - namedType: com.github.openshift.api.config.v1alpha1.CertificateConfig + namedType: com.github.openshift.api.config.v1alpha1.NodeExporterCollectorTcpStatConfig default: {} -- name: com.github.openshift.api.config.v1alpha1.DefaultCertificateConfig +- name: com.github.openshift.api.config.v1alpha1.NodeExporterCollectorCpufreqConfig map: fields: - - name: key + - name: collectionPolicy type: - namedType: com.github.openshift.api.config.v1alpha1.KeyConfig - default: {} -- name: com.github.openshift.api.config.v1alpha1.DropEqualActionConfig + scalar: string +- name: com.github.openshift.api.config.v1alpha1.NodeExporterCollectorEthtoolConfig map: fields: - - name: targetLabel + - name: collectionPolicy type: scalar: string -- name: com.github.openshift.api.config.v1alpha1.ECDSAKeyConfig +- name: com.github.openshift.api.config.v1alpha1.NodeExporterCollectorKSMDConfig map: fields: - - name: curve + - name: collectionPolicy type: scalar: string -- name: com.github.openshift.api.config.v1alpha1.EtcdBackupSpec +- name: com.github.openshift.api.config.v1alpha1.NodeExporterCollectorMountStatsConfig map: fields: - - name: pvcName + - name: collectionPolicy type: scalar: string - default: "" - - name: retentionPolicy +- name: com.github.openshift.api.config.v1alpha1.NodeExporterCollectorNetClassCollectConfig + map: + fields: + - name: statsGatherer type: - namedType: com.github.openshift.api.config.v1alpha1.RetentionPolicy + scalar: string +- name: com.github.openshift.api.config.v1alpha1.NodeExporterCollectorNetClassConfig + map: + fields: + - name: collect + type: + namedType: com.github.openshift.api.config.v1alpha1.NodeExporterCollectorNetClassCollectConfig default: {} - - name: schedule + - name: collectionPolicy type: scalar: string - default: "" - - name: timeZone + unions: + - discriminator: collectionPolicy + fields: + - fieldName: collect + discriminatorValue: Collect +- name: com.github.openshift.api.config.v1alpha1.NodeExporterCollectorNetDevConfig + map: + fields: + - name: collectionPolicy type: scalar: string - default: "" -- name: com.github.openshift.api.config.v1alpha1.GatherConfig +- name: com.github.openshift.api.config.v1alpha1.NodeExporterCollectorProcessesConfig map: fields: - - name: dataPolicy + - name: collectionPolicy type: scalar: string - - name: disabledGatherers +- name: com.github.openshift.api.config.v1alpha1.NodeExporterCollectorSoftirqsConfig + map: + fields: + - name: collectionPolicy + type: + scalar: string +- name: com.github.openshift.api.config.v1alpha1.NodeExporterCollectorSystemdCollectConfig + map: + fields: + - name: units type: list: elementType: scalar: string - elementRelationship: atomic - - name: storage - type: - namedType: com.github.openshift.api.config.v1alpha1.Storage -- name: com.github.openshift.api.config.v1alpha1.HashModActionConfig + elementRelationship: associative +- name: com.github.openshift.api.config.v1alpha1.NodeExporterCollectorSystemdConfig map: fields: - - name: modulus + - name: collect type: - scalar: numeric - - name: targetLabel + namedType: com.github.openshift.api.config.v1alpha1.NodeExporterCollectorSystemdCollectConfig + default: {} + - name: collectionPolicy type: scalar: string -- name: com.github.openshift.api.config.v1alpha1.InsightsDataGather + unions: + - discriminator: collectionPolicy + fields: + - fieldName: collect + discriminatorValue: Collect +- name: com.github.openshift.api.config.v1alpha1.NodeExporterCollectorTcpStatConfig map: fields: - - name: apiVersion - type: - scalar: string - - name: kind + - name: collectionPolicy type: scalar: string - - name: metadata +- name: com.github.openshift.api.config.v1alpha1.NodeExporterConfig + map: + fields: + - name: collectors type: - namedType: ObjectMeta.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: com.github.openshift.api.config.v1alpha1.NodeExporterCollectorConfig default: {} - - name: spec + - name: ignoredNetworkDevices type: - namedType: com.github.openshift.api.config.v1alpha1.InsightsDataGatherSpec - default: {} - - name: status + list: + elementType: + scalar: string + elementRelationship: associative + - name: maxProcs type: - namedType: com.github.openshift.api.config.v1alpha1.InsightsDataGatherStatus - default: {} -- name: com.github.openshift.api.config.v1alpha1.InsightsDataGatherSpec + scalar: numeric + - name: resources + type: + list: + elementType: + namedType: com.github.openshift.api.config.v1alpha1.ContainerResource + elementRelationship: associative + keys: + - name +- name: com.github.openshift.api.config.v1alpha1.OAuth2 map: fields: - - name: gatherConfig + - name: clientId type: - namedType: com.github.openshift.api.config.v1alpha1.GatherConfig + namedType: com.github.openshift.api.config.v1alpha1.SecretKeySelector default: {} -- name: com.github.openshift.api.config.v1alpha1.InsightsDataGatherStatus - map: - elementType: - scalar: untyped - list: - elementType: - namedType: __untyped_atomic_ - elementRelationship: atomic - map: - elementType: - namedType: __untyped_deduced_ - elementRelationship: separable -- name: com.github.openshift.api.config.v1alpha1.KeepEqualActionConfig - map: - fields: - - name: targetLabel + - name: clientSecret + type: + namedType: com.github.openshift.api.config.v1alpha1.SecretKeySelector + default: {} + - name: endpointParams + type: + list: + elementType: + namedType: com.github.openshift.api.config.v1alpha1.OAuth2EndpointParam + elementRelationship: associative + keys: + - name + - name: scopes + type: + list: + elementType: + scalar: string + elementRelationship: atomic + - name: tokenUrl type: scalar: string -- name: com.github.openshift.api.config.v1alpha1.KeyConfig +- name: com.github.openshift.api.config.v1alpha1.OAuth2EndpointParam map: fields: - - name: algorithm + - name: name type: scalar: string - - name: ecdsa - type: - namedType: com.github.openshift.api.config.v1alpha1.ECDSAKeyConfig - default: {} - - name: rsa + - name: value type: - namedType: com.github.openshift.api.config.v1alpha1.RSAKeyConfig - default: {} - unions: - - discriminator: algorithm - fields: - - fieldName: ecdsa - discriminatorValue: ECDSA - - fieldName: rsa - discriminatorValue: RSA -- name: com.github.openshift.api.config.v1alpha1.KubeStateMetricsConfig + scalar: string +- name: com.github.openshift.api.config.v1alpha1.OpenShiftStateMetricsConfig map: fields: - - name: additionalResourceLabels - type: - list: - elementType: - namedType: com.github.openshift.api.config.v1alpha1.KubeStateMetricsResourceLabels - elementRelationship: associative - keys: - - resource - name: nodeSelector type: map: @@ -5361,78 +5197,117 @@ var schemaYAML = typed.YAMLObject(`types: type: list: elementType: - namedType: Toleration.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.Toleration elementRelationship: atomic - name: topologySpreadConstraints type: list: elementType: - namedType: TopologySpreadConstraint.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.TopologySpreadConstraint elementRelationship: associative keys: - topologyKey - whenUnsatisfiable -- name: com.github.openshift.api.config.v1alpha1.KubeStateMetricsResourceLabels +- name: com.github.openshift.api.config.v1alpha1.PKI map: fields: - - name: labels + - name: apiVersion type: - list: - elementType: - scalar: string - elementRelationship: associative - - name: resource + scalar: string + - name: kind type: scalar: string -- name: com.github.openshift.api.config.v1alpha1.Label + - name: metadata + type: + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta + default: {} + - name: spec + type: + namedType: com.github.openshift.api.config.v1alpha1.PKISpec + default: {} +- name: com.github.openshift.api.config.v1alpha1.PKICertificateManagement map: fields: - - name: key + - name: custom type: - scalar: string - - name: value + namedType: com.github.openshift.api.config.v1alpha1.CustomPKIPolicy + default: {} + - name: mode type: scalar: string -- name: com.github.openshift.api.config.v1alpha1.LabelMapActionConfig + unions: + - discriminator: mode + fields: + - fieldName: custom + discriminatorValue: Custom +- name: com.github.openshift.api.config.v1alpha1.PKISpec map: fields: - - name: replacement + - name: certificateManagement type: - scalar: string -- name: com.github.openshift.api.config.v1alpha1.LowercaseActionConfig + namedType: com.github.openshift.api.config.v1alpha1.PKICertificateManagement + default: {} +- name: com.github.openshift.api.config.v1alpha1.PersistentVolumeClaimReference map: fields: - - name: targetLabel + - name: name type: scalar: string -- name: com.github.openshift.api.config.v1alpha1.MetadataConfig + default: "" +- name: com.github.openshift.api.config.v1alpha1.PersistentVolumeConfig map: fields: - - name: custom + - name: claim type: - namedType: com.github.openshift.api.config.v1alpha1.MetadataConfigCustom + namedType: com.github.openshift.api.config.v1alpha1.PersistentVolumeClaimReference default: {} - - name: sendPolicy + - name: mountPath type: scalar: string -- name: com.github.openshift.api.config.v1alpha1.MetadataConfigCustom +- name: com.github.openshift.api.config.v1alpha1.PrometheusConfig map: fields: - - name: sendIntervalSeconds + - name: additionalAlertmanagerConfigs + type: + list: + elementType: + namedType: com.github.openshift.api.config.v1alpha1.AdditionalAlertmanagerConfig + elementRelationship: associative + keys: + - name + - name: collectionProfile + type: + scalar: string + - name: enforcedBodySizeLimitBytes type: scalar: numeric -- name: com.github.openshift.api.config.v1alpha1.MetricsServerConfig - map: - fields: - - name: audit + - name: externalLabels type: - namedType: com.github.openshift.api.config.v1alpha1.Audit - default: {} + list: + elementType: + namedType: com.github.openshift.api.config.v1alpha1.Label + elementRelationship: associative + keys: + - key + - name: logLevel + type: + scalar: string - name: nodeSelector type: map: elementType: scalar: string + - name: queryLogFile + type: + scalar: string + - name: remoteWrite + type: + list: + elementType: + namedType: com.github.openshift.api.config.v1alpha1.RemoteWriteSpec + elementRelationship: associative + keys: + - name - name: resources type: list: @@ -5441,27 +5316,54 @@ var schemaYAML = typed.YAMLObject(`types: elementRelationship: associative keys: - name + - name: retention + type: + namedType: com.github.openshift.api.config.v1alpha1.Retention + default: {} - name: tolerations type: list: elementType: - namedType: Toleration.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.Toleration elementRelationship: atomic - name: topologySpreadConstraints type: list: elementType: - namedType: TopologySpreadConstraint.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.TopologySpreadConstraint elementRelationship: associative keys: - topologyKey - whenUnsatisfiable - - name: verbosity + - name: volumeClaimTemplate type: - scalar: string -- name: com.github.openshift.api.config.v1alpha1.MonitoringPluginConfig + namedType: io.k8s.api.core.v1.PersistentVolumeClaim +- name: com.github.openshift.api.config.v1alpha1.PrometheusOperatorAdmissionWebhookConfig + map: + fields: + - name: resources + type: + list: + elementType: + namedType: com.github.openshift.api.config.v1alpha1.ContainerResource + elementRelationship: associative + keys: + - name + - name: topologySpreadConstraints + type: + list: + elementType: + namedType: io.k8s.api.core.v1.TopologySpreadConstraint + elementRelationship: associative + keys: + - topologyKey + - whenUnsatisfiable +- name: com.github.openshift.api.config.v1alpha1.PrometheusOperatorConfig map: fields: + - name: logLevel + type: + scalar: string - name: nodeSelector type: map: @@ -5479,388 +5381,336 @@ var schemaYAML = typed.YAMLObject(`types: type: list: elementType: - namedType: Toleration.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.Toleration elementRelationship: atomic - name: topologySpreadConstraints type: list: elementType: - namedType: TopologySpreadConstraint.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.TopologySpreadConstraint elementRelationship: associative keys: - topologyKey - whenUnsatisfiable -- name: com.github.openshift.api.config.v1alpha1.NodeExporterCollectorBuddyInfoConfig +- name: com.github.openshift.api.config.v1alpha1.PrometheusRemoteWriteHeader map: fields: - - name: collectionPolicy + - name: name type: scalar: string -- name: com.github.openshift.api.config.v1alpha1.NodeExporterCollectorConfig + - name: value + type: + scalar: string +- name: com.github.openshift.api.config.v1alpha1.QueueConfig map: fields: - - name: buddyInfo - type: - namedType: com.github.openshift.api.config.v1alpha1.NodeExporterCollectorBuddyInfoConfig - default: {} - - name: cpuFreq - type: - namedType: com.github.openshift.api.config.v1alpha1.NodeExporterCollectorCpufreqConfig - default: {} - - name: ethtool - type: - namedType: com.github.openshift.api.config.v1alpha1.NodeExporterCollectorEthtoolConfig - default: {} - - name: ksmd - type: - namedType: com.github.openshift.api.config.v1alpha1.NodeExporterCollectorKSMDConfig - default: {} - - name: mountStats - type: - namedType: com.github.openshift.api.config.v1alpha1.NodeExporterCollectorMountStatsConfig - default: {} - - name: netClass + - name: batchSendDeadlineSeconds type: - namedType: com.github.openshift.api.config.v1alpha1.NodeExporterCollectorNetClassConfig - default: {} - - name: netDev + scalar: numeric + - name: capacity type: - namedType: com.github.openshift.api.config.v1alpha1.NodeExporterCollectorNetDevConfig - default: {} - - name: processes + scalar: numeric + - name: maxBackoffMilliseconds type: - namedType: com.github.openshift.api.config.v1alpha1.NodeExporterCollectorProcessesConfig - default: {} - - name: softirqs + scalar: numeric + - name: maxSamplesPerSend type: - namedType: com.github.openshift.api.config.v1alpha1.NodeExporterCollectorSoftirqsConfig - default: {} - - name: systemd + scalar: numeric + - name: maxShards type: - namedType: com.github.openshift.api.config.v1alpha1.NodeExporterCollectorSystemdConfig - default: {} - - name: tcpStat + scalar: numeric + - name: minBackoffMilliseconds type: - namedType: com.github.openshift.api.config.v1alpha1.NodeExporterCollectorTcpStatConfig - default: {} -- name: com.github.openshift.api.config.v1alpha1.NodeExporterCollectorCpufreqConfig - map: - fields: - - name: collectionPolicy + scalar: numeric + - name: minShards type: - scalar: string -- name: com.github.openshift.api.config.v1alpha1.NodeExporterCollectorEthtoolConfig - map: - fields: - - name: collectionPolicy + scalar: numeric + - name: rateLimitedAction type: scalar: string -- name: com.github.openshift.api.config.v1alpha1.NodeExporterCollectorKSMDConfig +- name: com.github.openshift.api.config.v1alpha1.RSAKeyConfig map: fields: - - name: collectionPolicy + - name: keySize type: - scalar: string -- name: com.github.openshift.api.config.v1alpha1.NodeExporterCollectorMountStatsConfig + scalar: numeric +- name: com.github.openshift.api.config.v1alpha1.RelabelActionConfig map: fields: - - name: collectionPolicy + - name: dropEqual type: - scalar: string -- name: com.github.openshift.api.config.v1alpha1.NodeExporterCollectorNetClassCollectConfig - map: - fields: - - name: statsGatherer + namedType: com.github.openshift.api.config.v1alpha1.DropEqualActionConfig + default: {} + - name: hashMod type: - scalar: string -- name: com.github.openshift.api.config.v1alpha1.NodeExporterCollectorNetClassConfig - map: - fields: - - name: collect + namedType: com.github.openshift.api.config.v1alpha1.HashModActionConfig + default: {} + - name: keepEqual type: - namedType: com.github.openshift.api.config.v1alpha1.NodeExporterCollectorNetClassCollectConfig + namedType: com.github.openshift.api.config.v1alpha1.KeepEqualActionConfig default: {} - - name: collectionPolicy + - name: labelMap type: - scalar: string - unions: - - discriminator: collectionPolicy - fields: - - fieldName: collect - discriminatorValue: Collect -- name: com.github.openshift.api.config.v1alpha1.NodeExporterCollectorNetDevConfig - map: - fields: - - name: collectionPolicy + namedType: com.github.openshift.api.config.v1alpha1.LabelMapActionConfig + default: {} + - name: lowercase type: - scalar: string -- name: com.github.openshift.api.config.v1alpha1.NodeExporterCollectorProcessesConfig - map: - fields: - - name: collectionPolicy + namedType: com.github.openshift.api.config.v1alpha1.LowercaseActionConfig + default: {} + - name: replace type: - scalar: string -- name: com.github.openshift.api.config.v1alpha1.NodeExporterCollectorSoftirqsConfig - map: - fields: - - name: collectionPolicy + namedType: com.github.openshift.api.config.v1alpha1.ReplaceActionConfig + default: {} + - name: type type: scalar: string -- name: com.github.openshift.api.config.v1alpha1.NodeExporterCollectorSystemdCollectConfig - map: - fields: - - name: units - type: - list: - elementType: - scalar: string - elementRelationship: associative -- name: com.github.openshift.api.config.v1alpha1.NodeExporterCollectorSystemdConfig - map: - fields: - - name: collect + - name: uppercase type: - namedType: com.github.openshift.api.config.v1alpha1.NodeExporterCollectorSystemdCollectConfig + namedType: com.github.openshift.api.config.v1alpha1.UppercaseActionConfig default: {} - - name: collectionPolicy - type: - scalar: string unions: - - discriminator: collectionPolicy + - discriminator: type fields: - - fieldName: collect - discriminatorValue: Collect -- name: com.github.openshift.api.config.v1alpha1.NodeExporterCollectorTcpStatConfig - map: - fields: - - name: collectionPolicy - type: - scalar: string -- name: com.github.openshift.api.config.v1alpha1.NodeExporterConfig + - fieldName: dropEqual + discriminatorValue: DropEqual + - fieldName: hashMod + discriminatorValue: HashMod + - fieldName: keepEqual + discriminatorValue: KeepEqual + - fieldName: labelMap + discriminatorValue: LabelMap + - fieldName: lowercase + discriminatorValue: Lowercase + - fieldName: replace + discriminatorValue: Replace + - fieldName: uppercase + discriminatorValue: Uppercase +- name: com.github.openshift.api.config.v1alpha1.RelabelConfig map: fields: - - name: collectors + - name: action type: - namedType: com.github.openshift.api.config.v1alpha1.NodeExporterCollectorConfig + namedType: com.github.openshift.api.config.v1alpha1.RelabelActionConfig default: {} - - name: ignoredNetworkDevices + - name: name type: - list: - elementType: - scalar: string - elementRelationship: associative - - name: maxProcs + scalar: string + - name: regex type: - scalar: numeric - - name: resources + scalar: string + - name: separator + type: + scalar: string + - name: sourceLabels type: list: elementType: - namedType: com.github.openshift.api.config.v1alpha1.ContainerResource + scalar: string elementRelationship: associative - keys: - - name -- name: com.github.openshift.api.config.v1alpha1.OAuth2 +- name: com.github.openshift.api.config.v1alpha1.RemoteWriteAuthorization map: fields: - - name: clientId + - name: authorization type: namedType: com.github.openshift.api.config.v1alpha1.SecretKeySelector default: {} - - name: clientSecret + - name: basicAuth type: - namedType: com.github.openshift.api.config.v1alpha1.SecretKeySelector + namedType: com.github.openshift.api.config.v1alpha1.BasicAuth default: {} - - name: endpointParams + - name: oauth2 type: - list: - elementType: - namedType: com.github.openshift.api.config.v1alpha1.OAuth2EndpointParam - elementRelationship: associative - keys: - - name - - name: scopes + namedType: com.github.openshift.api.config.v1alpha1.OAuth2 + default: {} + - name: sigv4 type: - list: - elementType: - scalar: string - elementRelationship: atomic - - name: tokenUrl + namedType: com.github.openshift.api.config.v1alpha1.Sigv4 + default: {} + - name: type type: scalar: string -- name: com.github.openshift.api.config.v1alpha1.OAuth2EndpointParam + unions: + - discriminator: type + fields: + - fieldName: authorization + discriminatorValue: Authorization + - fieldName: basicAuth + discriminatorValue: BasicAuth + - fieldName: oauth2 + discriminatorValue: OAuth2 + - fieldName: sigv4 + discriminatorValue: Sigv4 +- name: com.github.openshift.api.config.v1alpha1.RemoteWriteSpec map: fields: - - name: name + - name: authorization type: - scalar: string - - name: value + namedType: com.github.openshift.api.config.v1alpha1.RemoteWriteAuthorization + default: {} + - name: exemplarsMode type: scalar: string -- name: com.github.openshift.api.config.v1alpha1.OpenShiftStateMetricsConfig - map: - fields: - - name: nodeSelector - type: - map: - elementType: - scalar: string - - name: resources + - name: headers type: list: elementType: - namedType: com.github.openshift.api.config.v1alpha1.ContainerResource + namedType: com.github.openshift.api.config.v1alpha1.PrometheusRemoteWriteHeader elementRelationship: associative keys: - name - - name: tolerations + - name: metadataConfig type: - list: - elementType: - namedType: Toleration.v1.core.api.k8s.io - elementRelationship: atomic - - name: topologySpreadConstraints + namedType: com.github.openshift.api.config.v1alpha1.MetadataConfig + default: {} + - name: name + type: + scalar: string + - name: proxyUrl + type: + scalar: string + - name: queueConfig + type: + namedType: com.github.openshift.api.config.v1alpha1.QueueConfig + default: {} + - name: remoteTimeoutSeconds + type: + scalar: numeric + - name: tlsConfig + type: + namedType: com.github.openshift.api.config.v1alpha1.TLSConfig + default: {} + - name: url + type: + scalar: string + - name: writeRelabelConfigs type: list: elementType: - namedType: TopologySpreadConstraint.v1.core.api.k8s.io + namedType: com.github.openshift.api.config.v1alpha1.RelabelConfig elementRelationship: associative keys: - - topologyKey - - whenUnsatisfiable -- name: com.github.openshift.api.config.v1alpha1.PKI + - name +- name: com.github.openshift.api.config.v1alpha1.ReplaceActionConfig map: fields: - - name: apiVersion + - name: replacement type: scalar: string - - name: kind + - name: targetLabel type: scalar: string - - name: metadata +- name: com.github.openshift.api.config.v1alpha1.Retention + map: + fields: + - name: duration type: - namedType: ObjectMeta.v1.meta.apis.pkg.apimachinery.k8s.io - default: {} - - name: spec + scalar: string + - name: size type: - namedType: com.github.openshift.api.config.v1alpha1.PKISpec - default: {} -- name: com.github.openshift.api.config.v1alpha1.PKICertificateManagement + scalar: string +- name: com.github.openshift.api.config.v1alpha1.RetentionNumberConfig map: fields: - - name: custom + - name: maxNumberOfBackups type: - namedType: com.github.openshift.api.config.v1alpha1.CustomPKIPolicy - default: {} - - name: mode + scalar: numeric + default: 0 +- name: com.github.openshift.api.config.v1alpha1.RetentionPolicy + map: + fields: + - name: retentionNumber + type: + namedType: com.github.openshift.api.config.v1alpha1.RetentionNumberConfig + - name: retentionSize + type: + namedType: com.github.openshift.api.config.v1alpha1.RetentionSizeConfig + - name: retentionType type: scalar: string + default: "" unions: - - discriminator: mode + - discriminator: retentionType fields: - - fieldName: custom - discriminatorValue: Custom -- name: com.github.openshift.api.config.v1alpha1.PKISpec + - fieldName: retentionNumber + discriminatorValue: RetentionNumber + - fieldName: retentionSize + discriminatorValue: RetentionSize +- name: com.github.openshift.api.config.v1alpha1.RetentionSizeConfig map: fields: - - name: certificateManagement + - name: maxSizeOfBackupsGb type: - namedType: com.github.openshift.api.config.v1alpha1.PKICertificateManagement - default: {} -- name: com.github.openshift.api.config.v1alpha1.PersistentVolumeClaimReference + scalar: numeric + default: 0 +- name: com.github.openshift.api.config.v1alpha1.SecretKeySelector map: fields: + - name: key + type: + scalar: string - name: name type: scalar: string - default: "" -- name: com.github.openshift.api.config.v1alpha1.PersistentVolumeConfig + elementRelationship: atomic +- name: com.github.openshift.api.config.v1alpha1.Sigv4 map: fields: - - name: claim + - name: accessKey type: - namedType: com.github.openshift.api.config.v1alpha1.PersistentVolumeClaimReference + namedType: com.github.openshift.api.config.v1alpha1.SecretKeySelector default: {} - - name: mountPath + - name: profile type: scalar: string -- name: com.github.openshift.api.config.v1alpha1.PrometheusConfig - map: - fields: - - name: additionalAlertmanagerConfigs - type: - list: - elementType: - namedType: com.github.openshift.api.config.v1alpha1.AdditionalAlertmanagerConfig - elementRelationship: associative - keys: - - name - - name: collectionProfile + - name: region type: scalar: string - - name: enforcedBodySizeLimitBytes - type: - scalar: numeric - - name: externalLabels - type: - list: - elementType: - namedType: com.github.openshift.api.config.v1alpha1.Label - elementRelationship: associative - keys: - - key - - name: logLevel + - name: roleArn type: scalar: string - - name: nodeSelector + - name: secretKey type: - map: - elementType: - scalar: string - - name: queryLogFile + namedType: com.github.openshift.api.config.v1alpha1.SecretKeySelector + default: {} +- name: com.github.openshift.api.config.v1alpha1.Storage + map: + fields: + - name: persistentVolume type: - scalar: string - - name: remoteWrite + namedType: com.github.openshift.api.config.v1alpha1.PersistentVolumeConfig + - name: type type: - list: - elementType: - namedType: com.github.openshift.api.config.v1alpha1.RemoteWriteSpec - elementRelationship: associative - keys: - - name - - name: resources + scalar: string + default: "" +- name: com.github.openshift.api.config.v1alpha1.TLSConfig + map: + fields: + - name: ca type: - list: - elementType: - namedType: com.github.openshift.api.config.v1alpha1.ContainerResource - elementRelationship: associative - keys: - - name - - name: retention + namedType: com.github.openshift.api.config.v1alpha1.SecretKeySelector + default: {} + - name: cert type: - namedType: com.github.openshift.api.config.v1alpha1.Retention + namedType: com.github.openshift.api.config.v1alpha1.SecretKeySelector default: {} - - name: tolerations + - name: certificateVerification type: - list: - elementType: - namedType: Toleration.v1.core.api.k8s.io - elementRelationship: atomic - - name: topologySpreadConstraints + scalar: string + - name: key type: - list: - elementType: - namedType: TopologySpreadConstraint.v1.core.api.k8s.io - elementRelationship: associative - keys: - - topologyKey - - whenUnsatisfiable - - name: volumeClaimTemplate + namedType: com.github.openshift.api.config.v1alpha1.SecretKeySelector + default: {} + - name: serverName type: - namedType: PersistentVolumeClaim.v1.core.api.k8s.io -- name: com.github.openshift.api.config.v1alpha1.PrometheusOperatorAdmissionWebhookConfig + scalar: string +- name: com.github.openshift.api.config.v1alpha1.TelemeterClientConfig map: fields: + - name: nodeSelector + type: + map: + elementType: + scalar: string - name: resources type: list: @@ -5869,18 +5719,27 @@ var schemaYAML = typed.YAMLObject(`types: elementRelationship: associative keys: - name + - name: tolerations + type: + list: + elementType: + namedType: io.k8s.api.core.v1.Toleration + elementRelationship: atomic - name: topologySpreadConstraints type: list: elementType: - namedType: TopologySpreadConstraint.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.TopologySpreadConstraint elementRelationship: associative keys: - topologyKey - whenUnsatisfiable -- name: com.github.openshift.api.config.v1alpha1.PrometheusOperatorConfig +- name: com.github.openshift.api.config.v1alpha1.ThanosQuerierConfig map: fields: + - name: crossOriginRequestPolicy + type: + scalar: string - name: logLevel type: scalar: string @@ -5889,6 +5748,10 @@ var schemaYAML = typed.YAMLObject(`types: map: elementType: scalar: string + - name: requestLogging + type: + namedType: com.github.openshift.api.config.v1alpha1.ThanosQuerierRequestLoggingConfig + default: {} - name: resources type: list: @@ -5901,501 +5764,703 @@ var schemaYAML = typed.YAMLObject(`types: type: list: elementType: - namedType: Toleration.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.Toleration elementRelationship: atomic - name: topologySpreadConstraints type: list: elementType: - namedType: TopologySpreadConstraint.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.TopologySpreadConstraint elementRelationship: associative keys: - topologyKey - whenUnsatisfiable -- name: com.github.openshift.api.config.v1alpha1.PrometheusRemoteWriteHeader +- name: com.github.openshift.api.config.v1alpha1.ThanosQuerierRequestLoggingConfig map: fields: - - name: name + - name: policy type: scalar: string - - name: value +- name: com.github.openshift.api.config.v1alpha1.UppercaseActionConfig + map: + fields: + - name: targetLabel type: scalar: string -- name: com.github.openshift.api.config.v1alpha1.QueueConfig +- name: com.github.openshift.api.config.v1alpha1.UserDefinedMonitoring map: fields: - - name: batchSendDeadlineSeconds - type: - scalar: numeric - - name: capacity + - name: mode type: - scalar: numeric - - name: maxBackoffMilliseconds + scalar: string + default: "" +- name: com.github.openshift.api.config.v1alpha2.Custom + map: + fields: + - name: configs type: - scalar: numeric - - name: maxSamplesPerSend + list: + elementType: + namedType: com.github.openshift.api.config.v1alpha2.GathererConfig + elementRelationship: associative + keys: + - name +- name: com.github.openshift.api.config.v1alpha2.GatherConfig + map: + fields: + - name: dataPolicy type: - scalar: numeric - - name: maxShards + list: + elementType: + scalar: string + elementRelationship: atomic + - name: gatherers type: - scalar: numeric - - name: minBackoffMilliseconds + namedType: com.github.openshift.api.config.v1alpha2.Gatherers + default: {} + - name: storage type: - scalar: numeric - - name: minShards + namedType: com.github.openshift.api.config.v1alpha2.Storage +- name: com.github.openshift.api.config.v1alpha2.GathererConfig + map: + fields: + - name: name type: - scalar: numeric - - name: rateLimitedAction + scalar: string + default: "" + - name: state type: scalar: string -- name: com.github.openshift.api.config.v1alpha1.RSAKeyConfig + default: "" +- name: com.github.openshift.api.config.v1alpha2.Gatherers map: fields: - - name: keySize + - name: custom type: - scalar: numeric -- name: com.github.openshift.api.config.v1alpha1.RelabelActionConfig + namedType: com.github.openshift.api.config.v1alpha2.Custom + - name: mode + type: + scalar: string + default: "" +- name: com.github.openshift.api.config.v1alpha2.InsightsDataGather map: fields: - - name: dropEqual + - name: apiVersion type: - namedType: com.github.openshift.api.config.v1alpha1.DropEqualActionConfig - default: {} - - name: hashMod + scalar: string + - name: kind type: - namedType: com.github.openshift.api.config.v1alpha1.HashModActionConfig + scalar: string + - name: metadata + type: + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta default: {} - - name: keepEqual + - name: spec type: - namedType: com.github.openshift.api.config.v1alpha1.KeepEqualActionConfig + namedType: com.github.openshift.api.config.v1alpha2.InsightsDataGatherSpec default: {} - - name: labelMap + - name: status type: - namedType: com.github.openshift.api.config.v1alpha1.LabelMapActionConfig + namedType: com.github.openshift.api.config.v1alpha2.InsightsDataGatherStatus default: {} - - name: lowercase +- name: com.github.openshift.api.config.v1alpha2.InsightsDataGatherSpec + map: + fields: + - name: gatherConfig type: - namedType: com.github.openshift.api.config.v1alpha1.LowercaseActionConfig + namedType: com.github.openshift.api.config.v1alpha2.GatherConfig default: {} - - name: replace +- name: com.github.openshift.api.config.v1alpha2.InsightsDataGatherStatus + map: + elementType: + scalar: untyped + list: + elementType: + namedType: __untyped_atomic_ + elementRelationship: atomic + map: + elementType: + namedType: __untyped_deduced_ + elementRelationship: separable +- name: com.github.openshift.api.config.v1alpha2.PersistentVolumeClaimReference + map: + fields: + - name: name type: - namedType: com.github.openshift.api.config.v1alpha1.ReplaceActionConfig + scalar: string + default: "" +- name: com.github.openshift.api.config.v1alpha2.PersistentVolumeConfig + map: + fields: + - name: claim + type: + namedType: com.github.openshift.api.config.v1alpha2.PersistentVolumeClaimReference default: {} + - name: mountPath + type: + scalar: string +- name: com.github.openshift.api.config.v1alpha2.Storage + map: + fields: + - name: persistentVolume + type: + namedType: com.github.openshift.api.config.v1alpha2.PersistentVolumeConfig - name: type type: scalar: string - - name: uppercase + default: "" +- name: io.k8s.api.core.v1.ConfigMapKeySelector + map: + fields: + - name: key type: - namedType: com.github.openshift.api.config.v1alpha1.UppercaseActionConfig + scalar: string + default: "" + - name: name + type: + scalar: string + default: "" + - name: optional + type: + scalar: boolean + elementRelationship: atomic +- name: io.k8s.api.core.v1.EnvVar + map: + fields: + - name: name + type: + scalar: string + default: "" + - name: value + type: + scalar: string + - name: valueFrom + type: + namedType: io.k8s.api.core.v1.EnvVarSource +- name: io.k8s.api.core.v1.EnvVarSource + map: + fields: + - name: configMapKeyRef + type: + namedType: io.k8s.api.core.v1.ConfigMapKeySelector + - name: fieldRef + type: + namedType: io.k8s.api.core.v1.ObjectFieldSelector + - name: fileKeyRef + type: + namedType: io.k8s.api.core.v1.FileKeySelector + - name: resourceFieldRef + type: + namedType: io.k8s.api.core.v1.ResourceFieldSelector + - name: secretKeyRef + type: + namedType: io.k8s.api.core.v1.SecretKeySelector +- name: io.k8s.api.core.v1.FileKeySelector + map: + fields: + - name: key + type: + scalar: string + default: "" + - name: optional + type: + scalar: boolean + default: false + - name: path + type: + scalar: string + default: "" + - name: volumeName + type: + scalar: string + default: "" + elementRelationship: atomic +- name: io.k8s.api.core.v1.ModifyVolumeStatus + map: + fields: + - name: status + type: + scalar: string + default: "" + - name: targetVolumeAttributesClassName + type: + scalar: string +- name: io.k8s.api.core.v1.ObjectFieldSelector + map: + fields: + - name: apiVersion + type: + scalar: string + - name: fieldPath + type: + scalar: string + default: "" + elementRelationship: atomic +- name: io.k8s.api.core.v1.PersistentVolumeClaim + map: + fields: + - name: apiVersion + type: + scalar: string + - name: kind + type: + scalar: string + - name: metadata + type: + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta default: {} - unions: - - discriminator: type - fields: - - fieldName: dropEqual - discriminatorValue: DropEqual - - fieldName: hashMod - discriminatorValue: HashMod - - fieldName: keepEqual - discriminatorValue: KeepEqual - - fieldName: labelMap - discriminatorValue: LabelMap - - fieldName: lowercase - discriminatorValue: Lowercase - - fieldName: replace - discriminatorValue: Replace - - fieldName: uppercase - discriminatorValue: Uppercase -- name: com.github.openshift.api.config.v1alpha1.RelabelConfig + - name: spec + type: + namedType: io.k8s.api.core.v1.PersistentVolumeClaimSpec + default: {} + - name: status + type: + namedType: io.k8s.api.core.v1.PersistentVolumeClaimStatus + default: {} +- name: io.k8s.api.core.v1.PersistentVolumeClaimCondition map: fields: - - name: action + - name: lastProbeTime type: - namedType: com.github.openshift.api.config.v1alpha1.RelabelActionConfig - default: {} - - name: name + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.Time + - name: lastTransitionTime + type: + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.Time + - name: message type: scalar: string - - name: regex + - name: reason type: scalar: string - - name: separator + - name: status type: scalar: string - - name: sourceLabels + default: "" + - name: type + type: + scalar: string + default: "" +- name: io.k8s.api.core.v1.PersistentVolumeClaimSpec + map: + fields: + - name: accessModes type: list: elementType: scalar: string - elementRelationship: associative -- name: com.github.openshift.api.config.v1alpha1.RemoteWriteAuthorization - map: - fields: - - name: basicAuth + elementRelationship: atomic + - name: dataSource type: - namedType: com.github.openshift.api.config.v1alpha1.BasicAuth - default: {} - - name: bearerToken + namedType: io.k8s.api.core.v1.TypedLocalObjectReference + - name: dataSourceRef type: - namedType: com.github.openshift.api.config.v1alpha1.SecretKeySelector - default: {} - - name: oauth2 + namedType: io.k8s.api.core.v1.TypedObjectReference + - name: resources type: - namedType: com.github.openshift.api.config.v1alpha1.OAuth2 + namedType: io.k8s.api.core.v1.VolumeResourceRequirements default: {} - - name: safeAuthorization + - name: selector type: - namedType: SecretKeySelector.v1.core.api.k8s.io - - name: sigv4 + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector + - name: storageClassName type: - namedType: com.github.openshift.api.config.v1alpha1.Sigv4 - default: {} - - name: type + scalar: string + - name: volumeAttributesClassName type: scalar: string - unions: - - discriminator: type - fields: - - fieldName: basicAuth - discriminatorValue: BasicAuth - - fieldName: bearerToken - discriminatorValue: BearerToken - - fieldName: oauth2 - discriminatorValue: OAuth2 - - fieldName: safeAuthorization - discriminatorValue: SafeAuthorization - - fieldName: sigv4 - discriminatorValue: Sigv4 -- name: com.github.openshift.api.config.v1alpha1.RemoteWriteSpec + - name: volumeMode + type: + scalar: string + - name: volumeName + type: + scalar: string +- name: io.k8s.api.core.v1.PersistentVolumeClaimStatus map: fields: - - name: authorization + - name: accessModes type: - namedType: com.github.openshift.api.config.v1alpha1.RemoteWriteAuthorization - default: {} - - name: exemplarsMode + list: + elementType: + scalar: string + elementRelationship: atomic + - name: allocatedResourceStatuses type: - scalar: string - - name: headers + map: + elementType: + scalar: string + elementRelationship: separable + - name: allocatedResources + type: + map: + elementType: + namedType: io.k8s.apimachinery.pkg.api.resource.Quantity + - name: capacity + type: + map: + elementType: + namedType: io.k8s.apimachinery.pkg.api.resource.Quantity + - name: conditions type: list: elementType: - namedType: com.github.openshift.api.config.v1alpha1.PrometheusRemoteWriteHeader + namedType: io.k8s.api.core.v1.PersistentVolumeClaimCondition elementRelationship: associative keys: - - name - - name: metadataConfig + - type + - name: currentVolumeAttributesClassName type: - namedType: com.github.openshift.api.config.v1alpha1.MetadataConfig - default: {} - - name: name + scalar: string + - name: modifyVolumeStatus + type: + namedType: io.k8s.api.core.v1.ModifyVolumeStatus + - name: phase type: scalar: string - - name: proxyUrl +- name: io.k8s.api.core.v1.ResourceClaim + map: + fields: + - name: name type: scalar: string - - name: queueConfig + default: "" + - name: request type: - namedType: com.github.openshift.api.config.v1alpha1.QueueConfig - default: {} - - name: remoteTimeoutSeconds + scalar: string +- name: io.k8s.api.core.v1.ResourceFieldSelector + map: + fields: + - name: containerName type: - scalar: numeric - - name: tlsConfig + scalar: string + - name: divisor type: - namedType: com.github.openshift.api.config.v1alpha1.TLSConfig - default: {} - - name: url + namedType: io.k8s.apimachinery.pkg.api.resource.Quantity + - name: resource type: scalar: string - - name: writeRelabelConfigs + default: "" + elementRelationship: atomic +- name: io.k8s.api.core.v1.ResourceRequirements + map: + fields: + - name: claims type: list: elementType: - namedType: com.github.openshift.api.config.v1alpha1.RelabelConfig + namedType: io.k8s.api.core.v1.ResourceClaim elementRelationship: associative keys: - name -- name: com.github.openshift.api.config.v1alpha1.ReplaceActionConfig + - name: limits + type: + map: + elementType: + namedType: io.k8s.apimachinery.pkg.api.resource.Quantity + - name: requests + type: + map: + elementType: + namedType: io.k8s.apimachinery.pkg.api.resource.Quantity +- name: io.k8s.api.core.v1.SecretKeySelector map: fields: - - name: replacement + - name: key type: scalar: string - - name: targetLabel + default: "" + - name: name type: scalar: string -- name: com.github.openshift.api.config.v1alpha1.Retention + default: "" + - name: optional + type: + scalar: boolean + elementRelationship: atomic +- name: io.k8s.api.core.v1.Toleration map: fields: - - name: duration + - name: effect type: scalar: string - - name: size + - name: key type: scalar: string -- name: com.github.openshift.api.config.v1alpha1.RetentionNumberConfig + - name: operator + type: + scalar: string + - name: tolerationSeconds + type: + scalar: numeric + - name: value + type: + scalar: string +- name: io.k8s.api.core.v1.TopologySpreadConstraint map: fields: - - name: maxNumberOfBackups + - name: labelSelector + type: + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector + - name: matchLabelKeys + type: + list: + elementType: + scalar: string + elementRelationship: atomic + - name: maxSkew type: scalar: numeric default: 0 -- name: com.github.openshift.api.config.v1alpha1.RetentionPolicy + - name: minDomains + type: + scalar: numeric + - name: nodeAffinityPolicy + type: + scalar: string + - name: nodeTaintsPolicy + type: + scalar: string + - name: topologyKey + type: + scalar: string + default: "" + - name: whenUnsatisfiable + type: + scalar: string + default: "" +- name: io.k8s.api.core.v1.TypedLocalObjectReference map: fields: - - name: retentionNumber + - name: apiGroup type: - namedType: com.github.openshift.api.config.v1alpha1.RetentionNumberConfig - - name: retentionSize + scalar: string + - name: kind type: - namedType: com.github.openshift.api.config.v1alpha1.RetentionSizeConfig - - name: retentionType + scalar: string + default: "" + - name: name type: scalar: string default: "" - unions: - - discriminator: retentionType - fields: - - fieldName: retentionNumber - discriminatorValue: RetentionNumber - - fieldName: retentionSize - discriminatorValue: RetentionSize -- name: com.github.openshift.api.config.v1alpha1.RetentionSizeConfig + elementRelationship: atomic +- name: io.k8s.api.core.v1.TypedObjectReference map: fields: - - name: maxSizeOfBackupsGb + - name: apiGroup type: - scalar: numeric - default: 0 -- name: com.github.openshift.api.config.v1alpha1.SecretKeySelector + scalar: string + - name: kind + type: + scalar: string + default: "" + - name: name + type: + scalar: string + default: "" + - name: namespace + type: + scalar: string +- name: io.k8s.api.core.v1.VolumeResourceRequirements map: fields: - - name: key + - name: limits + type: + map: + elementType: + namedType: io.k8s.apimachinery.pkg.api.resource.Quantity + - name: requests + type: + map: + elementType: + namedType: io.k8s.apimachinery.pkg.api.resource.Quantity +- name: io.k8s.apimachinery.pkg.api.resource.Quantity + scalar: untyped +- name: io.k8s.apimachinery.pkg.apis.meta.v1.Condition + map: + fields: + - name: lastTransitionTime + type: + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.Time + - name: message + type: + scalar: string + default: "" + - name: observedGeneration + type: + scalar: numeric + - name: reason + type: + scalar: string + default: "" + - name: status type: scalar: string - - name: name + default: "" + - name: type type: scalar: string - elementRelationship: atomic -- name: com.github.openshift.api.config.v1alpha1.Sigv4 + default: "" +- name: io.k8s.apimachinery.pkg.apis.meta.v1.Duration + scalar: string +- name: io.k8s.apimachinery.pkg.apis.meta.v1.FieldsV1 + map: + elementType: + scalar: untyped + list: + elementType: + namedType: __untyped_atomic_ + elementRelationship: atomic + map: + elementType: + namedType: __untyped_deduced_ + elementRelationship: separable +- name: io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector map: fields: - - name: accessKey + - name: matchExpressions type: - namedType: com.github.openshift.api.config.v1alpha1.SecretKeySelector - default: {} - - name: profile + list: + elementType: + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement + elementRelationship: atomic + - name: matchLabels type: - scalar: string - - name: region + map: + elementType: + scalar: string + elementRelationship: atomic +- name: io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement + map: + fields: + - name: key type: scalar: string - - name: roleArn + default: "" + - name: operator type: scalar: string - - name: secretKey + default: "" + - name: values type: - namedType: com.github.openshift.api.config.v1alpha1.SecretKeySelector - default: {} -- name: com.github.openshift.api.config.v1alpha1.Storage + list: + elementType: + scalar: string + elementRelationship: atomic +- name: io.k8s.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry map: fields: - - name: persistentVolume - type: - namedType: com.github.openshift.api.config.v1alpha1.PersistentVolumeConfig - - name: type + - name: apiVersion type: scalar: string - default: "" -- name: com.github.openshift.api.config.v1alpha1.TLSConfig - map: - fields: - - name: ca + - name: fieldsType type: - namedType: com.github.openshift.api.config.v1alpha1.SecretKeySelector - default: {} - - name: cert + scalar: string + - name: fieldsV1 type: - namedType: com.github.openshift.api.config.v1alpha1.SecretKeySelector - default: {} - - name: certificateVerification + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.FieldsV1 + - name: manager type: scalar: string - - name: key + - name: operation type: - namedType: com.github.openshift.api.config.v1alpha1.SecretKeySelector - default: {} - - name: serverName + scalar: string + - name: subresource type: scalar: string -- name: com.github.openshift.api.config.v1alpha1.TelemeterClientConfig + - name: time + type: + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.Time +- name: io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta map: fields: - - name: nodeSelector + - name: annotations type: map: elementType: scalar: string - - name: resources + - name: creationTimestamp type: - list: - elementType: - namedType: com.github.openshift.api.config.v1alpha1.ContainerResource - elementRelationship: associative - keys: - - name - - name: tolerations + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.Time + - name: deletionGracePeriodSeconds type: - list: - elementType: - namedType: Toleration.v1.core.api.k8s.io - elementRelationship: atomic - - name: topologySpreadConstraints + scalar: numeric + - name: deletionTimestamp + type: + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.Time + - name: finalizers type: list: elementType: - namedType: TopologySpreadConstraint.v1.core.api.k8s.io + scalar: string elementRelationship: associative - keys: - - topologyKey - - whenUnsatisfiable -- name: com.github.openshift.api.config.v1alpha1.ThanosQuerierConfig - map: - fields: - - name: crossOriginRequestPolicy + - name: generateName type: scalar: string - - name: logLevel + - name: generation type: - scalar: string - - name: nodeSelector + scalar: numeric + - name: labels type: map: elementType: scalar: string - - name: requestLogging - type: - namedType: com.github.openshift.api.config.v1alpha1.ThanosQuerierRequestLoggingConfig - default: {} - - name: resources - type: - list: - elementType: - namedType: com.github.openshift.api.config.v1alpha1.ContainerResource - elementRelationship: associative - keys: - - name - - name: tolerations + - name: managedFields type: list: elementType: - namedType: Toleration.v1.core.api.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry elementRelationship: atomic - - name: topologySpreadConstraints - type: - list: - elementType: - namedType: TopologySpreadConstraint.v1.core.api.k8s.io - elementRelationship: associative - keys: - - topologyKey - - whenUnsatisfiable -- name: com.github.openshift.api.config.v1alpha1.ThanosQuerierRequestLoggingConfig - map: - fields: - - name: policy - type: - scalar: string -- name: com.github.openshift.api.config.v1alpha1.UppercaseActionConfig - map: - fields: - - name: targetLabel + - name: name type: scalar: string -- name: com.github.openshift.api.config.v1alpha1.UserDefinedMonitoring - map: - fields: - - name: mode + - name: namespace type: scalar: string - default: "" -- name: com.github.openshift.api.config.v1alpha2.Custom - map: - fields: - - name: configs + - name: ownerReferences type: list: elementType: - namedType: com.github.openshift.api.config.v1alpha2.GathererConfig + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.OwnerReference elementRelationship: associative keys: - - name -- name: com.github.openshift.api.config.v1alpha2.GatherConfig - map: - fields: - - name: dataPolicy + - uid + - name: resourceVersion type: - list: - elementType: - scalar: string - elementRelationship: atomic - - name: gatherers + scalar: string + - name: selfLink type: - namedType: com.github.openshift.api.config.v1alpha2.Gatherers - default: {} - - name: storage + scalar: string + - name: uid type: - namedType: com.github.openshift.api.config.v1alpha2.Storage -- name: com.github.openshift.api.config.v1alpha2.GathererConfig + scalar: string +- name: io.k8s.apimachinery.pkg.apis.meta.v1.OwnerReference map: fields: - - name: name + - name: apiVersion type: scalar: string default: "" - - name: state + - name: blockOwnerDeletion type: - scalar: string - default: "" -- name: com.github.openshift.api.config.v1alpha2.Gatherers - map: - fields: - - name: custom + scalar: boolean + - name: controller type: - namedType: com.github.openshift.api.config.v1alpha2.Custom - - name: mode + scalar: boolean + - name: kind type: scalar: string default: "" -- name: com.github.openshift.api.config.v1alpha2.InsightsDataGather - map: - fields: - - name: apiVersion + - name: name type: scalar: string - - name: kind + default: "" + - name: uid type: scalar: string - - name: metadata - type: - namedType: ObjectMeta.v1.meta.apis.pkg.apimachinery.k8s.io - default: {} - - name: spec - type: - namedType: com.github.openshift.api.config.v1alpha2.InsightsDataGatherSpec - default: {} - - name: status - type: - namedType: com.github.openshift.api.config.v1alpha2.InsightsDataGatherStatus - default: {} -- name: com.github.openshift.api.config.v1alpha2.InsightsDataGatherSpec - map: - fields: - - name: gatherConfig - type: - namedType: com.github.openshift.api.config.v1alpha2.GatherConfig - default: {} -- name: com.github.openshift.api.config.v1alpha2.InsightsDataGatherStatus + default: "" + elementRelationship: atomic +- name: io.k8s.apimachinery.pkg.apis.meta.v1.Time + scalar: untyped +- name: io.k8s.apimachinery.pkg.runtime.RawExtension map: elementType: scalar: untyped @@ -6407,33 +6472,6 @@ var schemaYAML = typed.YAMLObject(`types: elementType: namedType: __untyped_deduced_ elementRelationship: separable -- name: com.github.openshift.api.config.v1alpha2.PersistentVolumeClaimReference - map: - fields: - - name: name - type: - scalar: string - default: "" -- name: com.github.openshift.api.config.v1alpha2.PersistentVolumeConfig - map: - fields: - - name: claim - type: - namedType: com.github.openshift.api.config.v1alpha2.PersistentVolumeClaimReference - default: {} - - name: mountPath - type: - scalar: string -- name: com.github.openshift.api.config.v1alpha2.Storage - map: - fields: - - name: persistentVolume - type: - namedType: com.github.openshift.api.config.v1alpha2.PersistentVolumeConfig - - name: type - type: - scalar: string - default: "" - name: __untyped_atomic_ scalar: untyped list: diff --git a/vendor/github.com/openshift/client-go/config/applyconfigurations/utils.go b/vendor/github.com/openshift/client-go/config/applyconfigurations/utils.go index b5690c4d81..e849c0e45c 100644 --- a/vendor/github.com/openshift/client-go/config/applyconfigurations/utils.go +++ b/vendor/github.com/openshift/client-go/config/applyconfigurations/utils.go @@ -136,6 +136,12 @@ func ForKind(kind schema.GroupVersionKind) interface{} { return &configv1.ConsoleSpecApplyConfiguration{} case v1.SchemeGroupVersion.WithKind("ConsoleStatus"): return &configv1.ConsoleStatusApplyConfiguration{} + case v1.SchemeGroupVersion.WithKind("CRIOCredentialProviderConfig"): + return &configv1.CRIOCredentialProviderConfigApplyConfiguration{} + case v1.SchemeGroupVersion.WithKind("CRIOCredentialProviderConfigSpec"): + return &configv1.CRIOCredentialProviderConfigSpecApplyConfiguration{} + case v1.SchemeGroupVersion.WithKind("CRIOCredentialProviderConfigStatus"): + return &configv1.CRIOCredentialProviderConfigStatusApplyConfiguration{} case v1.SchemeGroupVersion.WithKind("Custom"): return &configv1.CustomApplyConfiguration{} case v1.SchemeGroupVersion.WithKind("CustomFeatureGates"): diff --git a/vendor/github.com/openshift/client-go/config/clientset/versioned/typed/config/v1/config_client.go b/vendor/github.com/openshift/client-go/config/clientset/versioned/typed/config/v1/config_client.go index afce6aef52..6235cd977b 100644 --- a/vendor/github.com/openshift/client-go/config/clientset/versioned/typed/config/v1/config_client.go +++ b/vendor/github.com/openshift/client-go/config/clientset/versioned/typed/config/v1/config_client.go @@ -15,6 +15,7 @@ type ConfigV1Interface interface { APIServersGetter AuthenticationsGetter BuildsGetter + CRIOCredentialProviderConfigsGetter ClusterImagePoliciesGetter ClusterOperatorsGetter ClusterVersionsGetter @@ -55,6 +56,10 @@ func (c *ConfigV1Client) Builds() BuildInterface { return newBuilds(c) } +func (c *ConfigV1Client) CRIOCredentialProviderConfigs() CRIOCredentialProviderConfigInterface { + return newCRIOCredentialProviderConfigs(c) +} + func (c *ConfigV1Client) ClusterImagePolicies() ClusterImagePolicyInterface { return newClusterImagePolicies(c) } diff --git a/vendor/github.com/openshift/client-go/config/clientset/versioned/typed/config/v1/criocredentialproviderconfig.go b/vendor/github.com/openshift/client-go/config/clientset/versioned/typed/config/v1/criocredentialproviderconfig.go new file mode 100644 index 0000000000..69272fac40 --- /dev/null +++ b/vendor/github.com/openshift/client-go/config/clientset/versioned/typed/config/v1/criocredentialproviderconfig.go @@ -0,0 +1,58 @@ +// Code generated by client-gen. DO NOT EDIT. + +package v1 + +import ( + context "context" + + configv1 "github.com/openshift/api/config/v1" + applyconfigurationsconfigv1 "github.com/openshift/client-go/config/applyconfigurations/config/v1" + scheme "github.com/openshift/client-go/config/clientset/versioned/scheme" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + types "k8s.io/apimachinery/pkg/types" + watch "k8s.io/apimachinery/pkg/watch" + gentype "k8s.io/client-go/gentype" +) + +// CRIOCredentialProviderConfigsGetter has a method to return a CRIOCredentialProviderConfigInterface. +// A group's client should implement this interface. +type CRIOCredentialProviderConfigsGetter interface { + CRIOCredentialProviderConfigs() CRIOCredentialProviderConfigInterface +} + +// CRIOCredentialProviderConfigInterface has methods to work with CRIOCredentialProviderConfig resources. +type CRIOCredentialProviderConfigInterface interface { + Create(ctx context.Context, cRIOCredentialProviderConfig *configv1.CRIOCredentialProviderConfig, opts metav1.CreateOptions) (*configv1.CRIOCredentialProviderConfig, error) + Update(ctx context.Context, cRIOCredentialProviderConfig *configv1.CRIOCredentialProviderConfig, opts metav1.UpdateOptions) (*configv1.CRIOCredentialProviderConfig, error) + // Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus(). + UpdateStatus(ctx context.Context, cRIOCredentialProviderConfig *configv1.CRIOCredentialProviderConfig, opts metav1.UpdateOptions) (*configv1.CRIOCredentialProviderConfig, error) + Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error + DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error + Get(ctx context.Context, name string, opts metav1.GetOptions) (*configv1.CRIOCredentialProviderConfig, error) + List(ctx context.Context, opts metav1.ListOptions) (*configv1.CRIOCredentialProviderConfigList, error) + Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) + Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *configv1.CRIOCredentialProviderConfig, err error) + Apply(ctx context.Context, cRIOCredentialProviderConfig *applyconfigurationsconfigv1.CRIOCredentialProviderConfigApplyConfiguration, opts metav1.ApplyOptions) (result *configv1.CRIOCredentialProviderConfig, err error) + // Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus(). + ApplyStatus(ctx context.Context, cRIOCredentialProviderConfig *applyconfigurationsconfigv1.CRIOCredentialProviderConfigApplyConfiguration, opts metav1.ApplyOptions) (result *configv1.CRIOCredentialProviderConfig, err error) + CRIOCredentialProviderConfigExpansion +} + +// cRIOCredentialProviderConfigs implements CRIOCredentialProviderConfigInterface +type cRIOCredentialProviderConfigs struct { + *gentype.ClientWithListAndApply[*configv1.CRIOCredentialProviderConfig, *configv1.CRIOCredentialProviderConfigList, *applyconfigurationsconfigv1.CRIOCredentialProviderConfigApplyConfiguration] +} + +// newCRIOCredentialProviderConfigs returns a CRIOCredentialProviderConfigs +func newCRIOCredentialProviderConfigs(c *ConfigV1Client) *cRIOCredentialProviderConfigs { + return &cRIOCredentialProviderConfigs{ + gentype.NewClientWithListAndApply[*configv1.CRIOCredentialProviderConfig, *configv1.CRIOCredentialProviderConfigList, *applyconfigurationsconfigv1.CRIOCredentialProviderConfigApplyConfiguration]( + "criocredentialproviderconfigs", + c.RESTClient(), + scheme.ParameterCodec, + "", + func() *configv1.CRIOCredentialProviderConfig { return &configv1.CRIOCredentialProviderConfig{} }, + func() *configv1.CRIOCredentialProviderConfigList { return &configv1.CRIOCredentialProviderConfigList{} }, + ), + } +} diff --git a/vendor/github.com/openshift/client-go/config/clientset/versioned/typed/config/v1/fake/fake_config_client.go b/vendor/github.com/openshift/client-go/config/clientset/versioned/typed/config/v1/fake/fake_config_client.go index b5a1a52573..5fb7425da0 100644 --- a/vendor/github.com/openshift/client-go/config/clientset/versioned/typed/config/v1/fake/fake_config_client.go +++ b/vendor/github.com/openshift/client-go/config/clientset/versioned/typed/config/v1/fake/fake_config_client.go @@ -24,6 +24,10 @@ func (c *FakeConfigV1) Builds() v1.BuildInterface { return newFakeBuilds(c) } +func (c *FakeConfigV1) CRIOCredentialProviderConfigs() v1.CRIOCredentialProviderConfigInterface { + return newFakeCRIOCredentialProviderConfigs(c) +} + func (c *FakeConfigV1) ClusterImagePolicies() v1.ClusterImagePolicyInterface { return newFakeClusterImagePolicies(c) } diff --git a/vendor/github.com/openshift/client-go/config/clientset/versioned/typed/config/v1/fake/fake_criocredentialproviderconfig.go b/vendor/github.com/openshift/client-go/config/clientset/versioned/typed/config/v1/fake/fake_criocredentialproviderconfig.go new file mode 100644 index 0000000000..d4c3fd7f1c --- /dev/null +++ b/vendor/github.com/openshift/client-go/config/clientset/versioned/typed/config/v1/fake/fake_criocredentialproviderconfig.go @@ -0,0 +1,37 @@ +// Code generated by client-gen. DO NOT EDIT. + +package fake + +import ( + v1 "github.com/openshift/api/config/v1" + configv1 "github.com/openshift/client-go/config/applyconfigurations/config/v1" + typedconfigv1 "github.com/openshift/client-go/config/clientset/versioned/typed/config/v1" + gentype "k8s.io/client-go/gentype" +) + +// fakeCRIOCredentialProviderConfigs implements CRIOCredentialProviderConfigInterface +type fakeCRIOCredentialProviderConfigs struct { + *gentype.FakeClientWithListAndApply[*v1.CRIOCredentialProviderConfig, *v1.CRIOCredentialProviderConfigList, *configv1.CRIOCredentialProviderConfigApplyConfiguration] + Fake *FakeConfigV1 +} + +func newFakeCRIOCredentialProviderConfigs(fake *FakeConfigV1) typedconfigv1.CRIOCredentialProviderConfigInterface { + return &fakeCRIOCredentialProviderConfigs{ + gentype.NewFakeClientWithListAndApply[*v1.CRIOCredentialProviderConfig, *v1.CRIOCredentialProviderConfigList, *configv1.CRIOCredentialProviderConfigApplyConfiguration]( + fake.Fake, + "", + v1.SchemeGroupVersion.WithResource("criocredentialproviderconfigs"), + v1.SchemeGroupVersion.WithKind("CRIOCredentialProviderConfig"), + func() *v1.CRIOCredentialProviderConfig { return &v1.CRIOCredentialProviderConfig{} }, + func() *v1.CRIOCredentialProviderConfigList { return &v1.CRIOCredentialProviderConfigList{} }, + func(dst, src *v1.CRIOCredentialProviderConfigList) { dst.ListMeta = src.ListMeta }, + func(list *v1.CRIOCredentialProviderConfigList) []*v1.CRIOCredentialProviderConfig { + return gentype.ToPointerSlice(list.Items) + }, + func(list *v1.CRIOCredentialProviderConfigList, items []*v1.CRIOCredentialProviderConfig) { + list.Items = gentype.FromPointerSlice(items) + }, + ), + fake, + } +} diff --git a/vendor/github.com/openshift/client-go/config/clientset/versioned/typed/config/v1/generated_expansion.go b/vendor/github.com/openshift/client-go/config/clientset/versioned/typed/config/v1/generated_expansion.go index 27c5fd110b..0f3e44588f 100644 --- a/vendor/github.com/openshift/client-go/config/clientset/versioned/typed/config/v1/generated_expansion.go +++ b/vendor/github.com/openshift/client-go/config/clientset/versioned/typed/config/v1/generated_expansion.go @@ -8,6 +8,8 @@ type AuthenticationExpansion interface{} type BuildExpansion interface{} +type CRIOCredentialProviderConfigExpansion interface{} + type ClusterImagePolicyExpansion interface{} type ClusterOperatorExpansion interface{} diff --git a/vendor/github.com/openshift/client-go/config/informers/externalversions/config/v1/criocredentialproviderconfig.go b/vendor/github.com/openshift/client-go/config/informers/externalversions/config/v1/criocredentialproviderconfig.go new file mode 100644 index 0000000000..6f7db0c7bd --- /dev/null +++ b/vendor/github.com/openshift/client-go/config/informers/externalversions/config/v1/criocredentialproviderconfig.go @@ -0,0 +1,85 @@ +// Code generated by informer-gen. DO NOT EDIT. + +package v1 + +import ( + context "context" + time "time" + + apiconfigv1 "github.com/openshift/api/config/v1" + versioned "github.com/openshift/client-go/config/clientset/versioned" + internalinterfaces "github.com/openshift/client-go/config/informers/externalversions/internalinterfaces" + configv1 "github.com/openshift/client-go/config/listers/config/v1" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + runtime "k8s.io/apimachinery/pkg/runtime" + watch "k8s.io/apimachinery/pkg/watch" + cache "k8s.io/client-go/tools/cache" +) + +// CRIOCredentialProviderConfigInformer provides access to a shared informer and lister for +// CRIOCredentialProviderConfigs. +type CRIOCredentialProviderConfigInformer interface { + Informer() cache.SharedIndexInformer + Lister() configv1.CRIOCredentialProviderConfigLister +} + +type cRIOCredentialProviderConfigInformer struct { + factory internalinterfaces.SharedInformerFactory + tweakListOptions internalinterfaces.TweakListOptionsFunc +} + +// NewCRIOCredentialProviderConfigInformer constructs a new informer for CRIOCredentialProviderConfig type. +// Always prefer using an informer factory to get a shared informer instead of getting an independent +// one. This reduces memory footprint and number of connections to the server. +func NewCRIOCredentialProviderConfigInformer(client versioned.Interface, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer { + return NewFilteredCRIOCredentialProviderConfigInformer(client, resyncPeriod, indexers, nil) +} + +// NewFilteredCRIOCredentialProviderConfigInformer constructs a new informer for CRIOCredentialProviderConfig type. +// Always prefer using an informer factory to get a shared informer instead of getting an independent +// one. This reduces memory footprint and number of connections to the server. +func NewFilteredCRIOCredentialProviderConfigInformer(client versioned.Interface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer { + return cache.NewSharedIndexInformer( + cache.ToListWatcherWithWatchListSemantics(&cache.ListWatch{ + ListFunc: func(options metav1.ListOptions) (runtime.Object, error) { + if tweakListOptions != nil { + tweakListOptions(&options) + } + return client.ConfigV1().CRIOCredentialProviderConfigs().List(context.Background(), options) + }, + WatchFunc: func(options metav1.ListOptions) (watch.Interface, error) { + if tweakListOptions != nil { + tweakListOptions(&options) + } + return client.ConfigV1().CRIOCredentialProviderConfigs().Watch(context.Background(), options) + }, + ListWithContextFunc: func(ctx context.Context, options metav1.ListOptions) (runtime.Object, error) { + if tweakListOptions != nil { + tweakListOptions(&options) + } + return client.ConfigV1().CRIOCredentialProviderConfigs().List(ctx, options) + }, + WatchFuncWithContext: func(ctx context.Context, options metav1.ListOptions) (watch.Interface, error) { + if tweakListOptions != nil { + tweakListOptions(&options) + } + return client.ConfigV1().CRIOCredentialProviderConfigs().Watch(ctx, options) + }, + }, client), + &apiconfigv1.CRIOCredentialProviderConfig{}, + resyncPeriod, + indexers, + ) +} + +func (f *cRIOCredentialProviderConfigInformer) defaultInformer(client versioned.Interface, resyncPeriod time.Duration) cache.SharedIndexInformer { + return NewFilteredCRIOCredentialProviderConfigInformer(client, resyncPeriod, cache.Indexers{cache.NamespaceIndex: cache.MetaNamespaceIndexFunc}, f.tweakListOptions) +} + +func (f *cRIOCredentialProviderConfigInformer) Informer() cache.SharedIndexInformer { + return f.factory.InformerFor(&apiconfigv1.CRIOCredentialProviderConfig{}, f.defaultInformer) +} + +func (f *cRIOCredentialProviderConfigInformer) Lister() configv1.CRIOCredentialProviderConfigLister { + return configv1.NewCRIOCredentialProviderConfigLister(f.Informer().GetIndexer()) +} diff --git a/vendor/github.com/openshift/client-go/config/informers/externalversions/config/v1/interface.go b/vendor/github.com/openshift/client-go/config/informers/externalversions/config/v1/interface.go index 0ad1b98f37..2f762ff422 100644 --- a/vendor/github.com/openshift/client-go/config/informers/externalversions/config/v1/interface.go +++ b/vendor/github.com/openshift/client-go/config/informers/externalversions/config/v1/interface.go @@ -14,6 +14,8 @@ type Interface interface { Authentications() AuthenticationInformer // Builds returns a BuildInformer. Builds() BuildInformer + // CRIOCredentialProviderConfigs returns a CRIOCredentialProviderConfigInformer. + CRIOCredentialProviderConfigs() CRIOCredentialProviderConfigInformer // ClusterImagePolicies returns a ClusterImagePolicyInformer. ClusterImagePolicies() ClusterImagePolicyInformer // ClusterOperators returns a ClusterOperatorInformer. @@ -84,6 +86,11 @@ func (v *version) Builds() BuildInformer { return &buildInformer{factory: v.factory, tweakListOptions: v.tweakListOptions} } +// CRIOCredentialProviderConfigs returns a CRIOCredentialProviderConfigInformer. +func (v *version) CRIOCredentialProviderConfigs() CRIOCredentialProviderConfigInformer { + return &cRIOCredentialProviderConfigInformer{factory: v.factory, tweakListOptions: v.tweakListOptions} +} + // ClusterImagePolicies returns a ClusterImagePolicyInformer. func (v *version) ClusterImagePolicies() ClusterImagePolicyInformer { return &clusterImagePolicyInformer{factory: v.factory, tweakListOptions: v.tweakListOptions} diff --git a/vendor/github.com/openshift/client-go/config/informers/externalversions/generic.go b/vendor/github.com/openshift/client-go/config/informers/externalversions/generic.go index 4c00a13f17..fbc19aaefd 100644 --- a/vendor/github.com/openshift/client-go/config/informers/externalversions/generic.go +++ b/vendor/github.com/openshift/client-go/config/informers/externalversions/generic.go @@ -45,6 +45,8 @@ func (f *sharedInformerFactory) ForResource(resource schema.GroupVersionResource return &genericInformer{resource: resource.GroupResource(), informer: f.Config().V1().Authentications().Informer()}, nil case v1.SchemeGroupVersion.WithResource("builds"): return &genericInformer{resource: resource.GroupResource(), informer: f.Config().V1().Builds().Informer()}, nil + case v1.SchemeGroupVersion.WithResource("criocredentialproviderconfigs"): + return &genericInformer{resource: resource.GroupResource(), informer: f.Config().V1().CRIOCredentialProviderConfigs().Informer()}, nil case v1.SchemeGroupVersion.WithResource("clusterimagepolicies"): return &genericInformer{resource: resource.GroupResource(), informer: f.Config().V1().ClusterImagePolicies().Informer()}, nil case v1.SchemeGroupVersion.WithResource("clusteroperators"): diff --git a/vendor/github.com/openshift/client-go/config/listers/config/v1/criocredentialproviderconfig.go b/vendor/github.com/openshift/client-go/config/listers/config/v1/criocredentialproviderconfig.go new file mode 100644 index 0000000000..7b4c42adeb --- /dev/null +++ b/vendor/github.com/openshift/client-go/config/listers/config/v1/criocredentialproviderconfig.go @@ -0,0 +1,32 @@ +// Code generated by lister-gen. DO NOT EDIT. + +package v1 + +import ( + configv1 "github.com/openshift/api/config/v1" + labels "k8s.io/apimachinery/pkg/labels" + listers "k8s.io/client-go/listers" + cache "k8s.io/client-go/tools/cache" +) + +// CRIOCredentialProviderConfigLister helps list CRIOCredentialProviderConfigs. +// All objects returned here must be treated as read-only. +type CRIOCredentialProviderConfigLister interface { + // List lists all CRIOCredentialProviderConfigs in the indexer. + // Objects returned here must be treated as read-only. + List(selector labels.Selector) (ret []*configv1.CRIOCredentialProviderConfig, err error) + // Get retrieves the CRIOCredentialProviderConfig from the index for a given name. + // Objects returned here must be treated as read-only. + Get(name string) (*configv1.CRIOCredentialProviderConfig, error) + CRIOCredentialProviderConfigListerExpansion +} + +// cRIOCredentialProviderConfigLister implements the CRIOCredentialProviderConfigLister interface. +type cRIOCredentialProviderConfigLister struct { + listers.ResourceIndexer[*configv1.CRIOCredentialProviderConfig] +} + +// NewCRIOCredentialProviderConfigLister returns a new CRIOCredentialProviderConfigLister. +func NewCRIOCredentialProviderConfigLister(indexer cache.Indexer) CRIOCredentialProviderConfigLister { + return &cRIOCredentialProviderConfigLister{listers.New[*configv1.CRIOCredentialProviderConfig](indexer, configv1.Resource("criocredentialproviderconfig"))} +} diff --git a/vendor/github.com/openshift/client-go/config/listers/config/v1/expansion_generated.go b/vendor/github.com/openshift/client-go/config/listers/config/v1/expansion_generated.go index ca93cb2838..f41c1f2fb4 100644 --- a/vendor/github.com/openshift/client-go/config/listers/config/v1/expansion_generated.go +++ b/vendor/github.com/openshift/client-go/config/listers/config/v1/expansion_generated.go @@ -14,6 +14,10 @@ type AuthenticationListerExpansion interface{} // BuildLister. type BuildListerExpansion interface{} +// CRIOCredentialProviderConfigListerExpansion allows custom methods to be added to +// CRIOCredentialProviderConfigLister. +type CRIOCredentialProviderConfigListerExpansion interface{} + // ClusterImagePolicyListerExpansion allows custom methods to be added to // ClusterImagePolicyLister. type ClusterImagePolicyListerExpansion interface{} diff --git a/vendor/github.com/openshift/client-go/operator/applyconfigurations/internal/internal.go b/vendor/github.com/openshift/client-go/operator/applyconfigurations/internal/internal.go index 1e4a11635f..23045cd7ad 100644 --- a/vendor/github.com/openshift/client-go/operator/applyconfigurations/internal/internal.go +++ b/vendor/github.com/openshift/client-go/operator/applyconfigurations/internal/internal.go @@ -23,63 +23,67 @@ func Parser() *typed.Parser { var parserOnce sync.Once var parser *typed.Parser var schemaYAML = typed.YAMLObject(`types: -- name: Condition.v1.meta.apis.pkg.apimachinery.k8s.io +- name: com.github.openshift.api.config.v1.ConfigMapFileReference map: fields: - - name: lastTransitionTime - type: - namedType: Time.v1.meta.apis.pkg.apimachinery.k8s.io - - name: message - type: - scalar: string - default: "" - - name: observedGeneration - type: - scalar: numeric - - name: reason + - name: key type: scalar: string - default: "" - - name: status + - name: name type: scalar: string default: "" - - name: type +- name: com.github.openshift.api.config.v1.ConfigMapNameReference + map: + fields: + - name: name type: scalar: string default: "" -- name: Duration.v1.meta.apis.pkg.apimachinery.k8s.io - scalar: string -- name: FieldSelectorAttributes.v1.authorization.api.k8s.io +- name: com.github.openshift.api.config.v1.CustomTLSProfile map: fields: - - name: rawSelector - type: - scalar: string - - name: requirements + - name: ciphers type: list: elementType: - namedType: FieldSelectorRequirement.v1.meta.apis.pkg.apimachinery.k8s.io + scalar: string elementRelationship: atomic -- name: FieldSelectorRequirement.v1.meta.apis.pkg.apimachinery.k8s.io - map: - fields: - - name: key - type: - scalar: string - default: "" - - name: operator - type: - scalar: string - default: "" - - name: values + - name: groups type: list: elementType: scalar: string - elementRelationship: atomic -- name: FieldsV1.v1.meta.apis.pkg.apimachinery.k8s.io + elementRelationship: associative + - name: minTLSVersion + type: + scalar: string + default: "" +- name: com.github.openshift.api.config.v1.IntermediateTLSProfile + map: + elementType: + scalar: untyped + list: + elementType: + namedType: __untyped_atomic_ + elementRelationship: atomic + map: + elementType: + namedType: __untyped_deduced_ + elementRelationship: separable +- name: com.github.openshift.api.config.v1.ModernTLSProfile + map: + elementType: + scalar: untyped + list: + elementType: + namedType: __untyped_atomic_ + elementRelationship: atomic + map: + elementType: + namedType: __untyped_deduced_ + elementRelationship: separable +- name: com.github.openshift.api.config.v1.OldTLSProfile map: elementType: scalar: untyped @@ -91,477 +95,181 @@ var schemaYAML = typed.YAMLObject(`types: elementType: namedType: __untyped_deduced_ elementRelationship: separable -- name: LabelSelector.v1.meta.apis.pkg.apimachinery.k8s.io +- name: com.github.openshift.api.config.v1.SecretNameReference map: fields: - - name: matchExpressions + - name: name + type: + scalar: string + default: "" +- name: com.github.openshift.api.config.v1.TLSProfileSpec + map: + fields: + - name: ciphers type: list: elementType: - namedType: LabelSelectorRequirement.v1.meta.apis.pkg.apimachinery.k8s.io + scalar: string elementRelationship: atomic - - name: matchLabels + - name: groups type: - map: + list: elementType: scalar: string - elementRelationship: atomic -- name: LabelSelectorAttributes.v1.authorization.api.k8s.io - map: - fields: - - name: rawSelector + elementRelationship: associative + - name: minTLSVersion type: scalar: string - - name: requirements - type: - list: - elementType: - namedType: LabelSelectorRequirement.v1.meta.apis.pkg.apimachinery.k8s.io - elementRelationship: atomic -- name: LabelSelectorRequirement.v1.meta.apis.pkg.apimachinery.k8s.io + default: "" +- name: com.github.openshift.api.config.v1.TLSSecurityProfile map: fields: - - name: key + - name: custom type: - scalar: string - default: "" - - name: operator + namedType: com.github.openshift.api.config.v1.CustomTLSProfile + - name: intermediate type: - scalar: string - default: "" - - name: values + namedType: com.github.openshift.api.config.v1.IntermediateTLSProfile + - name: modern type: - list: - elementType: - scalar: string - elementRelationship: atomic -- name: LocalObjectReference.v1.core.api.k8s.io - map: - fields: - - name: name + namedType: com.github.openshift.api.config.v1.ModernTLSProfile + - name: old + type: + namedType: com.github.openshift.api.config.v1.OldTLSProfile + - name: type type: scalar: string default: "" - elementRelationship: atomic -- name: ManagedFieldsEntry.v1.meta.apis.pkg.apimachinery.k8s.io + unions: + - discriminator: type + fields: + - fieldName: custom + discriminatorValue: Custom + - fieldName: intermediate + discriminatorValue: Intermediate + - fieldName: modern + discriminatorValue: Modern + - fieldName: old + discriminatorValue: Old +- name: com.github.openshift.api.operator.v1.AWSCSIDriverConfigSpec map: fields: - - name: apiVersion + - name: efsVolumeMetrics type: - scalar: string - - name: fieldsType + namedType: com.github.openshift.api.operator.v1.AWSEFSVolumeMetrics + - name: kmsKeyARN type: scalar: string - - name: fieldsV1 +- name: com.github.openshift.api.operator.v1.AWSClassicLoadBalancerParameters + map: + fields: + - name: connectionIdleTimeout type: - namedType: FieldsV1.v1.meta.apis.pkg.apimachinery.k8s.io - - name: manager + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.Duration + - name: subnets type: - scalar: string - - name: operation + namedType: com.github.openshift.api.operator.v1.AWSSubnets +- name: com.github.openshift.api.operator.v1.AWSEFSVolumeMetrics + map: + fields: + - name: recursiveWalk type: - scalar: string - - name: subresource + namedType: com.github.openshift.api.operator.v1.AWSEFSVolumeMetricsRecursiveWalkConfig + - name: state type: scalar: string - - name: time - type: - namedType: Time.v1.meta.apis.pkg.apimachinery.k8s.io -- name: ObjectMeta.v1.meta.apis.pkg.apimachinery.k8s.io + default: "" + unions: + - discriminator: state + fields: + - fieldName: recursiveWalk + discriminatorValue: RecursiveWalk +- name: com.github.openshift.api.operator.v1.AWSEFSVolumeMetricsRecursiveWalkConfig map: fields: - - name: annotations - type: - map: - elementType: - scalar: string - - name: creationTimestamp + - name: fsRateLimit type: - namedType: Time.v1.meta.apis.pkg.apimachinery.k8s.io - - name: deletionGracePeriodSeconds + scalar: numeric + - name: refreshPeriodMinutes type: scalar: numeric - - name: deletionTimestamp +- name: com.github.openshift.api.operator.v1.AWSLoadBalancerParameters + map: + fields: + - name: classicLoadBalancer type: - namedType: Time.v1.meta.apis.pkg.apimachinery.k8s.io - - name: finalizers + namedType: com.github.openshift.api.operator.v1.AWSClassicLoadBalancerParameters + - name: networkLoadBalancer + type: + namedType: com.github.openshift.api.operator.v1.AWSNetworkLoadBalancerParameters + - name: type + type: + scalar: string + default: "" + unions: + - discriminator: type + fields: + - fieldName: classicLoadBalancer + discriminatorValue: ClassicLoadBalancerParameters + - fieldName: networkLoadBalancer + discriminatorValue: NetworkLoadBalancerParameters +- name: com.github.openshift.api.operator.v1.AWSNetworkLoadBalancerParameters + map: + fields: + - name: eipAllocations type: list: elementType: scalar: string - elementRelationship: associative - - name: generateName + elementRelationship: atomic + - name: protocol type: scalar: string - - name: generation + - name: subnets type: - scalar: numeric - - name: labels + namedType: com.github.openshift.api.operator.v1.AWSSubnets +- name: com.github.openshift.api.operator.v1.AWSSubnets + map: + fields: + - name: ids type: - map: + list: elementType: scalar: string - - name: managedFields + elementRelationship: atomic + - name: names type: list: elementType: - namedType: ManagedFieldsEntry.v1.meta.apis.pkg.apimachinery.k8s.io + scalar: string elementRelationship: atomic - - name: name - type: - scalar: string - - name: namespace +- name: com.github.openshift.api.operator.v1.AccessLogging + map: + fields: + - name: destination type: - scalar: string - - name: ownerReferences + namedType: com.github.openshift.api.operator.v1.LoggingDestination + default: {} + - name: httpCaptureCookies type: list: elementType: - namedType: OwnerReference.v1.meta.apis.pkg.apimachinery.k8s.io - elementRelationship: associative - keys: - - uid - - name: resourceVersion + namedType: com.github.openshift.api.operator.v1.IngressControllerCaptureHTTPCookie + elementRelationship: atomic + - name: httpCaptureHeaders type: - scalar: string - - name: selfLink + namedType: com.github.openshift.api.operator.v1.IngressControllerCaptureHTTPHeaders + default: {} + - name: httpLogFormat type: scalar: string - - name: uid + - name: logEmptyRequests type: scalar: string -- name: OwnerReference.v1.meta.apis.pkg.apimachinery.k8s.io +- name: com.github.openshift.api.operator.v1.AddPage map: fields: - - name: apiVersion - type: - scalar: string - default: "" - - name: blockOwnerDeletion - type: - scalar: boolean - - name: controller - type: - scalar: boolean - - name: kind - type: - scalar: string - default: "" - - name: name - type: - scalar: string - default: "" - - name: uid - type: - scalar: string - default: "" - elementRelationship: atomic -- name: RawExtension.runtime.pkg.apimachinery.k8s.io - map: - elementType: - scalar: untyped - list: - elementType: - namedType: __untyped_atomic_ - elementRelationship: atomic - map: - elementType: - namedType: __untyped_deduced_ - elementRelationship: separable -- name: ResourceAttributes.v1.authorization.api.k8s.io - map: - fields: - - name: fieldSelector - type: - namedType: FieldSelectorAttributes.v1.authorization.api.k8s.io - - name: group - type: - scalar: string - - name: labelSelector - type: - namedType: LabelSelectorAttributes.v1.authorization.api.k8s.io - - name: name - type: - scalar: string - - name: namespace - type: - scalar: string - - name: resource - type: - scalar: string - - name: subresource - type: - scalar: string - - name: verb - type: - scalar: string - - name: version - type: - scalar: string -- name: Time.v1.meta.apis.pkg.apimachinery.k8s.io - scalar: untyped -- name: Toleration.v1.core.api.k8s.io - map: - fields: - - name: effect - type: - scalar: string - - name: key - type: - scalar: string - - name: operator - type: - scalar: string - - name: tolerationSeconds - type: - scalar: numeric - - name: value - type: - scalar: string -- name: com.github.openshift.api.config.v1.ConfigMapFileReference - map: - fields: - - name: key - type: - scalar: string - - name: name - type: - scalar: string - default: "" -- name: com.github.openshift.api.config.v1.ConfigMapNameReference - map: - fields: - - name: name - type: - scalar: string - default: "" -- name: com.github.openshift.api.config.v1.CustomTLSProfile - map: - fields: - - name: ciphers - type: - list: - elementType: - scalar: string - elementRelationship: atomic - - name: groups - type: - list: - elementType: - scalar: string - elementRelationship: associative - - name: minTLSVersion - type: - scalar: string - default: "" -- name: com.github.openshift.api.config.v1.IntermediateTLSProfile - map: - elementType: - scalar: untyped - list: - elementType: - namedType: __untyped_atomic_ - elementRelationship: atomic - map: - elementType: - namedType: __untyped_deduced_ - elementRelationship: separable -- name: com.github.openshift.api.config.v1.ModernTLSProfile - map: - elementType: - scalar: untyped - list: - elementType: - namedType: __untyped_atomic_ - elementRelationship: atomic - map: - elementType: - namedType: __untyped_deduced_ - elementRelationship: separable -- name: com.github.openshift.api.config.v1.OldTLSProfile - map: - elementType: - scalar: untyped - list: - elementType: - namedType: __untyped_atomic_ - elementRelationship: atomic - map: - elementType: - namedType: __untyped_deduced_ - elementRelationship: separable -- name: com.github.openshift.api.config.v1.SecretNameReference - map: - fields: - - name: name - type: - scalar: string - default: "" -- name: com.github.openshift.api.config.v1.TLSProfileSpec - map: - fields: - - name: ciphers - type: - list: - elementType: - scalar: string - elementRelationship: atomic - - name: groups - type: - list: - elementType: - scalar: string - elementRelationship: associative - - name: minTLSVersion - type: - scalar: string - default: "" -- name: com.github.openshift.api.config.v1.TLSSecurityProfile - map: - fields: - - name: custom - type: - namedType: com.github.openshift.api.config.v1.CustomTLSProfile - - name: intermediate - type: - namedType: com.github.openshift.api.config.v1.IntermediateTLSProfile - - name: modern - type: - namedType: com.github.openshift.api.config.v1.ModernTLSProfile - - name: old - type: - namedType: com.github.openshift.api.config.v1.OldTLSProfile - - name: type - type: - scalar: string - default: "" - unions: - - discriminator: type - fields: - - fieldName: custom - discriminatorValue: Custom - - fieldName: intermediate - discriminatorValue: Intermediate - - fieldName: modern - discriminatorValue: Modern - - fieldName: old - discriminatorValue: Old -- name: com.github.openshift.api.operator.v1.AWSCSIDriverConfigSpec - map: - fields: - - name: efsVolumeMetrics - type: - namedType: com.github.openshift.api.operator.v1.AWSEFSVolumeMetrics - - name: kmsKeyARN - type: - scalar: string -- name: com.github.openshift.api.operator.v1.AWSClassicLoadBalancerParameters - map: - fields: - - name: connectionIdleTimeout - type: - namedType: Duration.v1.meta.apis.pkg.apimachinery.k8s.io - - name: subnets - type: - namedType: com.github.openshift.api.operator.v1.AWSSubnets -- name: com.github.openshift.api.operator.v1.AWSEFSVolumeMetrics - map: - fields: - - name: recursiveWalk - type: - namedType: com.github.openshift.api.operator.v1.AWSEFSVolumeMetricsRecursiveWalkConfig - - name: state - type: - scalar: string - default: "" - unions: - - discriminator: state - fields: - - fieldName: recursiveWalk - discriminatorValue: RecursiveWalk -- name: com.github.openshift.api.operator.v1.AWSEFSVolumeMetricsRecursiveWalkConfig - map: - fields: - - name: fsRateLimit - type: - scalar: numeric - - name: refreshPeriodMinutes - type: - scalar: numeric -- name: com.github.openshift.api.operator.v1.AWSLoadBalancerParameters - map: - fields: - - name: classicLoadBalancer - type: - namedType: com.github.openshift.api.operator.v1.AWSClassicLoadBalancerParameters - - name: networkLoadBalancer - type: - namedType: com.github.openshift.api.operator.v1.AWSNetworkLoadBalancerParameters - - name: type - type: - scalar: string - default: "" - unions: - - discriminator: type - fields: - - fieldName: classicLoadBalancer - discriminatorValue: ClassicLoadBalancerParameters - - fieldName: networkLoadBalancer - discriminatorValue: NetworkLoadBalancerParameters -- name: com.github.openshift.api.operator.v1.AWSNetworkLoadBalancerParameters - map: - fields: - - name: eipAllocations - type: - list: - elementType: - scalar: string - elementRelationship: atomic - - name: subnets - type: - namedType: com.github.openshift.api.operator.v1.AWSSubnets -- name: com.github.openshift.api.operator.v1.AWSSubnets - map: - fields: - - name: ids - type: - list: - elementType: - scalar: string - elementRelationship: atomic - - name: names - type: - list: - elementType: - scalar: string - elementRelationship: atomic -- name: com.github.openshift.api.operator.v1.AccessLogging - map: - fields: - - name: destination - type: - namedType: com.github.openshift.api.operator.v1.LoggingDestination - default: {} - - name: httpCaptureCookies - type: - list: - elementType: - namedType: com.github.openshift.api.operator.v1.IngressControllerCaptureHTTPCookie - elementRelationship: atomic - - name: httpCaptureHeaders - type: - namedType: com.github.openshift.api.operator.v1.IngressControllerCaptureHTTPHeaders - default: {} - - name: httpLogFormat - type: - scalar: string - - name: logEmptyRequests - type: - scalar: string -- name: com.github.openshift.api.operator.v1.AddPage - map: - fields: - - name: disabledActions + - name: disabledActions type: list: elementType: @@ -607,7 +315,7 @@ var schemaYAML = typed.YAMLObject(`types: scalar: string - name: metadata type: - namedType: ObjectMeta.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta default: {} - name: spec type: @@ -617,6 +325,31 @@ var schemaYAML = typed.YAMLObject(`types: type: namedType: com.github.openshift.api.operator.v1.AuthenticationStatus default: {} +- name: com.github.openshift.api.operator.v1.AuthenticationConfigMapReference + map: + fields: + - name: name + type: + scalar: string +- name: com.github.openshift.api.operator.v1.AuthenticationProxyConfig + map: + fields: + - name: httpProxy + type: + scalar: string + - name: httpsProxy + type: + scalar: string + - name: noProxy + type: + list: + elementType: + scalar: string + elementRelationship: associative + - name: trustedCA + type: + namedType: com.github.openshift.api.operator.v1.AuthenticationConfigMapReference + default: {} - name: com.github.openshift.api.operator.v1.AuthenticationSpec map: fields: @@ -629,13 +362,17 @@ var schemaYAML = typed.YAMLObject(`types: default: "" - name: observedConfig type: - namedType: RawExtension.runtime.pkg.apimachinery.k8s.io + namedType: __untyped_atomic_ - name: operatorLogLevel type: scalar: string + - name: proxy + type: + namedType: com.github.openshift.api.operator.v1.AuthenticationProxyConfig + default: {} - name: unsupportedConfigOverrides type: - namedType: RawExtension.runtime.pkg.apimachinery.k8s.io + namedType: __untyped_atomic_ - name: com.github.openshift.api.operator.v1.AuthenticationStatus map: fields: @@ -761,6 +498,10 @@ var schemaYAML = typed.YAMLObject(`types: - name: ibmcloud type: namedType: com.github.openshift.api.operator.v1.IBMCloudCSIDriverConfigSpec + - name: secretsStore + type: + namedType: com.github.openshift.api.operator.v1.SecretsStoreCSIDriverConfigSpec + default: {} - name: vSphere type: namedType: com.github.openshift.api.operator.v1.VSphereCSIDriverConfigSpec @@ -775,6 +516,8 @@ var schemaYAML = typed.YAMLObject(`types: discriminatorValue: GCP - fieldName: ibmcloud discriminatorValue: IBMCloud + - fieldName: secretsStore + discriminatorValue: SecretsStore - fieldName: vSphere discriminatorValue: VSphere - name: com.github.openshift.api.operator.v1.CSISnapshotController @@ -788,7 +531,7 @@ var schemaYAML = typed.YAMLObject(`types: scalar: string - name: metadata type: - namedType: ObjectMeta.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta default: {} - name: spec type: @@ -810,13 +553,13 @@ var schemaYAML = typed.YAMLObject(`types: default: "" - name: observedConfig type: - namedType: RawExtension.runtime.pkg.apimachinery.k8s.io + namedType: __untyped_atomic_ - name: operatorLogLevel type: scalar: string - name: unsupportedConfigOverrides type: - namedType: RawExtension.runtime.pkg.apimachinery.k8s.io + namedType: __untyped_atomic_ - name: com.github.openshift.api.operator.v1.CSISnapshotControllerStatus map: fields: @@ -900,7 +643,7 @@ var schemaYAML = typed.YAMLObject(`types: scalar: string - name: metadata type: - namedType: ObjectMeta.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta default: {} - name: spec type: @@ -925,13 +668,13 @@ var schemaYAML = typed.YAMLObject(`types: default: "" - name: observedConfig type: - namedType: RawExtension.runtime.pkg.apimachinery.k8s.io + namedType: __untyped_atomic_ - name: operatorLogLevel type: scalar: string - name: unsupportedConfigOverrides type: - namedType: RawExtension.runtime.pkg.apimachinery.k8s.io + namedType: __untyped_atomic_ - name: com.github.openshift.api.operator.v1.CloudCredentialStatus map: fields: @@ -1006,7 +749,7 @@ var schemaYAML = typed.YAMLObject(`types: scalar: string - name: metadata type: - namedType: ObjectMeta.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta default: {} - name: spec type: @@ -1032,7 +775,7 @@ var schemaYAML = typed.YAMLObject(`types: default: "" - name: observedConfig type: - namedType: RawExtension.runtime.pkg.apimachinery.k8s.io + namedType: __untyped_atomic_ - name: operatorLogLevel type: scalar: string @@ -1041,7 +784,7 @@ var schemaYAML = typed.YAMLObject(`types: scalar: string - name: unsupportedConfigOverrides type: - namedType: RawExtension.runtime.pkg.apimachinery.k8s.io + namedType: __untyped_atomic_ - name: com.github.openshift.api.operator.v1.ClusterCSIDriverStatus map: fields: @@ -1098,7 +841,7 @@ var schemaYAML = typed.YAMLObject(`types: scalar: string - name: metadata type: - namedType: ObjectMeta.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta default: {} - name: spec type: @@ -1131,13 +874,13 @@ var schemaYAML = typed.YAMLObject(`types: default: "" - name: observedConfig type: - namedType: RawExtension.runtime.pkg.apimachinery.k8s.io + namedType: __untyped_atomic_ - name: operatorLogLevel type: scalar: string - name: unsupportedConfigOverrides type: - namedType: RawExtension.runtime.pkg.apimachinery.k8s.io + namedType: __untyped_atomic_ - name: com.github.openshift.api.operator.v1.ConfigStatus map: fields: @@ -1184,7 +927,7 @@ var schemaYAML = typed.YAMLObject(`types: scalar: string - name: metadata type: - namedType: ObjectMeta.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta default: {} - name: spec type: @@ -1287,7 +1030,7 @@ var schemaYAML = typed.YAMLObject(`types: default: "" - name: observedConfig type: - namedType: RawExtension.runtime.pkg.apimachinery.k8s.io + namedType: __untyped_atomic_ - name: operatorLogLevel type: scalar: string @@ -1307,7 +1050,7 @@ var schemaYAML = typed.YAMLObject(`types: default: {} - name: unsupportedConfigOverrides type: - namedType: RawExtension.runtime.pkg.apimachinery.k8s.io + namedType: __untyped_atomic_ - name: com.github.openshift.api.operator.v1.ConsoleStatus map: fields: @@ -1349,6 +1092,12 @@ var schemaYAML = typed.YAMLObject(`types: - name: maxLength type: scalar: numeric +- name: com.github.openshift.api.operator.v1.CustomSecretRotation + map: + fields: + - name: rotationPollIntervalSeconds + type: + scalar: numeric - name: com.github.openshift.api.operator.v1.DNS map: fields: @@ -1360,7 +1109,7 @@ var schemaYAML = typed.YAMLObject(`types: scalar: string - name: metadata type: - namedType: ObjectMeta.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta default: {} - name: spec type: @@ -1375,10 +1124,10 @@ var schemaYAML = typed.YAMLObject(`types: fields: - name: negativeTTL type: - namedType: Duration.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.Duration - name: positiveTTL type: - namedType: Duration.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.Duration - name: com.github.openshift.api.operator.v1.DNSNodePlacement map: fields: @@ -1391,7 +1140,7 @@ var schemaYAML = typed.YAMLObject(`types: type: list: elementType: - namedType: Toleration.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.Toleration elementRelationship: atomic - name: com.github.openshift.api.operator.v1.DNSOverTLSConfig map: @@ -1606,7 +1355,7 @@ var schemaYAML = typed.YAMLObject(`types: scalar: string - name: metadata type: - namedType: ObjectMeta.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta default: {} - name: spec type: @@ -1643,7 +1392,7 @@ var schemaYAML = typed.YAMLObject(`types: default: "" - name: observedConfig type: - namedType: RawExtension.runtime.pkg.apimachinery.k8s.io + namedType: __untyped_atomic_ - name: operatorLogLevel type: scalar: string @@ -1652,7 +1401,7 @@ var schemaYAML = typed.YAMLObject(`types: scalar: numeric - name: unsupportedConfigOverrides type: - namedType: RawExtension.runtime.pkg.apimachinery.k8s.io + namedType: __untyped_atomic_ - name: com.github.openshift.api.operator.v1.EtcdStatus map: fields: @@ -1815,10 +1564,10 @@ var schemaYAML = typed.YAMLObject(`types: elementRelationship: atomic - name: lastGatherDuration type: - namedType: Duration.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.Duration - name: lastGatherTime type: - namedType: Time.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.Time - name: com.github.openshift.api.operator.v1.GathererStatus map: fields: @@ -1826,11 +1575,11 @@ var schemaYAML = typed.YAMLObject(`types: type: list: elementType: - namedType: Condition.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.Condition elementRelationship: atomic - name: lastGatherDuration type: - namedType: Duration.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.Duration - name: name type: scalar: string @@ -2021,7 +1770,7 @@ var schemaYAML = typed.YAMLObject(`types: scalar: string - name: metadata type: - namedType: ObjectMeta.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta default: {} - name: spec type: @@ -2183,7 +1932,7 @@ var schemaYAML = typed.YAMLObject(`types: default: Continue - name: defaultCertificate type: - namedType: LocalObjectReference.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.LocalObjectReference - name: domain type: scalar: string @@ -2213,7 +1962,7 @@ var schemaYAML = typed.YAMLObject(`types: namedType: com.github.openshift.api.operator.v1.IngressControllerLogging - name: namespaceSelector type: - namedType: LabelSelector.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector - name: nodePlacement type: namedType: com.github.openshift.api.operator.v1.NodePlacement @@ -2225,7 +1974,7 @@ var schemaYAML = typed.YAMLObject(`types: namedType: com.github.openshift.api.operator.v1.RouteAdmissionPolicy - name: routeSelector type: - namedType: LabelSelector.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector - name: tlsSecurityProfile type: namedType: com.github.openshift.api.config.v1.TLSSecurityProfile @@ -2235,7 +1984,7 @@ var schemaYAML = typed.YAMLObject(`types: default: {} - name: unsupportedConfigOverrides type: - namedType: RawExtension.runtime.pkg.apimachinery.k8s.io + namedType: __untyped_atomic_ - name: com.github.openshift.api.operator.v1.IngressControllerStatus map: fields: @@ -2260,13 +2009,13 @@ var schemaYAML = typed.YAMLObject(`types: namedType: com.github.openshift.api.operator.v1.EndpointPublishingStrategy - name: namespaceSelector type: - namedType: LabelSelector.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector - name: observedGeneration type: scalar: numeric - name: routeSelector type: - namedType: LabelSelector.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector - name: selector type: scalar: string @@ -2279,16 +2028,16 @@ var schemaYAML = typed.YAMLObject(`types: fields: - name: clientFinTimeout type: - namedType: Duration.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.Duration - name: clientTimeout type: - namedType: Duration.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.Duration - name: configurationManagement type: scalar: string - name: connectTimeout type: - namedType: Duration.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.Duration - name: headerBufferBytes type: scalar: numeric @@ -2297,31 +2046,31 @@ var schemaYAML = typed.YAMLObject(`types: scalar: numeric - name: healthCheckInterval type: - namedType: Duration.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.Duration - name: httpKeepAliveTimeout type: - namedType: Duration.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.Duration - name: maxConnections type: scalar: numeric - name: reloadInterval type: - namedType: Duration.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.Duration - name: serverFinTimeout type: - namedType: Duration.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.Duration - name: serverTimeout type: - namedType: Duration.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.Duration - name: threadCount type: scalar: numeric - name: tlsInspectDelay type: - namedType: Duration.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.Duration - name: tunnelTimeout type: - namedType: Duration.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.Duration - name: com.github.openshift.api.operator.v1.InsightsOperator map: fields: @@ -2333,7 +2082,7 @@ var schemaYAML = typed.YAMLObject(`types: scalar: string - name: metadata type: - namedType: ObjectMeta.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta default: {} - name: spec type: @@ -2355,13 +2104,13 @@ var schemaYAML = typed.YAMLObject(`types: default: "" - name: observedConfig type: - namedType: RawExtension.runtime.pkg.apimachinery.k8s.io + namedType: __untyped_atomic_ - name: operatorLogLevel type: scalar: string - name: unsupportedConfigOverrides type: - namedType: RawExtension.runtime.pkg.apimachinery.k8s.io + namedType: __untyped_atomic_ - name: com.github.openshift.api.operator.v1.InsightsOperatorStatus map: fields: @@ -2410,7 +2159,7 @@ var schemaYAML = typed.YAMLObject(`types: fields: - name: downloadedAt type: - namedType: Time.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.Time - name: healthChecks type: list: @@ -2426,6 +2175,39 @@ var schemaYAML = typed.YAMLObject(`types: elementType: scalar: string elementRelationship: associative +- name: com.github.openshift.api.operator.v1.KMSEncryptionStatus + map: + fields: + - name: healthReports + type: + list: + elementType: + namedType: com.github.openshift.api.operator.v1.KMSPluginHealthReport + elementRelationship: associative + keys: + - nodeName + - keyId +- name: com.github.openshift.api.operator.v1.KMSPluginHealthReport + map: + fields: + - name: detail + type: + scalar: string + - name: kekId + type: + scalar: string + - name: keyId + type: + scalar: string + - name: lastCheckedTime + type: + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.Time + - name: nodeName + type: + scalar: string + - name: status + type: + scalar: string - name: com.github.openshift.api.operator.v1.KubeAPIServer map: fields: @@ -2437,7 +2219,7 @@ var schemaYAML = typed.YAMLObject(`types: scalar: string - name: metadata type: - namedType: ObjectMeta.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta default: {} - name: spec type: @@ -2469,7 +2251,7 @@ var schemaYAML = typed.YAMLObject(`types: default: "" - name: observedConfig type: - namedType: RawExtension.runtime.pkg.apimachinery.k8s.io + namedType: __untyped_atomic_ - name: operatorLogLevel type: scalar: string @@ -2478,7 +2260,7 @@ var schemaYAML = typed.YAMLObject(`types: scalar: numeric - name: unsupportedConfigOverrides type: - namedType: RawExtension.runtime.pkg.apimachinery.k8s.io + namedType: __untyped_atomic_ - name: com.github.openshift.api.operator.v1.KubeAPIServerStatus map: fields: @@ -2490,6 +2272,10 @@ var schemaYAML = typed.YAMLObject(`types: elementRelationship: associative keys: - type + - name: encryptionStatus + type: + namedType: com.github.openshift.api.operator.v1.KMSEncryptionStatus + default: {} - name: generations type: list: @@ -2542,7 +2328,7 @@ var schemaYAML = typed.YAMLObject(`types: scalar: string - name: metadata type: - namedType: ObjectMeta.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta default: {} - name: spec type: @@ -2571,7 +2357,7 @@ var schemaYAML = typed.YAMLObject(`types: default: "" - name: observedConfig type: - namedType: RawExtension.runtime.pkg.apimachinery.k8s.io + namedType: __untyped_atomic_ - name: operatorLogLevel type: scalar: string @@ -2580,7 +2366,7 @@ var schemaYAML = typed.YAMLObject(`types: scalar: numeric - name: unsupportedConfigOverrides type: - namedType: RawExtension.runtime.pkg.apimachinery.k8s.io + namedType: __untyped_atomic_ - name: useMoreSecureServiceCA type: scalar: boolean @@ -2642,7 +2428,7 @@ var schemaYAML = typed.YAMLObject(`types: scalar: string - name: metadata type: - namedType: ObjectMeta.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta default: {} - name: spec type: @@ -2671,7 +2457,7 @@ var schemaYAML = typed.YAMLObject(`types: default: "" - name: observedConfig type: - namedType: RawExtension.runtime.pkg.apimachinery.k8s.io + namedType: __untyped_atomic_ - name: operatorLogLevel type: scalar: string @@ -2680,7 +2466,7 @@ var schemaYAML = typed.YAMLObject(`types: scalar: numeric - name: unsupportedConfigOverrides type: - namedType: RawExtension.runtime.pkg.apimachinery.k8s.io + namedType: __untyped_atomic_ - name: com.github.openshift.api.operator.v1.KubeSchedulerStatus map: fields: @@ -2738,7 +2524,7 @@ var schemaYAML = typed.YAMLObject(`types: scalar: string - name: metadata type: - namedType: ObjectMeta.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta default: {} - name: spec type: @@ -2760,13 +2546,13 @@ var schemaYAML = typed.YAMLObject(`types: default: "" - name: observedConfig type: - namedType: RawExtension.runtime.pkg.apimachinery.k8s.io + namedType: __untyped_atomic_ - name: operatorLogLevel type: scalar: string - name: unsupportedConfigOverrides type: - namedType: RawExtension.runtime.pkg.apimachinery.k8s.io + namedType: __untyped_atomic_ - name: com.github.openshift.api.operator.v1.KubeStorageVersionMigratorStatus map: fields: @@ -2886,7 +2672,7 @@ var schemaYAML = typed.YAMLObject(`types: scalar: string - name: metadata type: - namedType: ObjectMeta.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta default: {} - name: spec type: @@ -2931,7 +2717,7 @@ var schemaYAML = typed.YAMLObject(`types: default: {} - name: observedConfig type: - namedType: RawExtension.runtime.pkg.apimachinery.k8s.io + namedType: __untyped_atomic_ - name: operatorLogLevel type: scalar: string @@ -2940,7 +2726,7 @@ var schemaYAML = typed.YAMLObject(`types: scalar: numeric - name: unsupportedConfigOverrides type: - namedType: RawExtension.runtime.pkg.apimachinery.k8s.io + namedType: __untyped_atomic_ - name: com.github.openshift.api.operator.v1.MachineConfigurationStatus map: fields: @@ -2952,7 +2738,7 @@ var schemaYAML = typed.YAMLObject(`types: type: list: elementType: - namedType: Condition.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.Condition elementRelationship: associative keys: - type @@ -3009,6 +2795,17 @@ var schemaYAML = typed.YAMLObject(`types: keys: - resource - apiGroup +- name: com.github.openshift.api.operator.v1.ManagedTokenRequests + map: + fields: + - name: audiences + type: + list: + elementType: + namedType: com.github.openshift.api.operator.v1.SecretsStoreTokenRequest + elementRelationship: associative + keys: + - audience - name: com.github.openshift.api.operator.v1.NetFlowConfig map: fields: @@ -3029,7 +2826,7 @@ var schemaYAML = typed.YAMLObject(`types: scalar: string - name: metadata type: - namedType: ObjectMeta.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta default: {} - name: spec type: @@ -3106,7 +2903,7 @@ var schemaYAML = typed.YAMLObject(`types: namedType: com.github.openshift.api.operator.v1.NetworkMigration - name: observedConfig type: - namedType: RawExtension.runtime.pkg.apimachinery.k8s.io + namedType: __untyped_atomic_ - name: operatorLogLevel type: scalar: string @@ -3118,7 +2915,7 @@ var schemaYAML = typed.YAMLObject(`types: elementRelationship: atomic - name: unsupportedConfigOverrides type: - namedType: RawExtension.runtime.pkg.apimachinery.k8s.io + namedType: __untyped_atomic_ - name: useMultiNetworkPolicy type: scalar: boolean @@ -3334,12 +3131,12 @@ var schemaYAML = typed.YAMLObject(`types: fields: - name: nodeSelector type: - namedType: LabelSelector.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector - name: tolerations type: list: elementType: - namedType: Toleration.v1.core.api.k8s.io + namedType: io.k8s.api.core.v1.Toleration elementRelationship: atomic - name: com.github.openshift.api.operator.v1.NodePortStrategy map: @@ -3370,7 +3167,7 @@ var schemaYAML = typed.YAMLObject(`types: elementRelationship: atomic - name: lastFailedTime type: - namedType: Time.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.Time - name: lastFallbackCount type: scalar: numeric @@ -3378,12 +3175,19 @@ var schemaYAML = typed.YAMLObject(`types: type: scalar: string default: "" + - name: nodeUID + type: + scalar: string - name: targetRevision type: scalar: numeric - name: com.github.openshift.api.operator.v1.OAuthAPIServerStatus map: fields: + - name: encryptionStatus + type: + namedType: com.github.openshift.api.operator.v1.KMSEncryptionStatus + default: {} - name: latestAvailableRevision type: scalar: numeric @@ -3398,7 +3202,7 @@ var schemaYAML = typed.YAMLObject(`types: scalar: string - name: metadata type: - namedType: ObjectMeta.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta default: {} - name: spec type: @@ -3420,13 +3224,13 @@ var schemaYAML = typed.YAMLObject(`types: default: "" - name: observedConfig type: - namedType: RawExtension.runtime.pkg.apimachinery.k8s.io + namedType: __untyped_atomic_ - name: operatorLogLevel type: scalar: string - name: unsupportedConfigOverrides type: - namedType: RawExtension.runtime.pkg.apimachinery.k8s.io + namedType: __untyped_atomic_ - name: com.github.openshift.api.operator.v1.OLMStatus map: fields: @@ -3526,7 +3330,7 @@ var schemaYAML = typed.YAMLObject(`types: scalar: string - name: metadata type: - namedType: ObjectMeta.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta default: {} - name: spec type: @@ -3548,13 +3352,13 @@ var schemaYAML = typed.YAMLObject(`types: default: "" - name: observedConfig type: - namedType: RawExtension.runtime.pkg.apimachinery.k8s.io + namedType: __untyped_atomic_ - name: operatorLogLevel type: scalar: string - name: unsupportedConfigOverrides type: - namedType: RawExtension.runtime.pkg.apimachinery.k8s.io + namedType: __untyped_atomic_ - name: com.github.openshift.api.operator.v1.OpenShiftAPIServerStatus map: fields: @@ -3566,6 +3370,10 @@ var schemaYAML = typed.YAMLObject(`types: elementRelationship: associative keys: - type + - name: encryptionStatus + type: + namedType: com.github.openshift.api.operator.v1.KMSEncryptionStatus + default: {} - name: generations type: list: @@ -3601,7 +3409,7 @@ var schemaYAML = typed.YAMLObject(`types: scalar: string - name: metadata type: - namedType: ObjectMeta.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta default: {} - name: spec type: @@ -3623,13 +3431,13 @@ var schemaYAML = typed.YAMLObject(`types: default: "" - name: observedConfig type: - namedType: RawExtension.runtime.pkg.apimachinery.k8s.io + namedType: __untyped_atomic_ - name: operatorLogLevel type: scalar: string - name: unsupportedConfigOverrides type: - namedType: RawExtension.runtime.pkg.apimachinery.k8s.io + namedType: __untyped_atomic_ - name: com.github.openshift.api.operator.v1.OpenShiftControllerManagerStatus map: fields: @@ -3695,7 +3503,7 @@ var schemaYAML = typed.YAMLObject(`types: fields: - name: lastTransitionTime type: - namedType: Time.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.Time - name: message type: scalar: string @@ -3715,7 +3523,7 @@ var schemaYAML = typed.YAMLObject(`types: fields: - name: machineResourceSelector type: - namedType: LabelSelector.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector - name: com.github.openshift.api.operator.v1.Perspective map: fields: @@ -3866,13 +3674,13 @@ var schemaYAML = typed.YAMLObject(`types: type: list: elementType: - namedType: ResourceAttributes.v1.authorization.api.k8s.io + namedType: io.k8s.api.authorization.v1.ResourceAttributes elementRelationship: atomic - name: required type: list: elementType: - namedType: ResourceAttributes.v1.authorization.api.k8s.io + namedType: io.k8s.api.authorization.v1.ResourceAttributes elementRelationship: atomic - name: com.github.openshift.api.operator.v1.RestartService map: @@ -3884,21 +3692,71 @@ var schemaYAML = typed.YAMLObject(`types: - name: com.github.openshift.api.operator.v1.RouteAdmissionPolicy map: fields: - - name: namespaceOwnership + - name: namespaceOwnership + type: + scalar: string + - name: wildcardPolicy + type: + scalar: string +- name: com.github.openshift.api.operator.v1.SFlowConfig + map: + fields: + - name: collectors + type: + list: + elementType: + scalar: string + elementRelationship: atomic +- name: com.github.openshift.api.operator.v1.SecretsStoreCSIDriverConfigSpec + map: + fields: + - name: secretRotation + type: + namedType: com.github.openshift.api.operator.v1.SecretsStoreSecretRotation + default: {} + - name: tokenRequests + type: + namedType: com.github.openshift.api.operator.v1.SecretsStoreTokenRequests + default: {} +- name: com.github.openshift.api.operator.v1.SecretsStoreSecretRotation + map: + fields: + - name: custom + type: + namedType: com.github.openshift.api.operator.v1.CustomSecretRotation + default: {} + - name: type + type: + scalar: string + unions: + - discriminator: type + fields: + - fieldName: custom + discriminatorValue: Custom +- name: com.github.openshift.api.operator.v1.SecretsStoreTokenRequest + map: + fields: + - name: audience type: scalar: string - - name: wildcardPolicy + - name: expirationSeconds type: - scalar: string -- name: com.github.openshift.api.operator.v1.SFlowConfig + scalar: numeric +- name: com.github.openshift.api.operator.v1.SecretsStoreTokenRequests map: fields: - - name: collectors + - name: managed type: - list: - elementType: - scalar: string - elementRelationship: atomic + namedType: com.github.openshift.api.operator.v1.ManagedTokenRequests + default: {} + - name: type + type: + scalar: string + unions: + - discriminator: type + fields: + - fieldName: managed + discriminatorValue: Managed - name: com.github.openshift.api.operator.v1.Server map: fields: @@ -3921,7 +3779,7 @@ var schemaYAML = typed.YAMLObject(`types: fields: - name: expirationTime type: - namedType: Time.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.Time - name: name type: scalar: string @@ -3937,7 +3795,7 @@ var schemaYAML = typed.YAMLObject(`types: scalar: string - name: metadata type: - namedType: ObjectMeta.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta default: {} - name: spec type: @@ -3959,13 +3817,13 @@ var schemaYAML = typed.YAMLObject(`types: default: "" - name: observedConfig type: - namedType: RawExtension.runtime.pkg.apimachinery.k8s.io + namedType: __untyped_atomic_ - name: operatorLogLevel type: scalar: string - name: unsupportedConfigOverrides type: - namedType: RawExtension.runtime.pkg.apimachinery.k8s.io + namedType: __untyped_atomic_ - name: com.github.openshift.api.operator.v1.ServiceCAStatus map: fields: @@ -4012,7 +3870,7 @@ var schemaYAML = typed.YAMLObject(`types: scalar: string - name: metadata type: - namedType: ObjectMeta.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta default: {} - name: spec type: @@ -4034,13 +3892,13 @@ var schemaYAML = typed.YAMLObject(`types: default: "" - name: observedConfig type: - namedType: RawExtension.runtime.pkg.apimachinery.k8s.io + namedType: __untyped_atomic_ - name: operatorLogLevel type: scalar: string - name: unsupportedConfigOverrides type: - namedType: RawExtension.runtime.pkg.apimachinery.k8s.io + namedType: __untyped_atomic_ - name: com.github.openshift.api.operator.v1.ServiceCatalogAPIServerStatus map: fields: @@ -4087,7 +3945,7 @@ var schemaYAML = typed.YAMLObject(`types: scalar: string - name: metadata type: - namedType: ObjectMeta.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta default: {} - name: spec type: @@ -4109,13 +3967,13 @@ var schemaYAML = typed.YAMLObject(`types: default: "" - name: observedConfig type: - namedType: RawExtension.runtime.pkg.apimachinery.k8s.io + namedType: __untyped_atomic_ - name: operatorLogLevel type: scalar: string - name: unsupportedConfigOverrides type: - namedType: RawExtension.runtime.pkg.apimachinery.k8s.io + namedType: __untyped_atomic_ - name: com.github.openshift.api.operator.v1.ServiceCatalogControllerManagerStatus map: fields: @@ -4240,7 +4098,7 @@ var schemaYAML = typed.YAMLObject(`types: scalar: string - name: metadata type: - namedType: ObjectMeta.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta default: {} - name: spec type: @@ -4262,13 +4120,13 @@ var schemaYAML = typed.YAMLObject(`types: default: "" - name: observedConfig type: - namedType: RawExtension.runtime.pkg.apimachinery.k8s.io + namedType: __untyped_atomic_ - name: operatorLogLevel type: scalar: string - name: unsupportedConfigOverrides type: - namedType: RawExtension.runtime.pkg.apimachinery.k8s.io + namedType: __untyped_atomic_ - name: vsphereStorageDriver type: scalar: string @@ -4412,7 +4270,7 @@ var schemaYAML = typed.YAMLObject(`types: scalar: string - name: metadata type: - namedType: ObjectMeta.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta default: {} - name: spec type: @@ -4508,204 +4366,499 @@ var schemaYAML = typed.YAMLObject(`types: - name: desiredRevision type: scalar: string - - name: observedRevisionGeneration + - name: observedRevisionGeneration + type: + scalar: numeric + - name: revisions + type: + list: + elementType: + namedType: com.github.openshift.api.operator.v1alpha1.ClusterAPIInstallerRevision + elementRelationship: atomic +- name: com.github.openshift.api.operator.v1alpha1.ClusterVersionOperator + map: + fields: + - name: apiVersion + type: + scalar: string + - name: kind + type: + scalar: string + - name: metadata + type: + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta + default: {} + - name: spec + type: + namedType: com.github.openshift.api.operator.v1alpha1.ClusterVersionOperatorSpec + default: {} + - name: status + type: + namedType: com.github.openshift.api.operator.v1alpha1.ClusterVersionOperatorStatus + default: {} +- name: com.github.openshift.api.operator.v1alpha1.ClusterVersionOperatorSpec + map: + fields: + - name: operatorLogLevel + type: + scalar: string +- name: com.github.openshift.api.operator.v1alpha1.ClusterVersionOperatorStatus + map: + fields: + - name: observedGeneration + type: + scalar: numeric +- name: com.github.openshift.api.operator.v1alpha1.EtcdBackup + map: + fields: + - name: apiVersion + type: + scalar: string + - name: kind + type: + scalar: string + - name: metadata + type: + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta + default: {} + - name: spec + type: + namedType: com.github.openshift.api.operator.v1alpha1.EtcdBackupSpec + default: {} + - name: status + type: + namedType: com.github.openshift.api.operator.v1alpha1.EtcdBackupStatus + default: {} +- name: com.github.openshift.api.operator.v1alpha1.EtcdBackupSpec + map: + fields: + - name: pvcName + type: + scalar: string + default: "" +- name: com.github.openshift.api.operator.v1alpha1.EtcdBackupStatus + map: + fields: + - name: backupJob + type: + namedType: com.github.openshift.api.operator.v1alpha1.BackupJobReference + - name: conditions + type: + list: + elementType: + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.Condition + elementRelationship: associative + keys: + - type +- name: com.github.openshift.api.operator.v1alpha1.ImageContentSourcePolicy + map: + fields: + - name: apiVersion + type: + scalar: string + - name: kind + type: + scalar: string + - name: metadata + type: + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta + default: {} + - name: spec + type: + namedType: com.github.openshift.api.operator.v1alpha1.ImageContentSourcePolicySpec + default: {} +- name: com.github.openshift.api.operator.v1alpha1.ImageContentSourcePolicySpec + map: + fields: + - name: repositoryDigestMirrors + type: + list: + elementType: + namedType: com.github.openshift.api.operator.v1alpha1.RepositoryDigestMirrors + elementRelationship: atomic +- name: com.github.openshift.api.operator.v1alpha1.OLM + map: + fields: + - name: apiVersion + type: + scalar: string + - name: kind + type: + scalar: string + - name: metadata + type: + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta + default: {} + - name: spec + type: + namedType: com.github.openshift.api.operator.v1alpha1.OLMSpec + default: {} + - name: status + type: + namedType: com.github.openshift.api.operator.v1alpha1.OLMStatus + default: {} +- name: com.github.openshift.api.operator.v1alpha1.OLMSpec + map: + fields: + - name: logLevel + type: + scalar: string + - name: managementState + type: + scalar: string + default: "" + - name: observedConfig + type: + namedType: __untyped_atomic_ + - name: operatorLogLevel + type: + scalar: string + - name: unsupportedConfigOverrides + type: + namedType: __untyped_atomic_ +- name: com.github.openshift.api.operator.v1alpha1.OLMStatus + map: + fields: + - name: conditions + type: + list: + elementType: + namedType: com.github.openshift.api.operator.v1.OperatorCondition + elementRelationship: associative + keys: + - type + - name: generations + type: + list: + elementType: + namedType: com.github.openshift.api.operator.v1.GenerationStatus + elementRelationship: associative + keys: + - group + - resource + - namespace + - name + - name: latestAvailableRevision + type: + scalar: numeric + - name: observedGeneration + type: + scalar: numeric + - name: readyReplicas + type: + scalar: numeric + default: 0 + - name: version + type: + scalar: string +- name: com.github.openshift.api.operator.v1alpha1.RepositoryDigestMirrors + map: + fields: + - name: mirrors + type: + list: + elementType: + scalar: string + elementRelationship: atomic + - name: source + type: + scalar: string + default: "" +- name: io.k8s.api.authorization.v1.FieldSelectorAttributes + map: + fields: + - name: rawSelector + type: + scalar: string + - name: requirements + type: + list: + elementType: + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.FieldSelectorRequirement + elementRelationship: atomic +- name: io.k8s.api.authorization.v1.LabelSelectorAttributes + map: + fields: + - name: rawSelector + type: + scalar: string + - name: requirements + type: + list: + elementType: + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement + elementRelationship: atomic +- name: io.k8s.api.authorization.v1.ResourceAttributes + map: + fields: + - name: fieldSelector + type: + namedType: io.k8s.api.authorization.v1.FieldSelectorAttributes + - name: group + type: + scalar: string + - name: labelSelector + type: + namedType: io.k8s.api.authorization.v1.LabelSelectorAttributes + - name: name + type: + scalar: string + - name: namespace + type: + scalar: string + - name: resource + type: + scalar: string + - name: subresource + type: + scalar: string + - name: verb + type: + scalar: string + - name: version type: - scalar: numeric - - name: revisions + scalar: string +- name: io.k8s.api.core.v1.LocalObjectReference + map: + fields: + - name: name type: - list: - elementType: - namedType: com.github.openshift.api.operator.v1alpha1.ClusterAPIInstallerRevision - elementRelationship: atomic -- name: com.github.openshift.api.operator.v1alpha1.ClusterVersionOperator + scalar: string + default: "" + elementRelationship: atomic +- name: io.k8s.api.core.v1.Toleration map: fields: - - name: apiVersion + - name: effect type: scalar: string - - name: kind + - name: key type: scalar: string - - name: metadata + - name: operator type: - namedType: ObjectMeta.v1.meta.apis.pkg.apimachinery.k8s.io - default: {} - - name: spec + scalar: string + - name: tolerationSeconds type: - namedType: com.github.openshift.api.operator.v1alpha1.ClusterVersionOperatorSpec - default: {} - - name: status + scalar: numeric + - name: value type: - namedType: com.github.openshift.api.operator.v1alpha1.ClusterVersionOperatorStatus - default: {} -- name: com.github.openshift.api.operator.v1alpha1.ClusterVersionOperatorSpec + scalar: string +- name: io.k8s.apimachinery.pkg.apis.meta.v1.Condition map: fields: - - name: operatorLogLevel + - name: lastTransitionTime + type: + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.Time + - name: message type: scalar: string -- name: com.github.openshift.api.operator.v1alpha1.ClusterVersionOperatorStatus - map: - fields: + default: "" - name: observedGeneration type: scalar: numeric -- name: com.github.openshift.api.operator.v1alpha1.EtcdBackup - map: - fields: - - name: apiVersion + - name: reason type: scalar: string - - name: kind + default: "" + - name: status type: scalar: string - - name: metadata - type: - namedType: ObjectMeta.v1.meta.apis.pkg.apimachinery.k8s.io - default: {} - - name: spec - type: - namedType: com.github.openshift.api.operator.v1alpha1.EtcdBackupSpec - default: {} - - name: status + default: "" + - name: type type: - namedType: com.github.openshift.api.operator.v1alpha1.EtcdBackupStatus - default: {} -- name: com.github.openshift.api.operator.v1alpha1.EtcdBackupSpec + scalar: string + default: "" +- name: io.k8s.apimachinery.pkg.apis.meta.v1.Duration + scalar: string +- name: io.k8s.apimachinery.pkg.apis.meta.v1.FieldSelectorRequirement map: fields: - - name: pvcName + - name: key type: scalar: string default: "" -- name: com.github.openshift.api.operator.v1alpha1.EtcdBackupStatus + - name: operator + type: + scalar: string + default: "" + - name: values + type: + list: + elementType: + scalar: string + elementRelationship: atomic +- name: io.k8s.apimachinery.pkg.apis.meta.v1.FieldsV1 + map: + elementType: + scalar: untyped + list: + elementType: + namedType: __untyped_atomic_ + elementRelationship: atomic + map: + elementType: + namedType: __untyped_deduced_ + elementRelationship: separable +- name: io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector map: fields: - - name: backupJob - type: - namedType: com.github.openshift.api.operator.v1alpha1.BackupJobReference - - name: conditions + - name: matchExpressions type: list: elementType: - namedType: Condition.v1.meta.apis.pkg.apimachinery.k8s.io - elementRelationship: associative - keys: - - type -- name: com.github.openshift.api.operator.v1alpha1.ImageContentSourcePolicy + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement + elementRelationship: atomic + - name: matchLabels + type: + map: + elementType: + scalar: string + elementRelationship: atomic +- name: io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement map: fields: - - name: apiVersion + - name: key type: scalar: string - - name: kind + default: "" + - name: operator type: scalar: string - - name: metadata - type: - namedType: ObjectMeta.v1.meta.apis.pkg.apimachinery.k8s.io - default: {} - - name: spec - type: - namedType: com.github.openshift.api.operator.v1alpha1.ImageContentSourcePolicySpec - default: {} -- name: com.github.openshift.api.operator.v1alpha1.ImageContentSourcePolicySpec - map: - fields: - - name: repositoryDigestMirrors + default: "" + - name: values type: list: elementType: - namedType: com.github.openshift.api.operator.v1alpha1.RepositoryDigestMirrors + scalar: string elementRelationship: atomic -- name: com.github.openshift.api.operator.v1alpha1.OLM +- name: io.k8s.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry map: fields: - name: apiVersion type: scalar: string - - name: kind + - name: fieldsType type: scalar: string - - name: metadata - type: - namedType: ObjectMeta.v1.meta.apis.pkg.apimachinery.k8s.io - default: {} - - name: spec - type: - namedType: com.github.openshift.api.operator.v1alpha1.OLMSpec - default: {} - - name: status + - name: fieldsV1 type: - namedType: com.github.openshift.api.operator.v1alpha1.OLMStatus - default: {} -- name: com.github.openshift.api.operator.v1alpha1.OLMSpec - map: - fields: - - name: logLevel + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.FieldsV1 + - name: manager type: scalar: string - - name: managementState + - name: operation type: scalar: string - default: "" - - name: observedConfig - type: - namedType: RawExtension.runtime.pkg.apimachinery.k8s.io - - name: operatorLogLevel + - name: subresource type: scalar: string - - name: unsupportedConfigOverrides + - name: time type: - namedType: RawExtension.runtime.pkg.apimachinery.k8s.io -- name: com.github.openshift.api.operator.v1alpha1.OLMStatus + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.Time +- name: io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta map: fields: - - name: conditions + - name: annotations + type: + map: + elementType: + scalar: string + - name: creationTimestamp + type: + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.Time + - name: deletionGracePeriodSeconds + type: + scalar: numeric + - name: deletionTimestamp + type: + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.Time + - name: finalizers type: list: elementType: - namedType: com.github.openshift.api.operator.v1.OperatorCondition + scalar: string elementRelationship: associative - keys: - - type - - name: generations + - name: generateName + type: + scalar: string + - name: generation + type: + scalar: numeric + - name: labels + type: + map: + elementType: + scalar: string + - name: managedFields type: list: elementType: - namedType: com.github.openshift.api.operator.v1.GenerationStatus + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry + elementRelationship: atomic + - name: name + type: + scalar: string + - name: namespace + type: + scalar: string + - name: ownerReferences + type: + list: + elementType: + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.OwnerReference elementRelationship: associative keys: - - group - - resource - - namespace - - name - - name: latestAvailableRevision - type: - scalar: numeric - - name: observedGeneration + - uid + - name: resourceVersion type: - scalar: numeric - - name: readyReplicas + scalar: string + - name: selfLink type: - scalar: numeric - default: 0 - - name: version + scalar: string + - name: uid type: scalar: string -- name: com.github.openshift.api.operator.v1alpha1.RepositoryDigestMirrors +- name: io.k8s.apimachinery.pkg.apis.meta.v1.OwnerReference map: fields: - - name: mirrors + - name: apiVersion type: - list: - elementType: - scalar: string - elementRelationship: atomic - - name: source + scalar: string + default: "" + - name: blockOwnerDeletion + type: + scalar: boolean + - name: controller + type: + scalar: boolean + - name: kind + type: + scalar: string + default: "" + - name: name + type: + scalar: string + default: "" + - name: uid type: scalar: string default: "" + elementRelationship: atomic +- name: io.k8s.apimachinery.pkg.apis.meta.v1.Time + scalar: untyped +- name: io.k8s.apimachinery.pkg.runtime.RawExtension + map: + elementType: + scalar: untyped + list: + elementType: + namedType: __untyped_atomic_ + elementRelationship: atomic + map: + elementType: + namedType: __untyped_deduced_ + elementRelationship: separable - name: __untyped_atomic_ scalar: untyped list: diff --git a/vendor/github.com/openshift/client-go/operator/applyconfigurations/operator/v1/authenticationconfigmapreference.go b/vendor/github.com/openshift/client-go/operator/applyconfigurations/operator/v1/authenticationconfigmapreference.go new file mode 100644 index 0000000000..0743906641 --- /dev/null +++ b/vendor/github.com/openshift/client-go/operator/applyconfigurations/operator/v1/authenticationconfigmapreference.go @@ -0,0 +1,30 @@ +// Code generated by applyconfiguration-gen. DO NOT EDIT. + +package v1 + +// AuthenticationConfigMapReferenceApplyConfiguration represents a declarative configuration of the AuthenticationConfigMapReference type for use +// with apply. +// +// AuthenticationConfigMapReference references a ConfigMap in the +// openshift-config namespace. +type AuthenticationConfigMapReferenceApplyConfiguration struct { + // name is the metadata.name of the referenced ConfigMap. + // Must be a valid DNS subdomain name (RFC 1123): at most 253 + // characters, only lowercase alphanumeric characters, '-' or + // '.', starting and ending with an alphanumeric character. + Name *string `json:"name,omitempty"` +} + +// AuthenticationConfigMapReferenceApplyConfiguration constructs a declarative configuration of the AuthenticationConfigMapReference type for use with +// apply. +func AuthenticationConfigMapReference() *AuthenticationConfigMapReferenceApplyConfiguration { + return &AuthenticationConfigMapReferenceApplyConfiguration{} +} + +// WithName sets the Name field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the Name field is set to the value of the last call. +func (b *AuthenticationConfigMapReferenceApplyConfiguration) WithName(value string) *AuthenticationConfigMapReferenceApplyConfiguration { + b.Name = &value + return b +} diff --git a/vendor/github.com/openshift/client-go/operator/applyconfigurations/operator/v1/authenticationproxyconfig.go b/vendor/github.com/openshift/client-go/operator/applyconfigurations/operator/v1/authenticationproxyconfig.go new file mode 100644 index 0000000000..8b5e291443 --- /dev/null +++ b/vendor/github.com/openshift/client-go/operator/applyconfigurations/operator/v1/authenticationproxyconfig.go @@ -0,0 +1,79 @@ +// Code generated by applyconfiguration-gen. DO NOT EDIT. + +package v1 + +// AuthenticationProxyConfigApplyConfiguration represents a declarative configuration of the AuthenticationProxyConfig type for use +// with apply. +// +// AuthenticationProxyConfig holds proxy configuration scoped to +// authentication components (the OAuth server and the cluster +// authentication operator). +type AuthenticationProxyConfigApplyConfiguration struct { + // httpProxy is the URL of the proxy for HTTP requests. + // Must be a valid URL with http or https scheme, a non-empty + // hostname, and no path, query parameters, or fragment. + // Userinfo (e.g. user:password@host) is allowed for proxy + // authentication. Maximum length is 2048 characters. + HTTPProxy *string `json:"httpProxy,omitempty"` + // httpsProxy is the URL of the proxy for HTTPS requests. + // Must be a valid URL with http or https scheme, a non-empty + // hostname, and no path, query parameters, or fragment. + // Userinfo (e.g. user:password@host) is allowed for proxy + // authentication. Maximum length is 2048 characters. + HTTPSProxy *string `json:"httpsProxy,omitempty"` + // noProxy is a list of hostnames and/or CIDRs and/or IPs for which + // the proxy should not be used. Must contain at least one entry + // when set. Each entry must be between 1 and 253 characters long + // and at most 64 entries are allowed. Duplicate + // entries are not permitted. Entries that are not valid hostnames, + // CIDRs, or IPs are silently ignored. Cluster-internal defaults + // (.cluster.local, .svc, 127.0.0.1, localhost) are always appended + // automatically and do not need to be included. + NoProxy []string `json:"noProxy,omitempty"` + // trustedCA is a reference to a ConfigMap in the openshift-config + // namespace containing a CA certificate bundle under the key + // "ca-bundle.crt". This bundle is appended to the system trust store + // used by authentication components for proxy TLS connections. + // When omitted, only the system trust store is used. + TrustedCA *AuthenticationConfigMapReferenceApplyConfiguration `json:"trustedCA,omitempty"` +} + +// AuthenticationProxyConfigApplyConfiguration constructs a declarative configuration of the AuthenticationProxyConfig type for use with +// apply. +func AuthenticationProxyConfig() *AuthenticationProxyConfigApplyConfiguration { + return &AuthenticationProxyConfigApplyConfiguration{} +} + +// WithHTTPProxy sets the HTTPProxy field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the HTTPProxy field is set to the value of the last call. +func (b *AuthenticationProxyConfigApplyConfiguration) WithHTTPProxy(value string) *AuthenticationProxyConfigApplyConfiguration { + b.HTTPProxy = &value + return b +} + +// WithHTTPSProxy sets the HTTPSProxy field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the HTTPSProxy field is set to the value of the last call. +func (b *AuthenticationProxyConfigApplyConfiguration) WithHTTPSProxy(value string) *AuthenticationProxyConfigApplyConfiguration { + b.HTTPSProxy = &value + return b +} + +// WithNoProxy adds the given value to the NoProxy field in the declarative configuration +// and returns the receiver, so that objects can be build by chaining "With" function invocations. +// If called multiple times, values provided by each call will be appended to the NoProxy field. +func (b *AuthenticationProxyConfigApplyConfiguration) WithNoProxy(values ...string) *AuthenticationProxyConfigApplyConfiguration { + for i := range values { + b.NoProxy = append(b.NoProxy, values[i]) + } + return b +} + +// WithTrustedCA sets the TrustedCA field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the TrustedCA field is set to the value of the last call. +func (b *AuthenticationProxyConfigApplyConfiguration) WithTrustedCA(value *AuthenticationConfigMapReferenceApplyConfiguration) *AuthenticationProxyConfigApplyConfiguration { + b.TrustedCA = value + return b +} diff --git a/vendor/github.com/openshift/client-go/operator/applyconfigurations/operator/v1/authenticationspec.go b/vendor/github.com/openshift/client-go/operator/applyconfigurations/operator/v1/authenticationspec.go index ac90816bce..4d2fb8c7ce 100644 --- a/vendor/github.com/openshift/client-go/operator/applyconfigurations/operator/v1/authenticationspec.go +++ b/vendor/github.com/openshift/client-go/operator/applyconfigurations/operator/v1/authenticationspec.go @@ -11,6 +11,14 @@ import ( // with apply. type AuthenticationSpecApplyConfiguration struct { OperatorSpecApplyConfiguration `json:",inline"` + // proxy configures proxy settings for outbound connections made + // by the authentication stack. When set, it replaces the + // cluster-wide proxy (proxy.config.openshift.io/cluster) + // entirely for authentication — individual fields are not + // inherited from the cluster-wide configuration. When omitted, + // the cluster-wide proxy is used if configured; otherwise no + // proxy is used. + Proxy *AuthenticationProxyConfigApplyConfiguration `json:"proxy,omitempty"` } // AuthenticationSpecApplyConfiguration constructs a declarative configuration of the AuthenticationSpec type for use with @@ -58,3 +66,11 @@ func (b *AuthenticationSpecApplyConfiguration) WithObservedConfig(value runtime. b.OperatorSpecApplyConfiguration.ObservedConfig = &value return b } + +// WithProxy sets the Proxy field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the Proxy field is set to the value of the last call. +func (b *AuthenticationSpecApplyConfiguration) WithProxy(value *AuthenticationProxyConfigApplyConfiguration) *AuthenticationSpecApplyConfiguration { + b.Proxy = value + return b +} diff --git a/vendor/github.com/openshift/client-go/operator/applyconfigurations/operator/v1/awsnetworkloadbalancerparameters.go b/vendor/github.com/openshift/client-go/operator/applyconfigurations/operator/v1/awsnetworkloadbalancerparameters.go index 3785c6995e..40cd5a65b0 100644 --- a/vendor/github.com/openshift/client-go/operator/applyconfigurations/operator/v1/awsnetworkloadbalancerparameters.go +++ b/vendor/github.com/openshift/client-go/operator/applyconfigurations/operator/v1/awsnetworkloadbalancerparameters.go @@ -38,6 +38,33 @@ type AWSNetworkLoadBalancerParametersApplyConfiguration struct { // See https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html for general // information about configuration, characteristics, and limitations of Elastic IP addresses. EIPAllocations []operatorv1.EIPAllocation `json:"eipAllocations,omitempty"` + // protocol specifies whether the Network Load Balancer uses PROXY + // protocol to forward connections to the IngressController. + // + // When set to "TCP", the NLB uses AWS's native client IP preservation. + // This may cause hairpin connection failures for internal load + // balancers when connections are made from pods to router pods on + // the same node. + // + // When set to "PROXY", the NLB disables native client IP preservation + // and uses PROXY protocol v2. The IngressController enables PROXY + // protocol on HAProxy so that it can parse PROXY protocol headers to + // obtain the original client IP. This avoids hairpin connection + // failures. + // + // The following values are valid for this field: + // + // * "TCP". + // * "PROXY". + // + // When omitted, this means the user has no opinion and the value is + // left to the platform to choose a reasonable default, which is subject to + // change over time. The current default is "PROXY". + // + // Note that changing this field may cause brief connection failures + // during the transition as the NLB attribute change and router rollout + // occur independently. + Protocol *operatorv1.NLBProtocol `json:"protocol,omitempty"` } // AWSNetworkLoadBalancerParametersApplyConfiguration constructs a declarative configuration of the AWSNetworkLoadBalancerParameters type for use with @@ -63,3 +90,11 @@ func (b *AWSNetworkLoadBalancerParametersApplyConfiguration) WithEIPAllocations( } return b } + +// WithProtocol sets the Protocol field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the Protocol field is set to the value of the last call. +func (b *AWSNetworkLoadBalancerParametersApplyConfiguration) WithProtocol(value operatorv1.NLBProtocol) *AWSNetworkLoadBalancerParametersApplyConfiguration { + b.Protocol = &value + return b +} diff --git a/vendor/github.com/openshift/client-go/operator/applyconfigurations/operator/v1/csidriverconfigspec.go b/vendor/github.com/openshift/client-go/operator/applyconfigurations/operator/v1/csidriverconfigspec.go index 215a65371c..4ff829f8a7 100644 --- a/vendor/github.com/openshift/client-go/operator/applyconfigurations/operator/v1/csidriverconfigspec.go +++ b/vendor/github.com/openshift/client-go/operator/applyconfigurations/operator/v1/csidriverconfigspec.go @@ -14,7 +14,7 @@ import ( type CSIDriverConfigSpecApplyConfiguration struct { // driverType indicates type of CSI driver for which the // driverConfig is being applied to. - // Valid values are: AWS, Azure, GCP, IBMCloud, vSphere and omitted. + // Valid values are: AWS, Azure, GCP, IBMCloud, vSphere, SecretsStore and omitted. // Consumers should treat unknown values as a NO-OP. DriverType *operatorv1.CSIDriverType `json:"driverType,omitempty"` // aws is used to configure the AWS CSI driver. @@ -27,6 +27,8 @@ type CSIDriverConfigSpecApplyConfiguration struct { IBMCloud *IBMCloudCSIDriverConfigSpecApplyConfiguration `json:"ibmcloud,omitempty"` // vSphere is used to configure the vsphere CSI driver. VSphere *VSphereCSIDriverConfigSpecApplyConfiguration `json:"vSphere,omitempty"` + // secretsStore is used to configure the Secrets Store CSI driver. + SecretsStore *SecretsStoreCSIDriverConfigSpecApplyConfiguration `json:"secretsStore,omitempty"` } // CSIDriverConfigSpecApplyConfiguration constructs a declarative configuration of the CSIDriverConfigSpec type for use with @@ -82,3 +84,11 @@ func (b *CSIDriverConfigSpecApplyConfiguration) WithVSphere(value *VSphereCSIDri b.VSphere = value return b } + +// WithSecretsStore sets the SecretsStore field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the SecretsStore field is set to the value of the last call. +func (b *CSIDriverConfigSpecApplyConfiguration) WithSecretsStore(value *SecretsStoreCSIDriverConfigSpecApplyConfiguration) *CSIDriverConfigSpecApplyConfiguration { + b.SecretsStore = value + return b +} diff --git a/vendor/github.com/openshift/client-go/operator/applyconfigurations/operator/v1/customsecretrotation.go b/vendor/github.com/openshift/client-go/operator/applyconfigurations/operator/v1/customsecretrotation.go new file mode 100644 index 0000000000..189d31ad7e --- /dev/null +++ b/vendor/github.com/openshift/client-go/operator/applyconfigurations/operator/v1/customsecretrotation.go @@ -0,0 +1,35 @@ +// Code generated by applyconfiguration-gen. DO NOT EDIT. + +package v1 + +// CustomSecretRotationApplyConfiguration represents a declarative configuration of the CustomSecretRotation type for use +// with apply. +// +// CustomSecretRotation holds configuration for custom secret rotation behavior. +type CustomSecretRotationApplyConfiguration struct { + // minimumRefreshAge is the minimum time in seconds between secret + // rotation attempts. Each time kubelet calls NodePublishVolume, the driver + // checks whether this interval has elapsed since the last successful provider + // call. If it has, the driver contacts the secret provider to fetch the latest + // secret values and updates the mounted volume. + // Setting this value below the kubelet syncFrequency (default: 1 minute) + // has no additional effect on the actual rotation cadence. + // Must be at least 1 second and no more than 31560000 seconds (~1 year). + // When omitted, this means no opinion and the platform is left to choose a + // reasonable default, which is subject to change over time. + MinimumRefreshAge *int32 `json:"minimumRefreshAge,omitempty"` +} + +// CustomSecretRotationApplyConfiguration constructs a declarative configuration of the CustomSecretRotation type for use with +// apply. +func CustomSecretRotation() *CustomSecretRotationApplyConfiguration { + return &CustomSecretRotationApplyConfiguration{} +} + +// WithMinimumRefreshAge sets the MinimumRefreshAge field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the MinimumRefreshAge field is set to the value of the last call. +func (b *CustomSecretRotationApplyConfiguration) WithMinimumRefreshAge(value int32) *CustomSecretRotationApplyConfiguration { + b.MinimumRefreshAge = &value + return b +} diff --git a/vendor/github.com/openshift/client-go/operator/applyconfigurations/operator/v1/ingresscontrollerspec.go b/vendor/github.com/openshift/client-go/operator/applyconfigurations/operator/v1/ingresscontrollerspec.go index 9874c3b63b..b6337158c3 100644 --- a/vendor/github.com/openshift/client-go/operator/applyconfigurations/operator/v1/ingresscontrollerspec.go +++ b/vendor/github.com/openshift/client-go/operator/applyconfigurations/operator/v1/ingresscontrollerspec.go @@ -285,6 +285,27 @@ type IngressControllerSpecApplyConfiguration struct { // - Using RSA keys larger than 2048 bits can significantly slow down // TLS computations. Consider using the "Abort" policy to reduce CPU usage. ClosedClientConnectionPolicy *operatorv1.IngressControllerClosedClientConnectionPolicy `json:"closedClientConnectionPolicy,omitempty"` + // haproxyVersion specifies the HAProxy version to use for this + // IngressController. + // + // OpenShift 5.0 introduces HAProxy 3.2 as its default version and supports + // HAProxy 2.8 from OpenShift 4.22 for migration purposes. When an OpenShift + // release introduces a new default HAProxy version, that HAProxy version + // becomes available as a pinnable value in subsequent OpenShift releases, + // providing a smooth migration path for administrators who want to defer + // HAProxy upgrades. + // + // Valid values for OpenShift 5.0: + // - Unset (default): Uses HAProxy 3.2 (the default for OpenShift 5.0) + // - "3.2": Explicitly pins HAProxy 3.2 for preservation during cluster + // upgrades to future OpenShift releases + // - "2.8": Uses HAProxy 2.8 from OpenShift 4.22 (migration support, will + // be dropped in the next OpenShift release) + // + // If a specific HAProxy version is set and would become unsupported in a + // target cluster upgrade, a preflight check will block the cluster upgrade + // until this field is updated to unset or a supported version. + HAProxyVersion *operatorv1.HAProxyVersion `json:"haproxyVersion,omitempty"` } // IngressControllerSpecApplyConfiguration constructs a declarative configuration of the IngressControllerSpec type for use with @@ -444,3 +465,11 @@ func (b *IngressControllerSpecApplyConfiguration) WithClosedClientConnectionPoli b.ClosedClientConnectionPolicy = &value return b } + +// WithHAProxyVersion sets the HAProxyVersion field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the HAProxyVersion field is set to the value of the last call. +func (b *IngressControllerSpecApplyConfiguration) WithHAProxyVersion(value operatorv1.HAProxyVersion) *IngressControllerSpecApplyConfiguration { + b.HAProxyVersion = &value + return b +} diff --git a/vendor/github.com/openshift/client-go/operator/applyconfigurations/operator/v1/ingresscontrollerstatus.go b/vendor/github.com/openshift/client-go/operator/applyconfigurations/operator/v1/ingresscontrollerstatus.go index d42313f040..169f158b6f 100644 --- a/vendor/github.com/openshift/client-go/operator/applyconfigurations/operator/v1/ingresscontrollerstatus.go +++ b/vendor/github.com/openshift/client-go/operator/applyconfigurations/operator/v1/ingresscontrollerstatus.go @@ -4,6 +4,7 @@ package v1 import ( configv1 "github.com/openshift/api/config/v1" + operatorv1 "github.com/openshift/api/operator/v1" metav1 "k8s.io/client-go/applyconfigurations/meta/v1" ) @@ -64,6 +65,15 @@ type IngressControllerStatusApplyConfiguration struct { NamespaceSelector *metav1.LabelSelectorApplyConfiguration `json:"namespaceSelector,omitempty"` // routeSelector is the actual routeSelector in use. RouteSelector *metav1.LabelSelectorApplyConfiguration `json:"routeSelector,omitempty"` + // effectiveHAProxyVersion reports the HAProxy version currently in use by + // this IngressController. This reflects the resolved value of the + // spec.haproxyVersion field. When omitted, the effective value has not yet + // been resolved by the operator or the feature is not enabled for this cluster. + // + // Examples for OpenShift 5.0: + // - "3.2": Using HAProxy 3.2 + // - "2.8": Using HAProxy 2.8 + EffectiveHAProxyVersion *operatorv1.HAProxyVersion `json:"effectiveHAProxyVersion,omitempty"` } // IngressControllerStatusApplyConfiguration constructs a declarative configuration of the IngressControllerStatus type for use with @@ -148,3 +158,11 @@ func (b *IngressControllerStatusApplyConfiguration) WithRouteSelector(value *met b.RouteSelector = value return b } + +// WithEffectiveHAProxyVersion sets the EffectiveHAProxyVersion field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the EffectiveHAProxyVersion field is set to the value of the last call. +func (b *IngressControllerStatusApplyConfiguration) WithEffectiveHAProxyVersion(value operatorv1.HAProxyVersion) *IngressControllerStatusApplyConfiguration { + b.EffectiveHAProxyVersion = &value + return b +} diff --git a/vendor/github.com/openshift/client-go/operator/applyconfigurations/operator/v1/managedtokenrequests.go b/vendor/github.com/openshift/client-go/operator/applyconfigurations/operator/v1/managedtokenrequests.go new file mode 100644 index 0000000000..5b65a6628d --- /dev/null +++ b/vendor/github.com/openshift/client-go/operator/applyconfigurations/operator/v1/managedtokenrequests.go @@ -0,0 +1,43 @@ +// Code generated by applyconfiguration-gen. DO NOT EDIT. + +package v1 + +// ManagedTokenRequestsApplyConfiguration represents a declarative configuration of the ManagedTokenRequests type for use +// with apply. +// +// ManagedTokenRequests holds the configuration for operator-managed +// service account token requests. +type ManagedTokenRequestsApplyConfiguration struct { + // audiences specifies service account token audiences that kubelet will + // provide to the CSI driver during NodePublishVolume calls. These tokens + // enable workload identity federation (WIF) with cloud providers such as + // AWS, Azure, and GCP. + // When empty, the operator clears all tokenRequests from the CSIDriver object. + Audiences *[]SecretsStoreTokenRequestApplyConfiguration `json:"audiences,omitempty"` +} + +// ManagedTokenRequestsApplyConfiguration constructs a declarative configuration of the ManagedTokenRequests type for use with +// apply. +func ManagedTokenRequests() *ManagedTokenRequestsApplyConfiguration { + return &ManagedTokenRequestsApplyConfiguration{} +} + +func (b *ManagedTokenRequestsApplyConfiguration) ensureSecretsStoreTokenRequestApplyConfigurationExists() { + if b.Audiences == nil { + b.Audiences = &[]SecretsStoreTokenRequestApplyConfiguration{} + } +} + +// WithAudiences adds the given value to the Audiences field in the declarative configuration +// and returns the receiver, so that objects can be build by chaining "With" function invocations. +// If called multiple times, values provided by each call will be appended to the Audiences field. +func (b *ManagedTokenRequestsApplyConfiguration) WithAudiences(values ...*SecretsStoreTokenRequestApplyConfiguration) *ManagedTokenRequestsApplyConfiguration { + b.ensureSecretsStoreTokenRequestApplyConfigurationExists() + for i := range values { + if values[i] == nil { + panic("nil value passed to WithAudiences") + } + *b.Audiences = append(*b.Audiences, *values[i]) + } + return b +} diff --git a/vendor/github.com/openshift/client-go/operator/applyconfigurations/operator/v1/nodestatus.go b/vendor/github.com/openshift/client-go/operator/applyconfigurations/operator/v1/nodestatus.go index f107c370d2..f39bba5af0 100644 --- a/vendor/github.com/openshift/client-go/operator/applyconfigurations/operator/v1/nodestatus.go +++ b/vendor/github.com/openshift/client-go/operator/applyconfigurations/operator/v1/nodestatus.go @@ -4,6 +4,7 @@ package v1 import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + types "k8s.io/apimachinery/pkg/types" ) // NodeStatusApplyConfiguration represents a declarative configuration of the NodeStatus type for use @@ -13,6 +14,13 @@ import ( type NodeStatusApplyConfiguration struct { // nodeName is the name of the node NodeName *string `json:"nodeName,omitempty"` + // nodeUID is the UID of the node. + // This field is used to detect that a node has been deleted and recreated + // with the same name. When the UID changes, it indicates the node is a + // new instance and the controller should treat this status entry as stale. + // When omitted, UID-based node replacement detection is not available + // for this entry. + NodeUID *types.UID `json:"nodeUID,omitempty"` // currentRevision is the generation of the most recently successful deployment. // Can not be set on creation of a nodeStatus. Updates must only increase the value. CurrentRevision *int32 `json:"currentRevision,omitempty"` @@ -47,6 +55,14 @@ func (b *NodeStatusApplyConfiguration) WithNodeName(value string) *NodeStatusApp return b } +// WithNodeUID sets the NodeUID field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the NodeUID field is set to the value of the last call. +func (b *NodeStatusApplyConfiguration) WithNodeUID(value types.UID) *NodeStatusApplyConfiguration { + b.NodeUID = &value + return b +} + // WithCurrentRevision sets the CurrentRevision field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the CurrentRevision field is set to the value of the last call. diff --git a/vendor/github.com/openshift/client-go/operator/applyconfigurations/operator/v1/secretsstorecsidriverconfigspec.go b/vendor/github.com/openshift/client-go/operator/applyconfigurations/operator/v1/secretsstorecsidriverconfigspec.go new file mode 100644 index 0000000000..145aa90709 --- /dev/null +++ b/vendor/github.com/openshift/client-go/operator/applyconfigurations/operator/v1/secretsstorecsidriverconfigspec.go @@ -0,0 +1,40 @@ +// Code generated by applyconfiguration-gen. DO NOT EDIT. + +package v1 + +// SecretsStoreCSIDriverConfigSpecApplyConfiguration represents a declarative configuration of the SecretsStoreCSIDriverConfigSpec type for use +// with apply. +// +// SecretsStoreCSIDriverConfigSpec defines properties that can be configured for the Secrets Store CSI driver. +type SecretsStoreCSIDriverConfigSpecApplyConfiguration struct { + // secretRotation controls automatic secret rotation behavior. + // When omitted, secret rotation is enabled with a default poll interval of 2 minutes. + SecretRotation *SecretsStoreSecretRotationApplyConfiguration `json:"secretRotation,omitempty"` + // tokenRequests controls service account token configuration for + // workload identity federation (WIF) with cloud providers. + // When omitted, the operator preserves any existing tokenRequests + // already configured on the CSIDriver object without modification. + TokenRequests *SecretsStoreTokenRequestsApplyConfiguration `json:"tokenRequests,omitempty"` +} + +// SecretsStoreCSIDriverConfigSpecApplyConfiguration constructs a declarative configuration of the SecretsStoreCSIDriverConfigSpec type for use with +// apply. +func SecretsStoreCSIDriverConfigSpec() *SecretsStoreCSIDriverConfigSpecApplyConfiguration { + return &SecretsStoreCSIDriverConfigSpecApplyConfiguration{} +} + +// WithSecretRotation sets the SecretRotation field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the SecretRotation field is set to the value of the last call. +func (b *SecretsStoreCSIDriverConfigSpecApplyConfiguration) WithSecretRotation(value *SecretsStoreSecretRotationApplyConfiguration) *SecretsStoreCSIDriverConfigSpecApplyConfiguration { + b.SecretRotation = value + return b +} + +// WithTokenRequests sets the TokenRequests field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the TokenRequests field is set to the value of the last call. +func (b *SecretsStoreCSIDriverConfigSpecApplyConfiguration) WithTokenRequests(value *SecretsStoreTokenRequestsApplyConfiguration) *SecretsStoreCSIDriverConfigSpecApplyConfiguration { + b.TokenRequests = value + return b +} diff --git a/vendor/github.com/openshift/client-go/operator/applyconfigurations/operator/v1/secretsstoresecretrotation.go b/vendor/github.com/openshift/client-go/operator/applyconfigurations/operator/v1/secretsstoresecretrotation.go new file mode 100644 index 0000000000..0624fe9c67 --- /dev/null +++ b/vendor/github.com/openshift/client-go/operator/applyconfigurations/operator/v1/secretsstoresecretrotation.go @@ -0,0 +1,46 @@ +// Code generated by applyconfiguration-gen. DO NOT EDIT. + +package v1 + +import ( + operatorv1 "github.com/openshift/api/operator/v1" +) + +// SecretsStoreSecretRotationApplyConfiguration represents a declarative configuration of the SecretsStoreSecretRotation type for use +// with apply. +// +// SecretsStoreSecretRotation configures the automatic secret rotation behavior +// for the Secrets Store CSI driver. +type SecretsStoreSecretRotationApplyConfiguration struct { + // type determines the secret rotation behavior. + // When "None", secret rotation is disabled and secrets are only fetched at + // initial pod mount time. + // When "Custom", secret rotation is enabled with the configuration specified + // in the custom field. + Type *operatorv1.SecretRotationType `json:"type,omitempty"` + // custom holds the custom rotation configuration. + // Only valid when type is "Custom". + Custom *CustomSecretRotationApplyConfiguration `json:"custom,omitempty"` +} + +// SecretsStoreSecretRotationApplyConfiguration constructs a declarative configuration of the SecretsStoreSecretRotation type for use with +// apply. +func SecretsStoreSecretRotation() *SecretsStoreSecretRotationApplyConfiguration { + return &SecretsStoreSecretRotationApplyConfiguration{} +} + +// WithType sets the Type field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the Type field is set to the value of the last call. +func (b *SecretsStoreSecretRotationApplyConfiguration) WithType(value operatorv1.SecretRotationType) *SecretsStoreSecretRotationApplyConfiguration { + b.Type = &value + return b +} + +// WithCustom sets the Custom field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the Custom field is set to the value of the last call. +func (b *SecretsStoreSecretRotationApplyConfiguration) WithCustom(value *CustomSecretRotationApplyConfiguration) *SecretsStoreSecretRotationApplyConfiguration { + b.Custom = value + return b +} diff --git a/vendor/github.com/openshift/client-go/operator/applyconfigurations/operator/v1/secretsstoretokenrequest.go b/vendor/github.com/openshift/client-go/operator/applyconfigurations/operator/v1/secretsstoretokenrequest.go new file mode 100644 index 0000000000..b8eb7597f7 --- /dev/null +++ b/vendor/github.com/openshift/client-go/operator/applyconfigurations/operator/v1/secretsstoretokenrequest.go @@ -0,0 +1,41 @@ +// Code generated by applyconfiguration-gen. DO NOT EDIT. + +package v1 + +// SecretsStoreTokenRequestApplyConfiguration represents a declarative configuration of the SecretsStoreTokenRequest type for use +// with apply. +// +// SecretsStoreTokenRequest specifies a service account token audience configuration +// for workload identity federation (WIF) with the Secrets Store CSI driver. +type SecretsStoreTokenRequestApplyConfiguration struct { + // audience is the intended audience of the service account token. + // An empty string means the issued token will use the kube-apiserver's default APIAudiences. + Audience *string `json:"audience,omitempty"` + // expirationSeconds is the requested duration of validity of the service account token. + // The token issuer may return a token with a different validity duration. + // When omitted, the token expiration is determined by the kube-apiserver. + // Must be at least 600 seconds (10 minutes) and no more than 315360000 seconds (~10 years). + ExpirationSeconds *int32 `json:"expirationSeconds,omitempty"` +} + +// SecretsStoreTokenRequestApplyConfiguration constructs a declarative configuration of the SecretsStoreTokenRequest type for use with +// apply. +func SecretsStoreTokenRequest() *SecretsStoreTokenRequestApplyConfiguration { + return &SecretsStoreTokenRequestApplyConfiguration{} +} + +// WithAudience sets the Audience field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the Audience field is set to the value of the last call. +func (b *SecretsStoreTokenRequestApplyConfiguration) WithAudience(value string) *SecretsStoreTokenRequestApplyConfiguration { + b.Audience = &value + return b +} + +// WithExpirationSeconds sets the ExpirationSeconds field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the ExpirationSeconds field is set to the value of the last call. +func (b *SecretsStoreTokenRequestApplyConfiguration) WithExpirationSeconds(value int32) *SecretsStoreTokenRequestApplyConfiguration { + b.ExpirationSeconds = &value + return b +} diff --git a/vendor/github.com/openshift/client-go/operator/applyconfigurations/operator/v1/secretsstoretokenrequests.go b/vendor/github.com/openshift/client-go/operator/applyconfigurations/operator/v1/secretsstoretokenrequests.go new file mode 100644 index 0000000000..ea9ac415de --- /dev/null +++ b/vendor/github.com/openshift/client-go/operator/applyconfigurations/operator/v1/secretsstoretokenrequests.go @@ -0,0 +1,47 @@ +// Code generated by applyconfiguration-gen. DO NOT EDIT. + +package v1 + +import ( + operatorv1 "github.com/openshift/api/operator/v1" +) + +// SecretsStoreTokenRequestsApplyConfiguration represents a declarative configuration of the SecretsStoreTokenRequests type for use +// with apply. +// +// SecretsStoreTokenRequests configures how service account tokens are +// provided to the Secrets Store CSI driver for workload identity federation. +type SecretsStoreTokenRequestsApplyConfiguration struct { + // type determines how the operator manages tokenRequests on the CSIDriver object. + // When "Unmanaged", existing tokenRequests on the CSIDriver are preserved + // and the managed field is not used. + // When "Managed", the operator sets tokenRequests from the audiences + // specified in the managed field, replacing any previously configured values. + // Once set to "Managed", type cannot be reverted back to "Unmanaged". + Type *operatorv1.TokenRequestsType `json:"type,omitempty"` + // managed holds configuration for operator-managed tokenRequests. + // Only valid when type is "Managed". + Managed *ManagedTokenRequestsApplyConfiguration `json:"managed,omitempty"` +} + +// SecretsStoreTokenRequestsApplyConfiguration constructs a declarative configuration of the SecretsStoreTokenRequests type for use with +// apply. +func SecretsStoreTokenRequests() *SecretsStoreTokenRequestsApplyConfiguration { + return &SecretsStoreTokenRequestsApplyConfiguration{} +} + +// WithType sets the Type field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the Type field is set to the value of the last call. +func (b *SecretsStoreTokenRequestsApplyConfiguration) WithType(value operatorv1.TokenRequestsType) *SecretsStoreTokenRequestsApplyConfiguration { + b.Type = &value + return b +} + +// WithManaged sets the Managed field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the Managed field is set to the value of the last call. +func (b *SecretsStoreTokenRequestsApplyConfiguration) WithManaged(value *ManagedTokenRequestsApplyConfiguration) *SecretsStoreTokenRequestsApplyConfiguration { + b.Managed = value + return b +} diff --git a/vendor/github.com/openshift/client-go/operator/applyconfigurations/utils.go b/vendor/github.com/openshift/client-go/operator/applyconfigurations/utils.go index b2c32f4cd6..bd16457a7a 100644 --- a/vendor/github.com/openshift/client-go/operator/applyconfigurations/utils.go +++ b/vendor/github.com/openshift/client-go/operator/applyconfigurations/utils.go @@ -28,6 +28,10 @@ func ForKind(kind schema.GroupVersionKind) interface{} { return &operatorv1.AddPageApplyConfiguration{} case v1.SchemeGroupVersion.WithKind("Authentication"): return &operatorv1.AuthenticationApplyConfiguration{} + case v1.SchemeGroupVersion.WithKind("AuthenticationConfigMapReference"): + return &operatorv1.AuthenticationConfigMapReferenceApplyConfiguration{} + case v1.SchemeGroupVersion.WithKind("AuthenticationProxyConfig"): + return &operatorv1.AuthenticationProxyConfigApplyConfiguration{} case v1.SchemeGroupVersion.WithKind("AuthenticationSpec"): return &operatorv1.AuthenticationSpecApplyConfiguration{} case v1.SchemeGroupVersion.WithKind("AuthenticationStatus"): @@ -110,6 +114,8 @@ func ForKind(kind schema.GroupVersionKind) interface{} { return &operatorv1.CSISnapshotControllerSpecApplyConfiguration{} case v1.SchemeGroupVersion.WithKind("CSISnapshotControllerStatus"): return &operatorv1.CSISnapshotControllerStatusApplyConfiguration{} + case v1.SchemeGroupVersion.WithKind("CustomSecretRotation"): + return &operatorv1.CustomSecretRotationApplyConfiguration{} case v1.SchemeGroupVersion.WithKind("DefaultNetworkDefinition"): return &operatorv1.DefaultNetworkDefinitionApplyConfiguration{} case v1.SchemeGroupVersion.WithKind("DeveloperConsoleCatalogCategory"): @@ -282,6 +288,8 @@ func ForKind(kind schema.GroupVersionKind) interface{} { return &operatorv1.MachineManagerSelectorApplyConfiguration{} case v1.SchemeGroupVersion.WithKind("ManagedBootImages"): return &operatorv1.ManagedBootImagesApplyConfiguration{} + case v1.SchemeGroupVersion.WithKind("ManagedTokenRequests"): + return &operatorv1.ManagedTokenRequestsApplyConfiguration{} case v1.SchemeGroupVersion.WithKind("MTUMigration"): return &operatorv1.MTUMigrationApplyConfiguration{} case v1.SchemeGroupVersion.WithKind("MTUMigrationValues"): @@ -386,6 +394,14 @@ func ForKind(kind schema.GroupVersionKind) interface{} { return &operatorv1.RestartServiceApplyConfiguration{} case v1.SchemeGroupVersion.WithKind("RouteAdmissionPolicy"): return &operatorv1.RouteAdmissionPolicyApplyConfiguration{} + case v1.SchemeGroupVersion.WithKind("SecretsStoreCSIDriverConfigSpec"): + return &operatorv1.SecretsStoreCSIDriverConfigSpecApplyConfiguration{} + case v1.SchemeGroupVersion.WithKind("SecretsStoreSecretRotation"): + return &operatorv1.SecretsStoreSecretRotationApplyConfiguration{} + case v1.SchemeGroupVersion.WithKind("SecretsStoreTokenRequest"): + return &operatorv1.SecretsStoreTokenRequestApplyConfiguration{} + case v1.SchemeGroupVersion.WithKind("SecretsStoreTokenRequests"): + return &operatorv1.SecretsStoreTokenRequestsApplyConfiguration{} case v1.SchemeGroupVersion.WithKind("Server"): return &operatorv1.ServerApplyConfiguration{} case v1.SchemeGroupVersion.WithKind("ServiceAccountIssuerStatus"): diff --git a/vendor/github.com/openshift/client-go/operatorcontrolplane/applyconfigurations/internal/internal.go b/vendor/github.com/openshift/client-go/operatorcontrolplane/applyconfigurations/internal/internal.go index a394746f18..002ef312d1 100644 --- a/vendor/github.com/openshift/client-go/operatorcontrolplane/applyconfigurations/internal/internal.go +++ b/vendor/github.com/openshift/client-go/operatorcontrolplane/applyconfigurations/internal/internal.go @@ -23,135 +23,6 @@ func Parser() *typed.Parser { var parserOnce sync.Once var parser *typed.Parser var schemaYAML = typed.YAMLObject(`types: -- name: Duration.v1.meta.apis.pkg.apimachinery.k8s.io - scalar: string -- name: FieldsV1.v1.meta.apis.pkg.apimachinery.k8s.io - map: - elementType: - scalar: untyped - list: - elementType: - namedType: __untyped_atomic_ - elementRelationship: atomic - map: - elementType: - namedType: __untyped_deduced_ - elementRelationship: separable -- name: ManagedFieldsEntry.v1.meta.apis.pkg.apimachinery.k8s.io - map: - fields: - - name: apiVersion - type: - scalar: string - - name: fieldsType - type: - scalar: string - - name: fieldsV1 - type: - namedType: FieldsV1.v1.meta.apis.pkg.apimachinery.k8s.io - - name: manager - type: - scalar: string - - name: operation - type: - scalar: string - - name: subresource - type: - scalar: string - - name: time - type: - namedType: Time.v1.meta.apis.pkg.apimachinery.k8s.io -- name: ObjectMeta.v1.meta.apis.pkg.apimachinery.k8s.io - map: - fields: - - name: annotations - type: - map: - elementType: - scalar: string - - name: creationTimestamp - type: - namedType: Time.v1.meta.apis.pkg.apimachinery.k8s.io - - name: deletionGracePeriodSeconds - type: - scalar: numeric - - name: deletionTimestamp - type: - namedType: Time.v1.meta.apis.pkg.apimachinery.k8s.io - - name: finalizers - type: - list: - elementType: - scalar: string - elementRelationship: associative - - name: generateName - type: - scalar: string - - name: generation - type: - scalar: numeric - - name: labels - type: - map: - elementType: - scalar: string - - name: managedFields - type: - list: - elementType: - namedType: ManagedFieldsEntry.v1.meta.apis.pkg.apimachinery.k8s.io - elementRelationship: atomic - - name: name - type: - scalar: string - - name: namespace - type: - scalar: string - - name: ownerReferences - type: - list: - elementType: - namedType: OwnerReference.v1.meta.apis.pkg.apimachinery.k8s.io - elementRelationship: associative - keys: - - uid - - name: resourceVersion - type: - scalar: string - - name: selfLink - type: - scalar: string - - name: uid - type: - scalar: string -- name: OwnerReference.v1.meta.apis.pkg.apimachinery.k8s.io - map: - fields: - - name: apiVersion - type: - scalar: string - default: "" - - name: blockOwnerDeletion - type: - scalar: boolean - - name: controller - type: - scalar: boolean - - name: kind - type: - scalar: string - default: "" - - name: name - type: - scalar: string - default: "" - - name: uid - type: - scalar: string - default: "" - elementRelationship: atomic -- name: Time.v1.meta.apis.pkg.apimachinery.k8s.io - scalar: untyped - name: com.github.openshift.api.config.v1.SecretNameReference map: fields: @@ -164,7 +35,7 @@ var schemaYAML = typed.YAMLObject(`types: fields: - name: latency type: - namedType: Duration.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.Duration - name: message type: scalar: string @@ -177,13 +48,13 @@ var schemaYAML = typed.YAMLObject(`types: default: false - name: time type: - namedType: Time.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.Time - name: com.github.openshift.api.operatorcontrolplane.v1alpha1.OutageEntry map: fields: - name: end type: - namedType: Time.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.Time - name: endLogs type: list: @@ -195,7 +66,7 @@ var schemaYAML = typed.YAMLObject(`types: scalar: string - name: start type: - namedType: Time.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.Time - name: startLogs type: list: @@ -213,7 +84,7 @@ var schemaYAML = typed.YAMLObject(`types: scalar: string - name: metadata type: - namedType: ObjectMeta.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta default: {} - name: spec type: @@ -228,7 +99,7 @@ var schemaYAML = typed.YAMLObject(`types: fields: - name: lastTransitionTime type: - namedType: Time.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.Time - name: message type: scalar: string @@ -287,6 +158,135 @@ var schemaYAML = typed.YAMLObject(`types: elementType: namedType: com.github.openshift.api.operatorcontrolplane.v1alpha1.LogEntry elementRelationship: atomic +- name: io.k8s.apimachinery.pkg.apis.meta.v1.Duration + scalar: string +- name: io.k8s.apimachinery.pkg.apis.meta.v1.FieldsV1 + map: + elementType: + scalar: untyped + list: + elementType: + namedType: __untyped_atomic_ + elementRelationship: atomic + map: + elementType: + namedType: __untyped_deduced_ + elementRelationship: separable +- name: io.k8s.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry + map: + fields: + - name: apiVersion + type: + scalar: string + - name: fieldsType + type: + scalar: string + - name: fieldsV1 + type: + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.FieldsV1 + - name: manager + type: + scalar: string + - name: operation + type: + scalar: string + - name: subresource + type: + scalar: string + - name: time + type: + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.Time +- name: io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta + map: + fields: + - name: annotations + type: + map: + elementType: + scalar: string + - name: creationTimestamp + type: + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.Time + - name: deletionGracePeriodSeconds + type: + scalar: numeric + - name: deletionTimestamp + type: + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.Time + - name: finalizers + type: + list: + elementType: + scalar: string + elementRelationship: associative + - name: generateName + type: + scalar: string + - name: generation + type: + scalar: numeric + - name: labels + type: + map: + elementType: + scalar: string + - name: managedFields + type: + list: + elementType: + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry + elementRelationship: atomic + - name: name + type: + scalar: string + - name: namespace + type: + scalar: string + - name: ownerReferences + type: + list: + elementType: + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.OwnerReference + elementRelationship: associative + keys: + - uid + - name: resourceVersion + type: + scalar: string + - name: selfLink + type: + scalar: string + - name: uid + type: + scalar: string +- name: io.k8s.apimachinery.pkg.apis.meta.v1.OwnerReference + map: + fields: + - name: apiVersion + type: + scalar: string + default: "" + - name: blockOwnerDeletion + type: + scalar: boolean + - name: controller + type: + scalar: boolean + - name: kind + type: + scalar: string + default: "" + - name: name + type: + scalar: string + default: "" + - name: uid + type: + scalar: string + default: "" + elementRelationship: atomic +- name: io.k8s.apimachinery.pkg.apis.meta.v1.Time + scalar: untyped - name: __untyped_atomic_ scalar: untyped list: diff --git a/vendor/github.com/openshift/client-go/quota/applyconfigurations/internal/internal.go b/vendor/github.com/openshift/client-go/quota/applyconfigurations/internal/internal.go index 04d59c3a97..92b851a6fe 100644 --- a/vendor/github.com/openshift/client-go/quota/applyconfigurations/internal/internal.go +++ b/vendor/github.com/openshift/client-go/quota/applyconfigurations/internal/internal.go @@ -23,7 +23,133 @@ func Parser() *typed.Parser { var parserOnce sync.Once var parser *typed.Parser var schemaYAML = typed.YAMLObject(`types: -- name: FieldsV1.v1.meta.apis.pkg.apimachinery.k8s.io +- name: com.github.openshift.api.quota.v1.ClusterResourceQuota + map: + fields: + - name: apiVersion + type: + scalar: string + - name: kind + type: + scalar: string + - name: metadata + type: + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta + default: {} + - name: spec + type: + namedType: com.github.openshift.api.quota.v1.ClusterResourceQuotaSpec + default: {} + - name: status + type: + namedType: com.github.openshift.api.quota.v1.ClusterResourceQuotaStatus + default: {} +- name: com.github.openshift.api.quota.v1.ClusterResourceQuotaSelector + map: + fields: + - name: annotations + type: + map: + elementType: + scalar: string + - name: labels + type: + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector +- name: com.github.openshift.api.quota.v1.ClusterResourceQuotaSpec + map: + fields: + - name: quota + type: + namedType: io.k8s.api.core.v1.ResourceQuotaSpec + default: {} + - name: selector + type: + namedType: com.github.openshift.api.quota.v1.ClusterResourceQuotaSelector + default: {} +- name: com.github.openshift.api.quota.v1.ClusterResourceQuotaStatus + map: + fields: + - name: namespaces + type: + list: + elementType: + namedType: com.github.openshift.api.quota.v1.ResourceQuotaStatusByNamespace + elementRelationship: atomic + - name: total + type: + namedType: io.k8s.api.core.v1.ResourceQuotaStatus + default: {} +- name: com.github.openshift.api.quota.v1.ResourceQuotaStatusByNamespace + map: + fields: + - name: namespace + type: + scalar: string + default: "" + - name: status + type: + namedType: io.k8s.api.core.v1.ResourceQuotaStatus + default: {} +- name: io.k8s.api.core.v1.ResourceQuotaSpec + map: + fields: + - name: hard + type: + map: + elementType: + namedType: io.k8s.apimachinery.pkg.api.resource.Quantity + - name: scopeSelector + type: + namedType: io.k8s.api.core.v1.ScopeSelector + - name: scopes + type: + list: + elementType: + scalar: string + elementRelationship: atomic +- name: io.k8s.api.core.v1.ResourceQuotaStatus + map: + fields: + - name: hard + type: + map: + elementType: + namedType: io.k8s.apimachinery.pkg.api.resource.Quantity + - name: used + type: + map: + elementType: + namedType: io.k8s.apimachinery.pkg.api.resource.Quantity +- name: io.k8s.api.core.v1.ScopeSelector + map: + fields: + - name: matchExpressions + type: + list: + elementType: + namedType: io.k8s.api.core.v1.ScopedResourceSelectorRequirement + elementRelationship: atomic + elementRelationship: atomic +- name: io.k8s.api.core.v1.ScopedResourceSelectorRequirement + map: + fields: + - name: operator + type: + scalar: string + default: "" + - name: scopeName + type: + scalar: string + default: "" + - name: values + type: + list: + elementType: + scalar: string + elementRelationship: atomic +- name: io.k8s.apimachinery.pkg.api.resource.Quantity + scalar: untyped +- name: io.k8s.apimachinery.pkg.apis.meta.v1.FieldsV1 map: elementType: scalar: untyped @@ -35,14 +161,14 @@ var schemaYAML = typed.YAMLObject(`types: elementType: namedType: __untyped_deduced_ elementRelationship: separable -- name: LabelSelector.v1.meta.apis.pkg.apimachinery.k8s.io +- name: io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector map: fields: - name: matchExpressions type: list: elementType: - namedType: LabelSelectorRequirement.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement elementRelationship: atomic - name: matchLabels type: @@ -50,7 +176,7 @@ var schemaYAML = typed.YAMLObject(`types: elementType: scalar: string elementRelationship: atomic -- name: LabelSelectorRequirement.v1.meta.apis.pkg.apimachinery.k8s.io +- name: io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement map: fields: - name: key @@ -67,7 +193,7 @@ var schemaYAML = typed.YAMLObject(`types: elementType: scalar: string elementRelationship: atomic -- name: ManagedFieldsEntry.v1.meta.apis.pkg.apimachinery.k8s.io +- name: io.k8s.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry map: fields: - name: apiVersion @@ -78,7 +204,7 @@ var schemaYAML = typed.YAMLObject(`types: scalar: string - name: fieldsV1 type: - namedType: FieldsV1.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.FieldsV1 - name: manager type: scalar: string @@ -90,8 +216,8 @@ var schemaYAML = typed.YAMLObject(`types: scalar: string - name: time type: - namedType: Time.v1.meta.apis.pkg.apimachinery.k8s.io -- name: ObjectMeta.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.Time +- name: io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta map: fields: - name: annotations @@ -101,13 +227,13 @@ var schemaYAML = typed.YAMLObject(`types: scalar: string - name: creationTimestamp type: - namedType: Time.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.Time - name: deletionGracePeriodSeconds type: scalar: numeric - name: deletionTimestamp type: - namedType: Time.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.Time - name: finalizers type: list: @@ -129,7 +255,7 @@ var schemaYAML = typed.YAMLObject(`types: type: list: elementType: - namedType: ManagedFieldsEntry.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry elementRelationship: atomic - name: name type: @@ -141,7 +267,7 @@ var schemaYAML = typed.YAMLObject(`types: type: list: elementType: - namedType: OwnerReference.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.OwnerReference elementRelationship: associative keys: - uid @@ -154,7 +280,7 @@ var schemaYAML = typed.YAMLObject(`types: - name: uid type: scalar: string -- name: OwnerReference.v1.meta.apis.pkg.apimachinery.k8s.io +- name: io.k8s.apimachinery.pkg.apis.meta.v1.OwnerReference map: fields: - name: apiVersion @@ -180,134 +306,8 @@ var schemaYAML = typed.YAMLObject(`types: scalar: string default: "" elementRelationship: atomic -- name: Quantity.resource.api.pkg.apimachinery.k8s.io - scalar: string -- name: ResourceQuotaSpec.v1.core.api.k8s.io - map: - fields: - - name: hard - type: - map: - elementType: - namedType: Quantity.resource.api.pkg.apimachinery.k8s.io - - name: scopeSelector - type: - namedType: ScopeSelector.v1.core.api.k8s.io - - name: scopes - type: - list: - elementType: - scalar: string - elementRelationship: atomic -- name: ResourceQuotaStatus.v1.core.api.k8s.io - map: - fields: - - name: hard - type: - map: - elementType: - namedType: Quantity.resource.api.pkg.apimachinery.k8s.io - - name: used - type: - map: - elementType: - namedType: Quantity.resource.api.pkg.apimachinery.k8s.io -- name: ScopeSelector.v1.core.api.k8s.io - map: - fields: - - name: matchExpressions - type: - list: - elementType: - namedType: ScopedResourceSelectorRequirement.v1.core.api.k8s.io - elementRelationship: atomic - elementRelationship: atomic -- name: ScopedResourceSelectorRequirement.v1.core.api.k8s.io - map: - fields: - - name: operator - type: - scalar: string - default: "" - - name: scopeName - type: - scalar: string - default: "" - - name: values - type: - list: - elementType: - scalar: string - elementRelationship: atomic -- name: Time.v1.meta.apis.pkg.apimachinery.k8s.io +- name: io.k8s.apimachinery.pkg.apis.meta.v1.Time scalar: untyped -- name: com.github.openshift.api.quota.v1.ClusterResourceQuota - map: - fields: - - name: apiVersion - type: - scalar: string - - name: kind - type: - scalar: string - - name: metadata - type: - namedType: ObjectMeta.v1.meta.apis.pkg.apimachinery.k8s.io - default: {} - - name: spec - type: - namedType: com.github.openshift.api.quota.v1.ClusterResourceQuotaSpec - default: {} - - name: status - type: - namedType: com.github.openshift.api.quota.v1.ClusterResourceQuotaStatus - default: {} -- name: com.github.openshift.api.quota.v1.ClusterResourceQuotaSelector - map: - fields: - - name: annotations - type: - map: - elementType: - scalar: string - - name: labels - type: - namedType: LabelSelector.v1.meta.apis.pkg.apimachinery.k8s.io -- name: com.github.openshift.api.quota.v1.ClusterResourceQuotaSpec - map: - fields: - - name: quota - type: - namedType: ResourceQuotaSpec.v1.core.api.k8s.io - default: {} - - name: selector - type: - namedType: com.github.openshift.api.quota.v1.ClusterResourceQuotaSelector - default: {} -- name: com.github.openshift.api.quota.v1.ClusterResourceQuotaStatus - map: - fields: - - name: namespaces - type: - list: - elementType: - namedType: com.github.openshift.api.quota.v1.ResourceQuotaStatusByNamespace - elementRelationship: atomic - - name: total - type: - namedType: ResourceQuotaStatus.v1.core.api.k8s.io - default: {} -- name: com.github.openshift.api.quota.v1.ResourceQuotaStatusByNamespace - map: - fields: - - name: namespace - type: - scalar: string - default: "" - - name: status - type: - namedType: ResourceQuotaStatus.v1.core.api.k8s.io - default: {} - name: __untyped_atomic_ scalar: untyped list: diff --git a/vendor/github.com/openshift/client-go/route/applyconfigurations/internal/internal.go b/vendor/github.com/openshift/client-go/route/applyconfigurations/internal/internal.go index 757d9d0b9b..ab54d1d9ab 100644 --- a/vendor/github.com/openshift/client-go/route/applyconfigurations/internal/internal.go +++ b/vendor/github.com/openshift/client-go/route/applyconfigurations/internal/internal.go @@ -23,135 +23,6 @@ func Parser() *typed.Parser { var parserOnce sync.Once var parser *typed.Parser var schemaYAML = typed.YAMLObject(`types: -- name: FieldsV1.v1.meta.apis.pkg.apimachinery.k8s.io - map: - elementType: - scalar: untyped - list: - elementType: - namedType: __untyped_atomic_ - elementRelationship: atomic - map: - elementType: - namedType: __untyped_deduced_ - elementRelationship: separable -- name: IntOrString.intstr.util.pkg.apimachinery.k8s.io - scalar: untyped -- name: ManagedFieldsEntry.v1.meta.apis.pkg.apimachinery.k8s.io - map: - fields: - - name: apiVersion - type: - scalar: string - - name: fieldsType - type: - scalar: string - - name: fieldsV1 - type: - namedType: FieldsV1.v1.meta.apis.pkg.apimachinery.k8s.io - - name: manager - type: - scalar: string - - name: operation - type: - scalar: string - - name: subresource - type: - scalar: string - - name: time - type: - namedType: Time.v1.meta.apis.pkg.apimachinery.k8s.io -- name: ObjectMeta.v1.meta.apis.pkg.apimachinery.k8s.io - map: - fields: - - name: annotations - type: - map: - elementType: - scalar: string - - name: creationTimestamp - type: - namedType: Time.v1.meta.apis.pkg.apimachinery.k8s.io - - name: deletionGracePeriodSeconds - type: - scalar: numeric - - name: deletionTimestamp - type: - namedType: Time.v1.meta.apis.pkg.apimachinery.k8s.io - - name: finalizers - type: - list: - elementType: - scalar: string - elementRelationship: associative - - name: generateName - type: - scalar: string - - name: generation - type: - scalar: numeric - - name: labels - type: - map: - elementType: - scalar: string - - name: managedFields - type: - list: - elementType: - namedType: ManagedFieldsEntry.v1.meta.apis.pkg.apimachinery.k8s.io - elementRelationship: atomic - - name: name - type: - scalar: string - - name: namespace - type: - scalar: string - - name: ownerReferences - type: - list: - elementType: - namedType: OwnerReference.v1.meta.apis.pkg.apimachinery.k8s.io - elementRelationship: associative - keys: - - uid - - name: resourceVersion - type: - scalar: string - - name: selfLink - type: - scalar: string - - name: uid - type: - scalar: string -- name: OwnerReference.v1.meta.apis.pkg.apimachinery.k8s.io - map: - fields: - - name: apiVersion - type: - scalar: string - default: "" - - name: blockOwnerDeletion - type: - scalar: boolean - - name: controller - type: - scalar: boolean - - name: kind - type: - scalar: string - default: "" - - name: name - type: - scalar: string - default: "" - - name: uid - type: - scalar: string - default: "" - elementRelationship: atomic -- name: Time.v1.meta.apis.pkg.apimachinery.k8s.io - scalar: untyped - name: com.github.openshift.api.route.v1.LocalObjectReference map: fields: @@ -170,7 +41,7 @@ var schemaYAML = typed.YAMLObject(`types: scalar: string - name: metadata type: - namedType: ObjectMeta.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta default: {} - name: spec type: @@ -260,7 +131,7 @@ var schemaYAML = typed.YAMLObject(`types: fields: - name: lastTransitionTime type: - namedType: Time.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.Time - name: message type: scalar: string @@ -280,7 +151,7 @@ var schemaYAML = typed.YAMLObject(`types: fields: - name: targetPort type: - namedType: IntOrString.intstr.util.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.util.intstr.IntOrString - name: com.github.openshift.api.route.v1.RouteSetHTTPHeader map: fields: @@ -373,6 +244,135 @@ var schemaYAML = typed.YAMLObject(`types: type: scalar: string default: "" +- name: io.k8s.apimachinery.pkg.apis.meta.v1.FieldsV1 + map: + elementType: + scalar: untyped + list: + elementType: + namedType: __untyped_atomic_ + elementRelationship: atomic + map: + elementType: + namedType: __untyped_deduced_ + elementRelationship: separable +- name: io.k8s.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry + map: + fields: + - name: apiVersion + type: + scalar: string + - name: fieldsType + type: + scalar: string + - name: fieldsV1 + type: + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.FieldsV1 + - name: manager + type: + scalar: string + - name: operation + type: + scalar: string + - name: subresource + type: + scalar: string + - name: time + type: + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.Time +- name: io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta + map: + fields: + - name: annotations + type: + map: + elementType: + scalar: string + - name: creationTimestamp + type: + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.Time + - name: deletionGracePeriodSeconds + type: + scalar: numeric + - name: deletionTimestamp + type: + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.Time + - name: finalizers + type: + list: + elementType: + scalar: string + elementRelationship: associative + - name: generateName + type: + scalar: string + - name: generation + type: + scalar: numeric + - name: labels + type: + map: + elementType: + scalar: string + - name: managedFields + type: + list: + elementType: + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry + elementRelationship: atomic + - name: name + type: + scalar: string + - name: namespace + type: + scalar: string + - name: ownerReferences + type: + list: + elementType: + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.OwnerReference + elementRelationship: associative + keys: + - uid + - name: resourceVersion + type: + scalar: string + - name: selfLink + type: + scalar: string + - name: uid + type: + scalar: string +- name: io.k8s.apimachinery.pkg.apis.meta.v1.OwnerReference + map: + fields: + - name: apiVersion + type: + scalar: string + default: "" + - name: blockOwnerDeletion + type: + scalar: boolean + - name: controller + type: + scalar: boolean + - name: kind + type: + scalar: string + default: "" + - name: name + type: + scalar: string + default: "" + - name: uid + type: + scalar: string + default: "" + elementRelationship: atomic +- name: io.k8s.apimachinery.pkg.apis.meta.v1.Time + scalar: untyped +- name: io.k8s.apimachinery.pkg.util.intstr.IntOrString + scalar: untyped - name: __untyped_atomic_ scalar: untyped list: diff --git a/vendor/github.com/openshift/client-go/user/applyconfigurations/internal/internal.go b/vendor/github.com/openshift/client-go/user/applyconfigurations/internal/internal.go index 55428431b0..c4b4bc770c 100644 --- a/vendor/github.com/openshift/client-go/user/applyconfigurations/internal/internal.go +++ b/vendor/github.com/openshift/client-go/user/applyconfigurations/internal/internal.go @@ -23,7 +23,109 @@ func Parser() *typed.Parser { var parserOnce sync.Once var parser *typed.Parser var schemaYAML = typed.YAMLObject(`types: -- name: FieldsV1.v1.meta.apis.pkg.apimachinery.k8s.io +- name: com.github.openshift.api.user.v1.Group + map: + fields: + - name: apiVersion + type: + scalar: string + - name: kind + type: + scalar: string + - name: metadata + type: + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta + default: {} + - name: users + type: + list: + elementType: + scalar: string + elementRelationship: atomic +- name: com.github.openshift.api.user.v1.Identity + map: + fields: + - name: apiVersion + type: + scalar: string + - name: extra + type: + map: + elementType: + scalar: string + - name: kind + type: + scalar: string + - name: metadata + type: + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta + default: {} + - name: providerName + type: + scalar: string + default: "" + - name: providerUserName + type: + scalar: string + default: "" + - name: user + type: + namedType: io.k8s.api.core.v1.ObjectReference + default: {} +- name: com.github.openshift.api.user.v1.User + map: + fields: + - name: apiVersion + type: + scalar: string + - name: fullName + type: + scalar: string + - name: groups + type: + list: + elementType: + scalar: string + elementRelationship: atomic + - name: identities + type: + list: + elementType: + scalar: string + elementRelationship: atomic + - name: kind + type: + scalar: string + - name: metadata + type: + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta + default: {} +- name: io.k8s.api.core.v1.ObjectReference + map: + fields: + - name: apiVersion + type: + scalar: string + - name: fieldPath + type: + scalar: string + - name: kind + type: + scalar: string + - name: name + type: + scalar: string + - name: namespace + type: + scalar: string + - name: resourceVersion + type: + scalar: string + - name: uid + type: + scalar: string + elementRelationship: atomic +- name: io.k8s.apimachinery.pkg.apis.meta.v1.FieldsV1 map: elementType: scalar: untyped @@ -35,7 +137,7 @@ var schemaYAML = typed.YAMLObject(`types: elementType: namedType: __untyped_deduced_ elementRelationship: separable -- name: ManagedFieldsEntry.v1.meta.apis.pkg.apimachinery.k8s.io +- name: io.k8s.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry map: fields: - name: apiVersion @@ -46,7 +148,7 @@ var schemaYAML = typed.YAMLObject(`types: scalar: string - name: fieldsV1 type: - namedType: FieldsV1.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.FieldsV1 - name: manager type: scalar: string @@ -58,8 +160,8 @@ var schemaYAML = typed.YAMLObject(`types: scalar: string - name: time type: - namedType: Time.v1.meta.apis.pkg.apimachinery.k8s.io -- name: ObjectMeta.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.Time +- name: io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta map: fields: - name: annotations @@ -69,13 +171,13 @@ var schemaYAML = typed.YAMLObject(`types: scalar: string - name: creationTimestamp type: - namedType: Time.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.Time - name: deletionGracePeriodSeconds type: scalar: numeric - name: deletionTimestamp type: - namedType: Time.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.Time - name: finalizers type: list: @@ -97,7 +199,7 @@ var schemaYAML = typed.YAMLObject(`types: type: list: elementType: - namedType: ManagedFieldsEntry.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry elementRelationship: atomic - name: name type: @@ -109,7 +211,7 @@ var schemaYAML = typed.YAMLObject(`types: type: list: elementType: - namedType: OwnerReference.v1.meta.apis.pkg.apimachinery.k8s.io + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.OwnerReference elementRelationship: associative keys: - uid @@ -122,32 +224,7 @@ var schemaYAML = typed.YAMLObject(`types: - name: uid type: scalar: string -- name: ObjectReference.v1.core.api.k8s.io - map: - fields: - - name: apiVersion - type: - scalar: string - - name: fieldPath - type: - scalar: string - - name: kind - type: - scalar: string - - name: name - type: - scalar: string - - name: namespace - type: - scalar: string - - name: resourceVersion - type: - scalar: string - - name: uid - type: - scalar: string - elementRelationship: atomic -- name: OwnerReference.v1.meta.apis.pkg.apimachinery.k8s.io +- name: io.k8s.apimachinery.pkg.apis.meta.v1.OwnerReference map: fields: - name: apiVersion @@ -173,85 +250,8 @@ var schemaYAML = typed.YAMLObject(`types: scalar: string default: "" elementRelationship: atomic -- name: Time.v1.meta.apis.pkg.apimachinery.k8s.io +- name: io.k8s.apimachinery.pkg.apis.meta.v1.Time scalar: untyped -- name: com.github.openshift.api.user.v1.Group - map: - fields: - - name: apiVersion - type: - scalar: string - - name: kind - type: - scalar: string - - name: metadata - type: - namedType: ObjectMeta.v1.meta.apis.pkg.apimachinery.k8s.io - default: {} - - name: users - type: - list: - elementType: - scalar: string - elementRelationship: atomic -- name: com.github.openshift.api.user.v1.Identity - map: - fields: - - name: apiVersion - type: - scalar: string - - name: extra - type: - map: - elementType: - scalar: string - - name: kind - type: - scalar: string - - name: metadata - type: - namedType: ObjectMeta.v1.meta.apis.pkg.apimachinery.k8s.io - default: {} - - name: providerName - type: - scalar: string - default: "" - - name: providerUserName - type: - scalar: string - default: "" - - name: user - type: - namedType: ObjectReference.v1.core.api.k8s.io - default: {} -- name: com.github.openshift.api.user.v1.User - map: - fields: - - name: apiVersion - type: - scalar: string - - name: fullName - type: - scalar: string - - name: groups - type: - list: - elementType: - scalar: string - elementRelationship: atomic - - name: identities - type: - list: - elementType: - scalar: string - elementRelationship: atomic - - name: kind - type: - scalar: string - - name: metadata - type: - namedType: ObjectMeta.v1.meta.apis.pkg.apimachinery.k8s.io - default: {} - name: __untyped_atomic_ scalar: untyped list: diff --git a/vendor/modules.txt b/vendor/modules.txt index 5d5ad6533f..bbbeefda0b 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -314,7 +314,7 @@ github.com/opencontainers/image-spec/specs-go/v1 ## explicit; go 1.19 github.com/opencontainers/selinux/go-selinux github.com/opencontainers/selinux/pkg/pwalkdir -# github.com/openshift/api v0.0.0-20260619095050-5346161d1bf2 +# github.com/openshift/api v0.0.0-20260702202555-ef71f942ef6c => github.com/bhperry/openshift-api v0.0.0-20260709150816-69d6f1b49426 ## explicit; go 1.25.0 github.com/openshift/api github.com/openshift/api/annotations @@ -404,7 +404,7 @@ github.com/openshift/build-machinery-go/make/targets/golang github.com/openshift/build-machinery-go/make/targets/openshift github.com/openshift/build-machinery-go/make/targets/openshift/operator github.com/openshift/build-machinery-go/scripts -# github.com/openshift/client-go v0.0.0-20260618131434-17fd91ed6167 +# github.com/openshift/client-go v0.0.0-20260618131434-17fd91ed6167 => github.com/bhperry/openshift-client-go v0.0.0-20260709151625-a8b452b3b0e4 ## explicit; go 1.25.0 github.com/openshift/client-go/apps/applyconfigurations/apps/v1 github.com/openshift/client-go/apps/applyconfigurations/internal @@ -1709,3 +1709,5 @@ sigs.k8s.io/structured-merge-diff/v6/value # sigs.k8s.io/yaml v1.6.0 ## explicit; go 1.22 sigs.k8s.io/yaml +# github.com/openshift/api => github.com/bhperry/openshift-api v0.0.0-20260709150816-69d6f1b49426 +# github.com/openshift/client-go => github.com/bhperry/openshift-client-go v0.0.0-20260709151625-a8b452b3b0e4 From 4683619a39a55fcbdef6a78176786ee6076d1627 Mon Sep 17 00:00:00 2001 From: Ben Perry Date: Mon, 6 Jul 2026 13:18:42 -0500 Subject: [PATCH 2/2] Reset node status when UID changes --- .../installer/installer_controller.go | 46 +++++- .../installer/installer_controller_test.go | 5 + .../controller/node/node_controller.go | 28 ++-- .../controller/node/node_controller_test.go | 142 ++++++++++++++++++ pkg/operator/staticpod/controllers.go | 1 + pkg/operator/v1helpers/test_helpers.go | 7 +- 6 files changed, 216 insertions(+), 13 deletions(-) diff --git a/pkg/operator/staticpod/controller/installer/installer_controller.go b/pkg/operator/staticpod/controller/installer/installer_controller.go index 80d0265a8d..b3f97c65eb 100644 --- a/pkg/operator/staticpod/controller/installer/installer_controller.go +++ b/pkg/operator/staticpod/controller/installer/installer_controller.go @@ -12,6 +12,7 @@ import ( "time" "github.com/davecgh/go-spew/spew" + "github.com/pkg/errors" operatorv1 "github.com/openshift/api/operator/v1" applyoperatorv1 "github.com/openshift/client-go/operator/applyconfigurations/operator/v1" @@ -30,10 +31,12 @@ import ( "k8s.io/apimachinery/pkg/api/equality" apierrors "k8s.io/apimachinery/pkg/api/errors" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/types" utilerrors "k8s.io/apimachinery/pkg/util/errors" "k8s.io/apimachinery/pkg/util/sets" "k8s.io/client-go/informers" corev1client "k8s.io/client-go/kubernetes/typed/core/v1" + corev1listers "k8s.io/client-go/listers/core/v1" "k8s.io/klog/v2" "k8s.io/utils/clock" "k8s.io/utils/ptr" @@ -94,6 +97,7 @@ type InstallerController struct { configMapsGetter corev1client.ConfigMapsGetter secretsGetter corev1client.SecretsGetter podsGetter corev1client.PodsGetter + nodeLister corev1listers.NodeLister eventRecorder events.Recorder now func() time.Time // for test plumbing @@ -179,6 +183,7 @@ func NewInstallerController( secrets []revision.RevisionResource, command []string, kubeInformersForTargetNamespace informers.SharedInformerFactory, + kubeInformersClusterScoped informers.SharedInformerFactory, operatorClient v1helpers.StaticPodOperatorClient, configMapsGetter corev1client.ConfigMapsGetter, secretsGetter corev1client.SecretsGetter, @@ -197,6 +202,7 @@ func NewInstallerController( configMapsGetter: configMapsGetter, secretsGetter: secretsGetter, podsGetter: podsGetter, + nodeLister: kubeInformersClusterScoped.Core().V1().Nodes().Lister(), eventRecorder: eventRecorder.WithComponentSuffix("installer-controller"), now: time.Now, startupMonitorEnabled: func() (bool, error) { @@ -218,7 +224,12 @@ func NewInstallerController( // informers are needed here because their Getter are cached lister based kubeInformersForTargetNamespace.Core().V1().Pods().Informer(), kubeInformersForTargetNamespace.Core().V1().ConfigMaps().Informer(), - kubeInformersForTargetNamespace.Core().V1().Secrets().Informer()) + kubeInformersForTargetNamespace.Core().V1().Secrets().Informer(), + ). + WithBareInformers( + // Don't need to sync on node changes, just wait for informer cache sync + kubeInformersClusterScoped.Core().V1().Nodes().Informer(), + ) return c } @@ -599,6 +610,7 @@ func prepareNodeStatusApplyConfigurationFor(nodeStatuses []operatorv1.NodeStatus func nodeStatusToNodeStatusApplyConfigurations(nodeStatus operatorv1.NodeStatus) *applyoperatorv1.NodeStatusApplyConfiguration { nodeStatusApplyConfiguration := applyoperatorv1.NodeStatus(). WithNodeName(nodeStatus.NodeName). + WithNodeUID(nodeStatus.NodeUID). WithCurrentRevision(nodeStatus.CurrentRevision). WithTargetRevision(nodeStatus.TargetRevision). WithLastFailedRevision(nodeStatus.LastFailedRevision). @@ -615,6 +627,7 @@ func nodeStatusToNodeStatusApplyConfigurations(nodeStatus operatorv1.NodeStatus) func nodeStatusApplyConfigToOperatorNodeStatus(nodeStatusApplyConfiguration *applyoperatorv1.NodeStatusApplyConfiguration) *operatorv1.NodeStatus { return &operatorv1.NodeStatus{ NodeName: ptr.Deref(nodeStatusApplyConfiguration.NodeName, ""), + NodeUID: ptr.Deref(nodeStatusApplyConfiguration.NodeUID, ""), CurrentRevision: ptr.Deref(nodeStatusApplyConfiguration.CurrentRevision, 0), TargetRevision: ptr.Deref(nodeStatusApplyConfiguration.TargetRevision, 0), LastFailedRevision: ptr.Deref(nodeStatusApplyConfiguration.LastFailedRevision, 0), @@ -1123,6 +1136,25 @@ func (c InstallerController) ensureRequiredResourcesExist(ctx context.Context, r return fmt.Errorf("missing required resources: %v", aggregatedErr) } +func (c *InstallerController) hasNodeUIDChanged(nodeName string, nodeUid types.UID) (bool, error) { + if nodeUid == "" { + return false, nil + } + node, err := c.nodeLister.Get(nodeName) + if apierrors.IsNotFound(err) { + klog.Warningf("Skipping node status update for %s: node not found", nodeName) + return true, nil + } + if err != nil { + return false, err + } + if node.UID != nodeUid { + klog.Warningf("Skipping node status update for %s: node UID changed (stored=%s, actual=%s)", nodeName, nodeUid, node.UID) + return true, nil + } + return false, nil +} + func (c *InstallerController) Sync(ctx context.Context, syncCtx factory.SyncContext) error { operatorSpec, originalOperatorStatus, operatorResourceVersion, err := c.operatorClient.GetStaticPodOperatorState() if err != nil { @@ -1164,6 +1196,17 @@ func (c *InstallerController) Sync(ctx context.Context, syncCtx factory.SyncCont return nil } + // Check for stale node status entries with mismatched UID + for _, nodeStatus := range originalOperatorStatus.NodeStatuses { + if uidChanged, err := c.hasNodeUIDChanged(nodeStatus.NodeName, nodeStatus.NodeUID); err != nil { + return errors.Wrapf(err, "error validating uid for node %s", nodeStatus.NodeName) + } else if uidChanged { + // Avoid applying node statuses when a stale entry is found + // Sync will retrigger when the old node status is removed by the node controller + return nil + } + } + err = c.ensureRequiredResourcesExistFn(ctx, originalOperatorStatus.LatestAvailableRevision) // Only manage installation pods when all required certs are present. @@ -1204,6 +1247,7 @@ func deepCopyNodeStatusWithoutOldFailedState(ns *operatorv1.NodeStatus) *operato if ns.TargetRevision == 0 || ns.TargetRevision != ns.LastFailedRevision { return &operatorv1.NodeStatus{ NodeName: ns.NodeName, + NodeUID: ns.NodeUID, CurrentRevision: ns.CurrentRevision, TargetRevision: ns.TargetRevision, } diff --git a/pkg/operator/staticpod/controller/installer/installer_controller_test.go b/pkg/operator/staticpod/controller/installer/installer_controller_test.go index 3b18e46e13..a59062c100 100644 --- a/pkg/operator/staticpod/controller/installer/installer_controller_test.go +++ b/pkg/operator/staticpod/controller/installer/installer_controller_test.go @@ -555,6 +555,7 @@ func TestNewNodeStateForInstallInProgress(t *testing.T) { []revision.RevisionResource{{Name: "test-secret"}}, []string{"/bin/true", "--foo=test", "--bar"}, kubeInformers, + kubeInformers, fakeStaticPodOperatorClient, kubeClient.CoreV1(), kubeClient.CoreV1(), @@ -690,6 +691,7 @@ func testSync(t *testing.T, firstInstallerBehaviour testSyncInstallerBehaviour, []revision.RevisionResource{{Name: "test-secret"}}, podCommand, kubeInformers, + kubeInformers, fakeStaticPodOperatorClient, kubeClient.CoreV1(), kubeClient.CoreV1(), @@ -1099,6 +1101,7 @@ func TestCreateInstallerPod(t *testing.T) { []revision.RevisionResource{{Name: "test-secret"}}, []string{"/bin/true"}, kubeInformers, + kubeInformers, fakeStaticPodOperatorClient, kubeClient.CoreV1(), kubeClient.CoreV1(), @@ -1268,6 +1271,7 @@ func TestEnsureInstallerPod(t *testing.T) { tt.secrets, []string{"/bin/true"}, kubeInformers, + kubeInformers, fakeStaticPodOperatorClient, kubeClient.CoreV1(), kubeClient.CoreV1(), @@ -2011,6 +2015,7 @@ func TestCreateInstallerPodMultiNode(t *testing.T) { []revision.RevisionResource{{Name: "test-secret"}}, []string{"/bin/true"}, kubeInformers, + kubeInformers, fakeStaticPodOperatorClient, kubeClient.CoreV1(), kubeClient.CoreV1(), diff --git a/pkg/operator/staticpod/controller/node/node_controller.go b/pkg/operator/staticpod/controller/node/node_controller.go index 0f2cbec4f5..bb925a3095 100644 --- a/pkg/operator/staticpod/controller/node/node_controller.go +++ b/pkg/operator/staticpod/controller/node/node_controller.go @@ -7,6 +7,7 @@ import ( coreapiv1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/labels" + "k8s.io/apimachinery/pkg/types" "k8s.io/client-go/informers" corelisterv1 "k8s.io/client-go/listers/core/v1" @@ -84,22 +85,24 @@ func (c *NodeController) sync(ctx context.Context, syncCtx factory.SyncContext) nodes = append(nodes, extraNodes...) } + nodeUIDs := map[string]types.UID{} + for _, node := range nodes { + nodeUIDs[node.Name] = node.UID + } + jsonPatch := jsonpatch.New() var removedNodeStatusesCounter int newTargetNodeStates := []*applyoperatorv1.NodeStatusApplyConfiguration{} // remove entries for missing nodes for i, nodeState := range originalOperatorStatus.NodeStatuses { - found := false - for _, node := range nodes { - if nodeState.NodeName == node.Name { - found = true - } - } - if found { - newTargetNodeState := applyoperatorv1.NodeStatus().WithNodeName(originalOperatorStatus.NodeStatuses[i].NodeName) + currentUID, found := nodeUIDs[nodeState.NodeName] + if found && (nodeState.NodeUID == currentUID || nodeState.NodeUID == "") { + newTargetNodeState := applyoperatorv1.NodeStatus(). + WithNodeName(nodeState.NodeName). + WithNodeUID(currentUID) newTargetNodeStates = append(newTargetNodeStates, newTargetNodeState) } else { - syncCtx.Recorder().Warningf("MasterNodeRemoved", "Observed removal of master node %s", nodeState.NodeName) + syncCtx.Recorder().Warningf("MasterNodeRemoved", "Observed removal of master node %s (UID: %s)", nodeState.NodeName, nodeState.NodeUID) // each delete operation is applied to the object, // which modifies the array. Thus, we need to // adjust the indices to find the correct node to remove. @@ -116,16 +119,19 @@ func (c *NodeController) sync(ctx context.Context, syncCtx factory.SyncContext) for _, node := range nodes { found := false for _, nodeState := range originalOperatorStatus.NodeStatuses { + // NodeUID is intentionally ignored here. Nodes that are replaced with the same name will get added in the next sync + // to ensure previous nodeStatus from a stale cache isn't merged in with the fresh status. if nodeState.NodeName == node.Name { found = true + break } } if found { continue } - syncCtx.Recorder().Eventf("MasterNodeObserved", "Observed new master node %s", node.Name) - newTargetNodeState := applyoperatorv1.NodeStatus().WithNodeName(node.Name) + syncCtx.Recorder().Eventf("MasterNodeObserved", "Observed new master node %s (UID: %s)", node.Name, node.UID) + newTargetNodeState := applyoperatorv1.NodeStatus().WithNodeName(node.Name).WithNodeUID(node.UID) newTargetNodeStates = append(newTargetNodeStates, newTargetNodeState) } diff --git a/pkg/operator/staticpod/controller/node/node_controller_test.go b/pkg/operator/staticpod/controller/node/node_controller_test.go index 20784fbca9..80a9435c55 100644 --- a/pkg/operator/staticpod/controller/node/node_controller_test.go +++ b/pkg/operator/staticpod/controller/node/node_controller_test.go @@ -13,6 +13,7 @@ import ( "k8s.io/apimachinery/pkg/labels" "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/selection" + "k8s.io/apimachinery/pkg/types" "k8s.io/client-go/kubernetes/fake" clientgotesting "k8s.io/client-go/testing" clocktesting "k8s.io/utils/clock/testing" @@ -28,6 +29,7 @@ import ( func fakeMasterNode(name string) *corev1.Node { n := &corev1.Node{} n.Name = name + n.UID = types.UID(name + "-uid") n.Labels = map[string]string{ "node-role.kubernetes.io/master": "", } @@ -729,3 +731,143 @@ func TestNewNodeController(t *testing.T) { } } + +func TestNodeControllerTrackNodeUIDs(t *testing.T) { + tests := []struct { + name string + startNodes []runtime.Object + startNodeStatus []operatorv1.NodeStatus + expectedNodes [][2]string + evaluateNodeStatus func([]operatorv1.NodeStatus) error + }{ + { + name: "node exists missing uid in status", + startNodes: []runtime.Object{fakeMasterNode("test-node-1")}, + startNodeStatus: []operatorv1.NodeStatus{ + { + NodeName: "test-node-1", + }, + }, + evaluateNodeStatus: func(s []operatorv1.NodeStatus) error { + if len(s) != 1 { + return fmt.Errorf("expected 1 node status, got %d", len(s)) + } + if s[0].NodeName != "test-node-1" { + return fmt.Errorf("expected 'test-node-1' as node name, got %q", s[0].NodeName) + } + if s[0].NodeUID != "test-node-1-uid" { + return fmt.Errorf("expected 'test-node-1-uid' as node UID, got %q", s[0].NodeUID) + } + return nil + }, + }, + { + name: "node exists matching uid in status", + startNodes: []runtime.Object{fakeMasterNode("test-node-1")}, + startNodeStatus: []operatorv1.NodeStatus{ + { + NodeName: "test-node-1", + NodeUID: "test-node-1-uid", + }, + }, + evaluateNodeStatus: func(s []operatorv1.NodeStatus) error { + if len(s) != 1 { + return fmt.Errorf("expected 1 node status, got %d", len(s)) + } + if s[0].NodeName != "test-node-1" { + return fmt.Errorf("expected 'test-node-1' as node name, got %q", s[0].NodeName) + } + if s[0].NodeUID != "test-node-1-uid" { + return fmt.Errorf("expected 'test-node-1-uid' as node UID, got %q", s[0].NodeUID) + } + return nil + }, + }, + { + name: "node replaced mismatched uid in status", + startNodes: []runtime.Object{fakeMasterNode("test-node-1")}, + startNodeStatus: []operatorv1.NodeStatus{ + { + NodeName: "test-node-1", + NodeUID: "test-node-1-uid-init", + }, + }, + evaluateNodeStatus: func(s []operatorv1.NodeStatus) error { + if len(s) != 1 { + return fmt.Errorf("expected 1 node status, got %d", len(s)) + } + if s[0].NodeName != "test-node-1" { + return fmt.Errorf("expected 'test-node-1' as node name, got %q", s[0].NodeName) + } + if s[0].NodeUID != "test-node-1-uid" { + return fmt.Errorf("expected 'test-node-1-uid' as node UID, got %q", s[0].NodeUID) + } + return nil + }, + }, + { + name: "node removed", + startNodes: []runtime.Object{fakeMasterNode("test-node-2")}, + startNodeStatus: []operatorv1.NodeStatus{ + { + NodeName: "test-node-1", + NodeUID: "test-node-1-uid", + }, + }, + evaluateNodeStatus: func(s []operatorv1.NodeStatus) error { + if len(s) != 1 { + return fmt.Errorf("expected 1 node status, got %d", len(s)) + } + if s[0].NodeName != "test-node-2" { + return fmt.Errorf("expected 'test-node-2' as node name, got %q", s[0].NodeName) + } + if s[0].NodeUID != "test-node-2-uid" { + return fmt.Errorf("expected 'test-node-2-uid' as node UID, got %q", s[0].NodeUID) + } + return nil + }, + }, + } + + for _, test := range tests { + t.Run(test.name, func(t *testing.T) { + kubeClient := fake.NewSimpleClientset(test.startNodes...) + fakeLister := v1helpers.NewFakeNodeLister(kubeClient) + fakeStaticPodOperatorClient := v1helpers.NewFakeStaticPodOperatorClient( + &operatorv1.StaticPodOperatorSpec{ + OperatorSpec: operatorv1.OperatorSpec{ + ManagementState: operatorv1.Managed, + }, + }, + &operatorv1.StaticPodOperatorStatus{ + OperatorStatus: operatorv1.OperatorStatus{ + LatestAvailableRevision: 1, + }, + NodeStatuses: test.startNodeStatus, + }, + nil, + nil, + ) + + eventRecorder := events.NewRecorder(kubeClient.CoreV1().Events("test"), "test-operator", &corev1.ObjectReference{}, clocktesting.NewFakePassiveClock(time.Now())) + + c := &NodeController{ + operatorClient: fakeStaticPodOperatorClient, + nodeLister: fakeLister, + masterNodesSelector: masterNodesSelector(t), + } + + // override the lister so we don't have to run the informer to list nodes + c.nodeLister = fakeLister + if err := c.sync(context.TODO(), factory.NewSyncContext("NodeController", eventRecorder)); err != nil { + t.Fatal(err) + } + + _, status, _, _ := fakeStaticPodOperatorClient.GetStaticPodOperatorState() + if err := test.evaluateNodeStatus(status.NodeStatuses); err != nil { + t.Errorf("%s: failed to evaluate node status: %v", test.name, err) + } + }) + + } +} diff --git a/pkg/operator/staticpod/controllers.go b/pkg/operator/staticpod/controllers.go index 62722c66c3..8b2777c817 100644 --- a/pkg/operator/staticpod/controllers.go +++ b/pkg/operator/staticpod/controllers.go @@ -283,6 +283,7 @@ func (b *staticPodOperatorControllerBuilder) ToControllers() (manager.Controller b.revisionSecrets, b.installCommand, operandInformers, + clusterInformers, b.staticPodOperatorClient, configMapClient, secretClient, diff --git a/pkg/operator/v1helpers/test_helpers.go b/pkg/operator/v1helpers/test_helpers.go index ec67f6dd97..3cca97af1b 100644 --- a/pkg/operator/v1helpers/test_helpers.go +++ b/pkg/operator/v1helpers/test_helpers.go @@ -272,7 +272,11 @@ func (n *fakeNodeLister) List(selector labels.Selector) ([]*corev1.Node, error) } func (n *fakeNodeLister) Get(name string) (*corev1.Node, error) { - panic("implement me") + node, err := n.client.CoreV1().Nodes().Get(context.TODO(), name, metav1.GetOptions{}) + if err != nil { + return nil, err + } + return node, nil } // NewFakeOperatorClient returns a fake operator client suitable to use in static pod controller unit tests. @@ -470,6 +474,7 @@ func mergeStaticPodOperatorStatusApplyConfiguration(currentOperatorStatus *v1.Op for _, nodeStatus := range applyConfiguration.NodeStatuses { newNodeStatus := operatorv1.NodeStatus{ NodeName: ptr.Deref(nodeStatus.NodeName, ""), + NodeUID: ptr.Deref(nodeStatus.NodeUID, ""), CurrentRevision: ptr.Deref(nodeStatus.CurrentRevision, 0), TargetRevision: ptr.Deref(nodeStatus.TargetRevision, 0), LastFailedRevision: ptr.Deref(nodeStatus.LastFailedRevision, 0),