From 6f1a4f559a0ad208e1c41801e1d027bc3ca577a3 Mon Sep 17 00:00:00 2001 From: AIsland Date: Fri, 11 Sep 2020 16:51:10 +0800 Subject: [PATCH 1/2] update crd yamls to use v1 --- config/image.yaml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/config/image.yaml b/config/image.yaml index 3771a0d7b..6e7c397c1 100644 --- a/config/image.yaml +++ b/config/image.yaml @@ -20,7 +20,16 @@ metadata: knative.dev/crd-install: "true" spec: group: caching.internal.knative.dev - version: v1alpha1 + versions: + - name: v1alpha1 + served: true + storage: true + subresources: + status: {} + schema: + openAPIV3Schema: + type: object + x-kubernetes-preserve-unknown-fields: true names: kind: Image plural: images @@ -31,5 +40,3 @@ spec: shortNames: - img scope: Namespaced - subresources: - status: {} From 92f036088c7a58d15327b633be0030954fafa8da Mon Sep 17 00:00:00 2001 From: AIsland Date: Fri, 11 Sep 2020 16:59:48 +0800 Subject: [PATCH 2/2] upgrade apiextensions.k8s.io/v1 --- config/image.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/image.yaml b/config/image.yaml index 6e7c397c1..e2be49746 100644 --- a/config/image.yaml +++ b/config/image.yaml @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -apiVersion: apiextensions.k8s.io/v1beta1 +apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: name: images.caching.internal.knative.dev