diff --git a/config/image.yaml b/config/image.yaml index 75d65d9e..2c0651aa 100644 --- a/config/image.yaml +++ b/config/image.yaml @@ -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 diff --git a/hack/update-schemas.sh b/hack/update-schemas.sh index 6cbefeba..38ae9253 100755 --- a/hack/update-schemas.sh +++ b/hack/update-schemas.sh @@ -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/...