-
Notifications
You must be signed in to change notification settings - Fork 607
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove messaging v1alpha1 #3275
Remove messaging v1alpha1 #3275
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: vaikas The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Produced via:
gofmt -s -w $(find -path './vendor' -prune -o -path './third_party' -prune -o -type f -name '*.go' -print)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Produced via:
gofmt -s -w $(find -path './vendor' -prune -o -path './third_party' -prune -o -type f -name '*.go' -print)
The following jobs failed:
Failed non-flaky tests preventing automatic retry of pull-knative-eventing-integration-tests:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Produced via:
gofmt -s -w $(find -path './vendor' -prune -o -path './third_party' -prune -o -type f -name '*.go' -print)
|
||
func WithChannelableReady() ChannelableOption { | ||
return func(c *v1alpha1.Channelable) { | ||
c.Status.Conditions = []apis.Condition{apis.Condition{Type: apis.ConditionReady, Status: corev1.ConditionTrue}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Format Go code:
c.Status.Conditions = []apis.Condition{apis.Condition{Type: apis.ConditionReady, Status: corev1.ConditionTrue}} | |
c.Status.Conditions = []apis.Condition{{Type: apis.ConditionReady, Status: corev1.ConditionTrue}} |
The following is the coverage report on the affected files.
|
Just to make sure I understand: We changed storage version of InMemoryChannel, Channel, and Subscription to v1beta1 in #3169 and released that in 0.15. So any cluster that previously upgraded to 0.15 won't have any objects stored in v1alpha1 anymore so this removal is safe (in terms of stored objects). Seems like we'll need to be clear in release notes that if the cluster is 0.14 or earlier and any of these objects exist, operators must run the 0.15 upgrade job before upgrading to 0.16. Is it also necessary to install 0.15 before running the upgrade job? The 0.15 release notes suggest as much: "Please run the storage migration tool after the upgrade" (emphasis mine). |
Yes, my understanding has been up to this point that we only support +1/-1 release upgrade/downgrade. |
/lgtm |
No change requested in this PR, just want to make sure we have a plan for documenting how to upgrade and what are the pitfalls. Seems like you've got it handled 👍 |
Fixes #
Proposed Changes
Release Note
Docs
knative/docs#2545