Skip to content

Commit

Permalink
Update controller-gen to v0.13.0 which is built with Kubernetes v1.28
Browse files Browse the repository at this point in the history
v0.9.0 removed redundant .status of generated CRD
v0.12.0 removed redundant .metadata.creationTimestamp of generated CRD

Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
  • Loading branch information
RainbowMango committed Mar 30, 2024
1 parent 6534ffb commit f732427
Show file tree
Hide file tree
Showing 19 changed files with 103 additions and 145 deletions.
11 changes: 3 additions & 8 deletions charts/karmada-operator/crds/operator.karmada.io_karmadas.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.8.0
creationTimestamp: null
controller-gen.kubebuilder.io/version: v0.13.0
name: karmadas.operator.karmada.io
spec:
group: operator.karmada.io
Expand Down Expand Up @@ -322,6 +321,7 @@ spec:
- kind
- name
type: object
x-kubernetes-map-type: atomic
dataSourceRef:
description: 'dataSourceRef specifies the
object from which to populate the volume
Expand Down Expand Up @@ -505,6 +505,7 @@ spec:
only "value". The requirements are ANDed.
type: object
type: object
x-kubernetes-map-type: atomic
storageClassName:
description: 'storageClassName is the name
of the StorageClass required by the claim.
Expand Down Expand Up @@ -1744,9 +1745,3 @@ spec:
storage: true
subresources:
status: {}
status:
acceptedNames:
kind: ""
plural: ""
conditions: []
storedVersions: []
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.8.0
creationTimestamp: null
controller-gen.kubebuilder.io/version: v0.13.0
name: cronfederatedhpas.autoscaling.karmada.io
spec:
group: autoscaling.karmada.io
Expand Down Expand Up @@ -250,9 +249,3 @@ spec:
storage: true
subresources:
status: {}
status:
acceptedNames:
kind: ""
plural: ""
conditions: []
storedVersions: []
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.8.0
creationTimestamp: null
controller-gen.kubebuilder.io/version: v0.13.0
name: federatedhpas.autoscaling.karmada.io
spec:
group: autoscaling.karmada.io
Expand Down Expand Up @@ -321,6 +320,7 @@ spec:
requirements are ANDed.
type: object
type: object
x-kubernetes-map-type: atomic
required:
- name
type: object
Expand Down Expand Up @@ -445,6 +445,7 @@ spec:
requirements are ANDed.
type: object
type: object
x-kubernetes-map-type: atomic
required:
- name
type: object
Expand Down Expand Up @@ -553,6 +554,7 @@ spec:
requirements are ANDed.
type: object
type: object
x-kubernetes-map-type: atomic
required:
- name
type: object
Expand Down Expand Up @@ -874,6 +876,7 @@ spec:
requirements are ANDed.
type: object
type: object
x-kubernetes-map-type: atomic
required:
- name
type: object
Expand Down Expand Up @@ -991,6 +994,7 @@ spec:
requirements are ANDed.
type: object
type: object
x-kubernetes-map-type: atomic
required:
- name
type: object
Expand Down Expand Up @@ -1092,6 +1096,7 @@ spec:
requirements are ANDed.
type: object
type: object
x-kubernetes-map-type: atomic
required:
- name
type: object
Expand Down Expand Up @@ -1186,9 +1191,3 @@ spec:
storage: true
subresources:
status: {}
status:
acceptedNames:
kind: ""
plural: ""
conditions: []
storedVersions: []
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.8.0
creationTimestamp: null
controller-gen.kubebuilder.io/version: v0.13.0
name: resourceinterpretercustomizations.config.karmada.io
spec:
group: config.karmada.io
Expand Down Expand Up @@ -247,9 +246,3 @@ spec:
type: object
served: true
storage: true
status:
acceptedNames:
kind: ""
plural: ""
conditions: []
storedVersions: []
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.8.0
creationTimestamp: null
controller-gen.kubebuilder.io/version: v0.13.0
name: resourceinterpreterwebhookconfigurations.config.karmada.io
spec:
group: config.karmada.io
Expand Down Expand Up @@ -185,9 +184,3 @@ spec:
type: object
served: true
storage: true
status:
acceptedNames:
kind: ""
plural: ""
conditions: []
storedVersions: []
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.8.0
creationTimestamp: null
controller-gen.kubebuilder.io/version: v0.13.0
name: multiclusteringresses.networking.karmada.io
spec:
group: networking.karmada.io
Expand Down Expand Up @@ -70,6 +69,7 @@ spec:
- kind
- name
type: object
x-kubernetes-map-type: atomic
service:
description: service references a service as a backend. This is
a mutually exclusive setting with "Resource".
Expand Down Expand Up @@ -191,6 +191,7 @@ spec:
- kind
- name
type: object
x-kubernetes-map-type: atomic
service:
description: service references a service as a
backend. This is a mutually exclusive setting
Expand Down Expand Up @@ -389,9 +390,3 @@ spec:
storage: true
subresources:
status: {}
status:
acceptedNames:
kind: ""
plural: ""
conditions: []
storedVersions: []
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.8.0
creationTimestamp: null
controller-gen.kubebuilder.io/version: v0.13.0
name: multiclusterservices.networking.karmada.io
spec:
group: networking.karmada.io
Expand Down Expand Up @@ -270,9 +269,3 @@ spec:
storage: true
subresources:
status: {}
status:
acceptedNames:
kind: ""
plural: ""
conditions: []
storedVersions: []
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.8.0
creationTimestamp: null
controller-gen.kubebuilder.io/version: v0.13.0
name: clusteroverridepolicies.policy.karmada.io
spec:
group: policy.karmada.io
Expand Down Expand Up @@ -369,6 +368,7 @@ spec:
contains only "value". The requirements are ANDed.
type: object
type: object
x-kubernetes-map-type: atomic
type: object
required:
- overriders
Expand Down Expand Up @@ -642,6 +642,7 @@ spec:
only "value". The requirements are ANDed.
type: object
type: object
x-kubernetes-map-type: atomic
name:
description: Name of the target resource. Default is empty,
which means selecting all resources.
Expand Down Expand Up @@ -757,16 +758,11 @@ spec:
"value". The requirements are ANDed.
type: object
type: object
x-kubernetes-map-type: atomic
type: object
type: object
required:
- spec
type: object
served: true
storage: true
status:
acceptedNames:
kind: ""
plural: ""
conditions: []
storedVersions: []
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.8.0
creationTimestamp: null
controller-gen.kubebuilder.io/version: v0.13.0
name: clusterpropagationpolicies.policy.karmada.io
spec:
group: policy.karmada.io
Expand Down Expand Up @@ -278,6 +277,7 @@ spec:
contains only "value". The requirements are ANDed.
type: object
type: object
x-kubernetes-map-type: atomic
required:
- affinityName
type: object
Expand Down Expand Up @@ -389,6 +389,7 @@ spec:
only "value". The requirements are ANDed.
type: object
type: object
x-kubernetes-map-type: atomic
type: object
clusterTolerations:
description: ClusterTolerations represents the tolerations.
Expand Down Expand Up @@ -599,6 +600,7 @@ spec:
only "value". The requirements are ANDed.
type: object
type: object
x-kubernetes-map-type: atomic
type: object
weight:
description: Weight expressing the preference to
Expand Down Expand Up @@ -749,6 +751,7 @@ spec:
only "value". The requirements are ANDed.
type: object
type: object
x-kubernetes-map-type: atomic
name:
description: Name of the target resource. Default is empty,
which means selecting all resources.
Expand Down Expand Up @@ -778,9 +781,3 @@ spec:
type: object
served: true
storage: true
status:
acceptedNames:
kind: ""
plural: ""
conditions: []
storedVersions: []
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.8.0
creationTimestamp: null
controller-gen.kubebuilder.io/version: v0.13.0
name: federatedresourcequotas.policy.karmada.io
spec:
group: policy.karmada.io
Expand Down Expand Up @@ -146,9 +145,3 @@ spec:
storage: true
subresources:
status: {}
status:
acceptedNames:
kind: ""
plural: ""
conditions: []
storedVersions: []
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.8.0
creationTimestamp: null
controller-gen.kubebuilder.io/version: v0.13.0
name: overridepolicies.policy.karmada.io
spec:
group: policy.karmada.io
Expand Down Expand Up @@ -369,6 +368,7 @@ spec:
contains only "value". The requirements are ANDed.
type: object
type: object
x-kubernetes-map-type: atomic
type: object
required:
- overriders
Expand Down Expand Up @@ -642,6 +642,7 @@ spec:
only "value". The requirements are ANDed.
type: object
type: object
x-kubernetes-map-type: atomic
name:
description: Name of the target resource. Default is empty,
which means selecting all resources.
Expand Down Expand Up @@ -757,16 +758,11 @@ spec:
"value". The requirements are ANDed.
type: object
type: object
x-kubernetes-map-type: atomic
type: object
type: object
required:
- spec
type: object
served: true
storage: true
status:
acceptedNames:
kind: ""
plural: ""
conditions: []
storedVersions: []
Loading

0 comments on commit f732427

Please sign in to comment.