Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions config/core/resources/containersource.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -404,15 +404,15 @@ spec:
- <<: *version
name: v1beta1
served: true
storage: true
storage: false
# the schema of v1beta1 is exactly the same as v1alpha2 schema
schema:
openAPIV3Schema:
<<: *openAPIV3Schema
- <<: *version
name: v1
served: true
storage: false
storage: true
# the schema of v1 is exactly the same as v1beta1 schema
schema:
openAPIV3Schema:
Expand Down
1 change: 1 addition & 0 deletions config/post-install/clusterrole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ rules:
- "sources.knative.dev"
resources:
- "apiserversources"
- "containersources"
verbs:
- "get"
- "list"
Expand Down
1 change: 1 addition & 0 deletions config/post-install/storage-version-migrator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

About your attention in the PR, with this post install job, when using the operator this version migration will work, right?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes.

/cc @houshengbo