Skip to content

Commit d653b70

Browse files
authored
✨ bump controller gen to v0.14.0 (#540)
1 parent b335061 commit d653b70

File tree

5 files changed

+55
-30
lines changed

5 files changed

+55
-30
lines changed

cyclops-ctrl/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ ENVTEST ?= $(LOCALBIN)/setup-envtest
132132

133133
## Tool Versions
134134
KUSTOMIZE_VERSION ?= v5.0.0
135-
CONTROLLER_TOOLS_VERSION ?= v0.11.3
135+
CONTROLLER_TOOLS_VERSION ?= v0.14.0
136136

137137
KUSTOMIZE_INSTALL_SCRIPT ?= "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh"
138138
.PHONY: kustomize

cyclops-ctrl/config/crd/bases/cyclops-ui.com_modules.yaml

+12-8
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.11.3
7-
creationTimestamp: null
6+
controller-gen.kubebuilder.io/version: v0.14.0
87
name: modules.cyclops-ui.com
98
spec:
109
group: cyclops-ui.com
@@ -21,9 +20,11 @@ spec:
2120
description: Module is the Schema for the modules API
2221
properties:
2322
apiVersion:
24-
description: 'APIVersion defines the versioned schema of this representation
25-
of an object. Servers should convert recognized schemas to the latest
26-
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
23+
description: |-
24+
APIVersion defines the versioned schema of this representation of an object.
25+
Servers should convert recognized schemas to the latest internal value, and
26+
may reject unrecognized values.
27+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
2728
type: string
2829
history:
2930
items:
@@ -53,9 +54,12 @@ spec:
5354
type: object
5455
type: array
5556
kind:
56-
description: 'Kind is a string value representing the REST resource this
57-
object represents. Servers may infer this from the endpoint the client
58-
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
57+
description: |-
58+
Kind is a string value representing the REST resource this object represents.
59+
Servers may infer this from the endpoint the client submits requests to.
60+
Cannot be updated.
61+
In CamelCase.
62+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
5963
type: string
6064
metadata:
6165
type: object

cyclops-ctrl/config/crd/bases/cyclops-ui.com_templateauthrules.yaml

+30-12
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.11.3
7-
creationTimestamp: null
6+
controller-gen.kubebuilder.io/version: v0.14.0
87
name: templateauthrules.cyclops-ui.com
98
spec:
109
group: cyclops-ui.com
@@ -21,14 +20,19 @@ spec:
2120
description: TemplateAuthRule is the Schema for the modules API
2221
properties:
2322
apiVersion:
24-
description: 'APIVersion defines the versioned schema of this representation
25-
of an object. Servers should convert recognized schemas to the latest
26-
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
23+
description: |-
24+
APIVersion defines the versioned schema of this representation of an object.
25+
Servers should convert recognized schemas to the latest internal value, and
26+
may reject unrecognized values.
27+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
2728
type: string
2829
kind:
29-
description: 'Kind is a string value representing the REST resource this
30-
object represents. Servers may infer this from the endpoint the client
31-
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
30+
description: |-
31+
Kind is a string value representing the REST resource this object represents.
32+
Servers may infer this from the endpoint the client submits requests to.
33+
Cannot be updated.
34+
In CamelCase.
35+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
3236
type: string
3337
metadata:
3438
type: object
@@ -43,8 +47,15 @@ spec:
4347
valid secret key.
4448
type: string
4549
name:
46-
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
47-
TODO: Add other useful fields. apiVersion, kind, uid?'
50+
default: ""
51+
description: |-
52+
Name of the referent.
53+
This field is effectively required, but due to backwards compatibility is
54+
allowed to be empty. Instances of this type with an empty value here are
55+
almost certainly wrong.
56+
TODO: Add other useful fields. apiVersion, kind, uid?
57+
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
58+
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
4859
type: string
4960
optional:
5061
description: Specify whether the Secret or its key must be defined
@@ -63,8 +74,15 @@ spec:
6374
valid secret key.
6475
type: string
6576
name:
66-
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
67-
TODO: Add other useful fields. apiVersion, kind, uid?'
77+
default: ""
78+
description: |-
79+
Name of the referent.
80+
This field is effectively required, but due to backwards compatibility is
81+
allowed to be empty. Instances of this type with an empty value here are
82+
almost certainly wrong.
83+
TODO: Add other useful fields. apiVersion, kind, uid?
84+
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
85+
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
6886
type: string
6987
optional:
7088
description: Specify whether the Secret or its key must be defined

cyclops-ctrl/config/crd/bases/cyclops-ui.com_templatestores.yaml

+12-8
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.11.3
7-
creationTimestamp: null
6+
controller-gen.kubebuilder.io/version: v0.14.0
87
name: templatestores.cyclops-ui.com
98
spec:
109
group: cyclops-ui.com
@@ -22,14 +21,19 @@ spec:
2221
as a starting point
2322
properties:
2423
apiVersion:
25-
description: 'APIVersion defines the versioned schema of this representation
26-
of an object. Servers should convert recognized schemas to the latest
27-
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
24+
description: |-
25+
APIVersion defines the versioned schema of this representation of an object.
26+
Servers should convert recognized schemas to the latest internal value, and
27+
may reject unrecognized values.
28+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
2829
type: string
2930
kind:
30-
description: 'Kind is a string value representing the REST resource this
31-
object represents. Servers may infer this from the endpoint the client
32-
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
31+
description: |-
32+
Kind is a string value representing the REST resource this object represents.
33+
Servers may infer this from the endpoint the client submits requests to.
34+
Cannot be updated.
35+
In CamelCase.
36+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
3337
type: string
3438
metadata:
3539
type: object

cyclops-ctrl/config/rbac/role.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
apiVersion: rbac.authorization.k8s.io/v1
33
kind: ClusterRole
44
metadata:
5-
creationTimestamp: null
65
name: manager-role
76
rules:
87
- apiGroups:

0 commit comments

Comments
 (0)