diff --git a/config/core/resources/containersource.yaml b/config/core/resources/containersource.yaml index 61b8b304e5c..874f77e8788 100644 --- a/config/core/resources/containersource.yaml +++ b/config/core/resources/containersource.yaml @@ -404,7 +404,7 @@ spec: - <<: *version name: v1beta1 served: true - storage: true + storage: false # the schema of v1beta1 is exactly the same as v1alpha2 schema schema: openAPIV3Schema: @@ -412,7 +412,7 @@ spec: - <<: *version name: v1 served: true - storage: false + storage: true # the schema of v1 is exactly the same as v1beta1 schema schema: openAPIV3Schema: diff --git a/config/post-install/clusterrole.yaml b/config/post-install/clusterrole.yaml index ee1f1d7e38e..ef707c92fe2 100644 --- a/config/post-install/clusterrole.yaml +++ b/config/post-install/clusterrole.yaml @@ -36,6 +36,7 @@ rules: - "sources.knative.dev" resources: - "apiserversources" + - "containersources" verbs: - "get" - "list" diff --git a/config/post-install/storage-version-migrator.yaml b/config/post-install/storage-version-migrator.yaml index cd94295d08f..8888a3005eb 100644 --- a/config/post-install/storage-version-migrator.yaml +++ b/config/post-install/storage-version-migrator.yaml @@ -38,3 +38,4 @@ spec: image: ko://knative.dev/eventing/vendor/knative.dev/pkg/apiextensions/storageversion/cmd/migrate args: - "apiserversources.sources.knative.dev" + - "containersources.sources.knative.dev"