diff --git a/config/image.yaml b/config/image.yaml index 3771a0d7b..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 @@ -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: {}