[EVENTING] Subscription does not give changing delivery options

Skip to first unread message

Andrey Stelmashenko

Mar 15, 2022, 1:11:47 PMMar 15
to Knative Users
We are applying knative resources as helm releases. Today I received these changes:
name: "model-state"
+ delivery:
+ backoffDelay: PT3S
+ backoffPolicy: exponential
+ retry: 3

And received this error:
Error: UPGRADE FAILED: release model-state-subscription failed, and has been rolled back due to atomic being set: cannot patch "model-state" with kind Subscription: admission webhook "validation.webhook.eventing.knative.dev" denied the request: validation failed: Immutable fields changed (-old +new): spec
-: "<nil>"
+: "&{DeadLetterSink:<nil> Retry:0xc0019a2d9c Timeout:<nil> BackoffPolicy:0xc001789d90 BackoffDelay:0xc001789d80}"

How is it possible to change delivery options? Delete and create subscription again?

Pierangelo Di Pilato

Mar 15, 2022, 1:44:36 PMMar 15
to Andrey Stelmashenko, Knative Users
Hi Andrey,

which version are you using? are you using the latest patch release
available [1]?

The fix is available in 1.3.1, 1.1.3, 1.0.4.
There is an issue with the 1.2 automation, so for 1.2, there is no fix yet.

[1]: https://github.com/knative/eventing/releases

> --
> You received this message because you are subscribed to the Google Groups "Knative Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to knative-user...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/knative-users/2086252c-13c0-4c21-a6d7-36e6cd478f24n%40googlegroups.com.


Pierangelo Di Pilato
Software Engineer
Red Hat, Inc

Andrey Stelmashenko

Mar 16, 2022, 4:59:42 AMMar 16
to Knative Users
Thank you. We are still on v0.24.0, need time to evaluate how safe (breaking changes, need of redeploying services, etc.) it is to update.
Reply all
Reply to author
0 new messages