bump controller-gen to v0.17.0 (#913)

This commit is contained in:
Dave Protasowski 2025-01-13 12:24:01 -05:00 committed by GitHub
parent ca99f3dde7
commit 634555c68c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 3 deletions

View File

@ -86,9 +86,7 @@ spec:
This field is effectively required, but due to backwards compatibility is
allowed to be empty. Instances of this type with an empty value here are
almost certainly wrong.
TODO: Add other useful fields. apiVersion, kind, uid?
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
type: string
default: ""
x-kubernetes-map-type: atomic

View File

@ -20,7 +20,7 @@ set -o pipefail
REPO_ROOT="$(git rev-parse --show-toplevel)"
go run sigs.k8s.io/controller-tools/cmd/controller-gen@v0.14.0 \
go run sigs.k8s.io/controller-tools/cmd/controller-gen@v0.17.0 \
schemapatch:manifests=config/,generateEmbeddedObjectMeta=false \
output:dir=config \
paths=./pkg/apis/...