Skip to content

Commit cb19db5

Browse files
committed
Upgrade controller-gen to v0.18.0 and update related CRD annotations for consistency.
1 parent 7be070c commit cb19db5

File tree

5 files changed

+13
-9
lines changed

5 files changed

+13
-9
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ GOBIN ?= ${CURDIR}/bin
5656
KUSTOMIZE_VERSION ?= v5.3.0
5757
KUSTOMIZE ?= ${GOBIN}/kustomize
5858

59-
CONTROLLER_GEN_VERSION ?= v0.17.3
59+
CONTROLLER_GEN_VERSION ?= v0.18.0
6060
CONTROLLER_GEN ?= ${GOBIN}/controller-gen
6161

6262
STATICCHECK_VERSION ?= 2023.1

config/crd/bases/hnc.x-k8s.io_hierarchicalresourcequotas.yaml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.17.3
6+
controller-gen.kubebuilder.io/version: v0.18.0
77
name: hierarchicalresourcequotas.hnc.x-k8s.io
88
spec:
99
group: hnc.x-k8s.io
@@ -96,11 +96,13 @@ spec:
9696
items:
9797
type: string
9898
type: array
99+
x-kubernetes-list-type: atomic
99100
required:
100101
- operator
101102
- scopeName
102103
type: object
103104
type: array
105+
x-kubernetes-list-type: atomic
104106
type: object
105107
x-kubernetes-map-type: atomic
106108
type: object
@@ -119,12 +121,14 @@ spec:
119121
resource
120122
type: object
121123
limitsSummary:
122-
description: LimitsSummary is used by kubectl get hrq, and summarizes
123-
the relevant information from .status.hard.limits and .status.used.limits.
124+
description: |-
125+
LimitsSummary is used by kubectl get hrq, and summarizes the relevant information
126+
from .status.hard.limits and .status.used.limits.
124127
type: string
125128
requestsSummary:
126-
description: RequestsSummary is used by kubectl get hrq, and summarizes
127-
the relevant information from .status.hard.requests and .status.used.requests.
129+
description: |-
130+
RequestsSummary is used by kubectl get hrq, and summarizes the relevant information
131+
from .status.hard.requests and .status.used.requests.
128132
type: string
129133
used:
130134
additionalProperties:

config/crd/bases/hnc.x-k8s.io_hierarchyconfigurations.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.17.3
6+
controller-gen.kubebuilder.io/version: v0.18.0
77
name: hierarchyconfigurations.hnc.x-k8s.io
88
spec:
99
group: hnc.x-k8s.io

config/crd/bases/hnc.x-k8s.io_hncconfigurations.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.17.3
6+
controller-gen.kubebuilder.io/version: v0.18.0
77
name: hncconfigurations.hnc.x-k8s.io
88
spec:
99
group: hnc.x-k8s.io

config/crd/bases/hnc.x-k8s.io_subnamespaceanchors.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.17.3
6+
controller-gen.kubebuilder.io/version: v0.18.0
77
name: subnamespaceanchors.hnc.x-k8s.io
88
spec:
99
group: hnc.x-k8s.io

0 commit comments

Comments
 (0)