mirror of https://github.com/knative/caching.git
bump controller-gen to v0.17.0 (#913)
This commit is contained in:
parent
ca99f3dde7
commit
634555c68c
|
@ -86,9 +86,7 @@ spec:
|
||||||
This field is effectively required, but due to backwards compatibility is
|
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
|
allowed to be empty. Instances of this type with an empty value here are
|
||||||
almost certainly wrong.
|
almost certainly wrong.
|
||||||
TODO: Add other useful fields. apiVersion, kind, uid?
|
|
||||||
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
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
|
type: string
|
||||||
default: ""
|
default: ""
|
||||||
x-kubernetes-map-type: atomic
|
x-kubernetes-map-type: atomic
|
||||||
|
|
|
@ -20,7 +20,7 @@ set -o pipefail
|
||||||
|
|
||||||
REPO_ROOT="$(git rev-parse --show-toplevel)"
|
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 \
|
schemapatch:manifests=config/,generateEmbeddedObjectMeta=false \
|
||||||
output:dir=config \
|
output:dir=config \
|
||||||
paths=./pkg/apis/...
|
paths=./pkg/apis/...
|
||||||
|
|
Loading…
Reference in New Issue