From b68c6bcce4c171ff07df1a88bf3187be47ba8923 Mon Sep 17 00:00:00 2001 From: RohanKumarMainali Date: Fri, 3 Jan 2025 16:11:23 +0545 Subject: [PATCH] fix(): add requeueOnFailure field --- apis/controller/v1alpha1/cluster_types.go | 39 ++++++++++--------- .../v1alpha1/zz_generated.deepcopy.go | 7 ++-- apis/worker/v1alpha1/zz_generated.deepcopy.go | 1 - .../controller.kubeslice.io_clusters.yaml | 22 +++++++---- .../controller.kubeslice.io_projects.yaml | 20 ++++++---- ...ler.kubeslice.io_serviceexportconfigs.yaml | 25 +++++++----- .../controller.kubeslice.io_sliceconfigs.yaml | 20 ++++++---- ...ntroller.kubeslice.io_sliceqosconfigs.yaml | 20 ++++++---- ...ntroller.kubeslice.io_vpnkeyrotations.yaml | 26 +++++++------ ...ker.kubeslice.io_workerserviceimports.yaml | 25 +++++++----- ...orker.kubeslice.io_workersliceconfigs.yaml | 20 ++++++---- ...rker.kubeslice.io_workerslicegateways.yaml | 20 ++++++---- ...r.kubeslice.io_workerslicegwrecyclers.yaml | 20 ++++++---- config/rbac/role.yaml | 1 - config/webhook/manifests.yaml | 2 - 15 files changed, 155 insertions(+), 113 deletions(-) diff --git a/apis/controller/v1alpha1/cluster_types.go b/apis/controller/v1alpha1/cluster_types.go index 9caa9b9d..29aabfc8 100644 --- a/apis/controller/v1alpha1/cluster_types.go +++ b/apis/controller/v1alpha1/cluster_types.go @@ -55,57 +55,58 @@ type ClusterSpec struct { NodeIPs []string `json:"nodeIPs,omitempty"` // NetworkInterface is the network interface attached with the cluster. NetworkInterface string `json:"networkInterface,omitempty"` - //put in an object - ClusterProperty ClusterProperty `json:"clusterProperty,omitempty"` - EnableAutoEviction bool `json:"enableAutoEviction,omitempty"` + // put in an object + ClusterProperty ClusterProperty `json:"clusterProperty,omitempty"` + EnableAutoEviction bool `json:"enableAutoEviction,omitempty"` + RequeueOnFailure bool `json:"requeueOnFailure,omitempty"` } type ClusterProperty struct { - //Telemetry contains Telemetry information + // Telemetry contains Telemetry information Telemetry Telemetry `json:"telemetry,omitempty"` - //GeoLocation contains information regarding Geographical Location of the Cluster + // GeoLocation contains information regarding Geographical Location of the Cluster GeoLocation GeoLocation `json:"geoLocation,omitempty"` - //Monitoring contains the Kubernetes Monitoring Dashboard + // Monitoring contains the Kubernetes Monitoring Dashboard Monitoring Monitoring `json:"monitoring,omitempty"` } // Telemetry defines the field of ClusterSpec type Telemetry struct { - //Enabled is the enable status of the Telemetry + // Enabled is the enable status of the Telemetry Enabled bool `json:"enabled,omitempty"` - //TelemetryProvider is the Telemetry Provider information + // TelemetryProvider is the Telemetry Provider information TelemetryProvider string `json:"telemetryProvider,omitempty"` - //Endpoint is the Telemetry Endpoint + // Endpoint is the Telemetry Endpoint Endpoint string `json:"endpoint,omitempty"` } // GeoLocation defines the field of ClusterSpec type GeoLocation struct { - //CloudProvider is the cloud service provider + // CloudProvider is the cloud service provider CloudProvider string `json:"cloudProvider,omitempty"` - //CloudRegion is the region of the cloud + // CloudRegion is the region of the cloud CloudRegion string `json:"cloudRegion,omitempty"` - //Latitude is the latitude of the cluster + // Latitude is the latitude of the cluster Latitude string `json:"latitude,omitempty"` - //Longitude is the longitude of the cluster + // Longitude is the longitude of the cluster Longitude string `json:"longitude,omitempty"` } // Monitoring defines the field of ClusterSpec type Monitoring struct { - //KubernetesDashboard contains the information regarding Kubernetes Monitoring Dashboard + // KubernetesDashboard contains the information regarding Kubernetes Monitoring Dashboard KubernetesDashboard KubernetesDashboard `json:"kubernetesDashboard,omitempty"` } // KubernetesDashboard defines the field of ClusterSpec type KubernetesDashboard struct { - //Enabled is the enable status of the KubernetesDashboard + // Enabled is the enable status of the KubernetesDashboard Enabled bool `json:"enabled,omitempty"` - //AccessToken is the Access Token to access the KubernetesDashboard + // AccessToken is the Access Token to access the KubernetesDashboard AccessToken string `json:"accessToken,omitempty"` - //IngressPrefix is the prefix of ingress gateway for KubernetesDashboard + // IngressPrefix is the prefix of ingress gateway for KubernetesDashboard IngressPrefix string `json:"ingressPrefix,omitempty"` - //Endpoint is the base endpoint to access the kubernetes dashboard + // Endpoint is the base endpoint to access the kubernetes dashboard Endpoint string `json:"endpoint,omitempty"` } @@ -113,7 +114,7 @@ type KubernetesDashboard struct { type ClusterStatus struct { // SecretName is the name of the secret for the worker cluster. SecretName string `json:"secretName,omitempty"` - //CniSubnet is the podip and service ip subnet of CNI + // CniSubnet is the podip and service ip subnet of CNI CniSubnet []string `json:"cniSubnet,omitempty"` // Namespaces present in cluster Namespaces []NamespacesConfig `json:"namespaces,omitempty"` diff --git a/apis/controller/v1alpha1/zz_generated.deepcopy.go b/apis/controller/v1alpha1/zz_generated.deepcopy.go index 701d4708..ac1a4aa5 100644 --- a/apis/controller/v1alpha1/zz_generated.deepcopy.go +++ b/apis/controller/v1alpha1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022. @@ -1014,7 +1013,8 @@ func (in *VpnKeyRotationSpec) DeepCopyInto(out *VpnKeyRotationSpec) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = make([]string, len(*in)) copy(*out, *in) } @@ -1064,7 +1064,8 @@ func (in *VpnKeyRotationStatus) DeepCopyInto(out *VpnKeyRotationStatus) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = make([]StatusOfKeyRotation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) diff --git a/apis/worker/v1alpha1/zz_generated.deepcopy.go b/apis/worker/v1alpha1/zz_generated.deepcopy.go index ac6df83e..578ce988 100644 --- a/apis/worker/v1alpha1/zz_generated.deepcopy.go +++ b/apis/worker/v1alpha1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022. diff --git a/config/crd/bases/controller.kubeslice.io_clusters.yaml b/config/crd/bases/controller.kubeslice.io_clusters.yaml index 957b63f5..9278ac86 100644 --- a/config/crd/bases/controller.kubeslice.io_clusters.yaml +++ b/config/crd/bases/controller.kubeslice.io_clusters.yaml @@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.11.1 - creationTimestamp: null + controller-gen.kubebuilder.io/version: v0.15.0 name: clusters.controller.kubeslice.io spec: group: controller.kubeslice.io @@ -21,14 +20,19 @@ spec: description: Cluster is the Schema for the clusters API properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -107,6 +111,8 @@ spec: items: type: string type: array + requeueOnFailure: + type: boolean type: object status: description: ClusterStatus defines the observed state of Cluster diff --git a/config/crd/bases/controller.kubeslice.io_projects.yaml b/config/crd/bases/controller.kubeslice.io_projects.yaml index bf1739c5..13b2789b 100644 --- a/config/crd/bases/controller.kubeslice.io_projects.yaml +++ b/config/crd/bases/controller.kubeslice.io_projects.yaml @@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.11.1 - creationTimestamp: null + controller-gen.kubebuilder.io/version: v0.15.0 name: projects.controller.kubeslice.io spec: group: controller.kubeslice.io @@ -21,14 +20,19 @@ spec: description: Project is the Schema for the projects API properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object diff --git a/config/crd/bases/controller.kubeslice.io_serviceexportconfigs.yaml b/config/crd/bases/controller.kubeslice.io_serviceexportconfigs.yaml index 0957ab05..1fef0989 100644 --- a/config/crd/bases/controller.kubeslice.io_serviceexportconfigs.yaml +++ b/config/crd/bases/controller.kubeslice.io_serviceexportconfigs.yaml @@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.11.1 - creationTimestamp: null + controller-gen.kubebuilder.io/version: v0.15.0 name: serviceexportconfigs.controller.kubeslice.io spec: group: controller.kubeslice.io @@ -22,14 +21,19 @@ spec: API properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -37,8 +41,9 @@ spec: description: ServiceExportConfigSpec defines the desired state of ServiceExportConfig properties: aliases: - description: Alias names for the exported service. The service could - be addressed by the alias names in addition to the slice.local name. + description: |- + Alias names for the exported service. The service could be addressed by the alias names + in addition to the slice.local name. items: type: string type: array diff --git a/config/crd/bases/controller.kubeslice.io_sliceconfigs.yaml b/config/crd/bases/controller.kubeslice.io_sliceconfigs.yaml index 88c726df..22b259bc 100644 --- a/config/crd/bases/controller.kubeslice.io_sliceconfigs.yaml +++ b/config/crd/bases/controller.kubeslice.io_sliceconfigs.yaml @@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.11.1 - creationTimestamp: null + controller-gen.kubebuilder.io/version: v0.15.0 name: sliceconfigs.controller.kubeslice.io spec: group: controller.kubeslice.io @@ -21,14 +20,19 @@ spec: description: SliceConfig is the Schema for the sliceconfig API properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object diff --git a/config/crd/bases/controller.kubeslice.io_sliceqosconfigs.yaml b/config/crd/bases/controller.kubeslice.io_sliceqosconfigs.yaml index e5354c72..d09204ca 100644 --- a/config/crd/bases/controller.kubeslice.io_sliceqosconfigs.yaml +++ b/config/crd/bases/controller.kubeslice.io_sliceqosconfigs.yaml @@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.11.1 - creationTimestamp: null + controller-gen.kubebuilder.io/version: v0.15.0 name: sliceqosconfigs.controller.kubeslice.io spec: group: controller.kubeslice.io @@ -21,14 +20,19 @@ spec: description: SliceQoSConfig is the Schema for the sliceqosconfigs API properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object diff --git a/config/crd/bases/controller.kubeslice.io_vpnkeyrotations.yaml b/config/crd/bases/controller.kubeslice.io_vpnkeyrotations.yaml index eba01d25..43af3df2 100644 --- a/config/crd/bases/controller.kubeslice.io_vpnkeyrotations.yaml +++ b/config/crd/bases/controller.kubeslice.io_vpnkeyrotations.yaml @@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.11.1 - creationTimestamp: null + controller-gen.kubebuilder.io/version: v0.15.0 name: vpnkeyrotations.controller.kubeslice.io spec: group: controller.kubeslice.io @@ -21,14 +20,19 @@ spec: description: VpnKeyRotation is the Schema for the vpnkeyrotations API properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -50,9 +54,9 @@ spec: items: type: string type: array - description: ClusterGatewayMapping represents a map where key is cluster - name and value is array of gateways present on that cluster. This - is used to avoid unnecessary reconciliation in worker-operator. + description: |- + ClusterGatewayMapping represents a map where key is cluster name and value is array of gateways present on that cluster. + This is used to avoid unnecessary reconciliation in worker-operator. type: object clusters: description: clusters contains the list of clusters attached to this diff --git a/config/crd/bases/worker.kubeslice.io_workerserviceimports.yaml b/config/crd/bases/worker.kubeslice.io_workerserviceimports.yaml index 038c4309..97e3ad5c 100644 --- a/config/crd/bases/worker.kubeslice.io_workerserviceimports.yaml +++ b/config/crd/bases/worker.kubeslice.io_workerserviceimports.yaml @@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.11.1 - creationTimestamp: null + controller-gen.kubebuilder.io/version: v0.15.0 name: workerserviceimports.worker.kubeslice.io spec: group: worker.kubeslice.io @@ -22,14 +21,19 @@ spec: API properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -37,8 +41,9 @@ spec: description: WorkerServiceImportSpec defines the desired state of WorkerServiceImport properties: aliases: - description: Alias names for the exported service. The service could - be addressed by the alias names in addition to the slice.local name. + description: |- + Alias names for the exported service. The service could be addressed by the alias names + in addition to the slice.local name. items: type: string type: array diff --git a/config/crd/bases/worker.kubeslice.io_workersliceconfigs.yaml b/config/crd/bases/worker.kubeslice.io_workersliceconfigs.yaml index be8db824..cbfc7b79 100644 --- a/config/crd/bases/worker.kubeslice.io_workersliceconfigs.yaml +++ b/config/crd/bases/worker.kubeslice.io_workersliceconfigs.yaml @@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.11.1 - creationTimestamp: null + controller-gen.kubebuilder.io/version: v0.15.0 name: workersliceconfigs.worker.kubeslice.io spec: group: worker.kubeslice.io @@ -21,14 +20,19 @@ spec: description: WorkerSliceConfig is the Schema for the slice API properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object diff --git a/config/crd/bases/worker.kubeslice.io_workerslicegateways.yaml b/config/crd/bases/worker.kubeslice.io_workerslicegateways.yaml index 8266a588..032fedd8 100644 --- a/config/crd/bases/worker.kubeslice.io_workerslicegateways.yaml +++ b/config/crd/bases/worker.kubeslice.io_workerslicegateways.yaml @@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.11.1 - creationTimestamp: null + controller-gen.kubebuilder.io/version: v0.15.0 name: workerslicegateways.worker.kubeslice.io spec: group: worker.kubeslice.io @@ -21,14 +20,19 @@ spec: description: WorkerSliceGateway is the Schema for the slicegateways API properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object diff --git a/config/crd/bases/worker.kubeslice.io_workerslicegwrecyclers.yaml b/config/crd/bases/worker.kubeslice.io_workerslicegwrecyclers.yaml index 70575a84..ffe1fc49 100644 --- a/config/crd/bases/worker.kubeslice.io_workerslicegwrecyclers.yaml +++ b/config/crd/bases/worker.kubeslice.io_workerslicegwrecyclers.yaml @@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.11.1 - creationTimestamp: null + controller-gen.kubebuilder.io/version: v0.15.0 name: workerslicegwrecyclers.worker.kubeslice.io spec: group: worker.kubeslice.io @@ -22,14 +21,19 @@ spec: API properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object diff --git a/config/rbac/role.yaml b/config/rbac/role.yaml index 7a047c4a..eb9aa354 100644 --- a/config/rbac/role.yaml +++ b/config/rbac/role.yaml @@ -2,7 +2,6 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: - creationTimestamp: null name: controller-role rules: - apiGroups: diff --git a/config/webhook/manifests.yaml b/config/webhook/manifests.yaml index c583526d..ba6aca0c 100644 --- a/config/webhook/manifests.yaml +++ b/config/webhook/manifests.yaml @@ -2,7 +2,6 @@ apiVersion: admissionregistration.k8s.io/v1 kind: MutatingWebhookConfiguration metadata: - creationTimestamp: null name: mutating-webhook-configuration webhooks: - admissionReviewVersions: @@ -149,7 +148,6 @@ webhooks: apiVersion: admissionregistration.k8s.io/v1 kind: ValidatingWebhookConfiguration metadata: - creationTimestamp: null name: validating-webhook-configuration webhooks: - admissionReviewVersions: