knative / eventing

Event-driven application platform for Kubernetes
https://knative.dev/docs/eventing
Apache License 2.0
1.41k stars 588 forks source link

Skipping versions ? #3712

Closed matzew closed 4 years ago

matzew commented 4 years ago

Problem Users might be interested in skipping versions

Additional context (optional)

I installed 0.14.2:

Next I tried to jump straight to 0.16, by running:

followed by a install of eventing, like:

But that gave me:

Error from server (InternalError): error when applying patch:
{"metadata":{"annotations":{"kubectl.kubernetes.io/last-applied-configuration":"{\"apiVersion\":\"v1\",\"data\":{\"MaxIdleConnections\":\"1000\",\"MaxIdleConnectionsPerHost\":\"100\"},\"kind\":\"ConfigMap\",\"metadata\":{\"annotations\":{},\"labels\":{\"eventing.knative.dev/release\":\"v0.16.1\"},\"name\":\"config-imc-event-dispatcher\",\"namespace\":\"knative-eventing\"}}\n"},"labels":{"eventing.knative.dev/release":"v0.16.1"}}}
to:
Resource: "/v1, Resource=configmaps", GroupVersionKind: "/v1, Kind=ConfigMap"
Name: "config-imc-event-dispatcher", Namespace: "knative-eventing"
Object: &{map["apiVersion":"v1" "data":map["MaxIdleConnections":"1000" "MaxIdleConnectionsPerHost":"100"] "kind":"ConfigMap" "metadata":map["annotations":map["kubectl.kubernetes.io/last-applied-configuration":"{\"apiVersion\":\"v1\",\"data\":{\"MaxIdleConnections\":\"1000\",\"MaxIdleConnectionsPerHost\":\"100\"},\"kind\":\"ConfigMap\",\"metadata\":{\"annotations\":{},\"labels\":{\"eventing.knative.dev/release\":\"v0.14.2\"},\"name\":\"config-imc-event-dispatcher\",\"namespace\":\"knative-eventing\"}}\n"] "creationTimestamp":"2020-07-24T15:16:07Z" "labels":map["eventing.knative.dev/release":"v0.14.2"] "managedFields":[map["apiVersion":"v1" "fieldsType":"FieldsV1" "fieldsV1":map["f:data":map[".":map[] "f:MaxIdleConnections":map[] "f:MaxIdleConnectionsPerHost":map[]] "f:metadata":map["f:annotations":map[".":map[] "f:kubectl.kubernetes.io/last-applied-configuration":map[]] "f:labels":map[".":map[] "f:eventing.knative.dev/release":map[]]]] "manager":"kubectl" "operation":"Update" "time":"2020-07-24T15:16:07Z"]] "name":"config-imc-event-dispatcher" "namespace":"knative-eventing" "resourceVersion":"2493" "selfLink":"/api/v1/namespaces/knative-eventing/configmaps/config-imc-event-dispatcher" "uid":"8dbdcd8f-fa52-4847-8d28-3ea3284d5f1f"]]}
for: "https://github.com/knative/eventing/releases/download/v0.16.1/eventing.yaml": Internal error occurred: failed calling webhook "config.webhook.eventing.knative.dev": expected webhook response of admission.k8s.io/v1, Kind=AdmissionReview, got /, Kind=

Is this something we wanna support? Is there some more upgrade friendly approach needed, on 0.16 (e.g. for folks coming from 0.14.2)

n3wscott commented 4 years ago

Can't skip versions.

matzew commented 4 years ago

/close

knative-prow-robot commented 4 years ago

@matzew: Closing this issue.

In response to [this](https://github.com/knative/eventing/issues/3712#issuecomment-671912717): >/close Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.