Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[release-1.1] SubscriptionSpec.Delivery is now mutable (#6258)
* Make SubscriptionSpec.Delivery mutable Just by creating a subscription in v0.24 and upgrading the cluster to 0.26, the webhook starts throwing errors like this: ``` admission webhook "validation.webhook.eventing.knative.dev" denied the request: validation failed: Immutable fields changed (-old +new): spec {v1.SubscriptionSpec}.Delivery.DeadLetterSink.Ref.Namespace: -: "" +: "kc-broker-v1-dlq" ``` In addition, Subscription.Spec.Delivery wasn't meant to be immutable, in fact, TriggerSpec.Spec.Delivery is mutable. Signed-off-by: Pierangelo Di Pilato <[email protected]> * Update subscription_validation_test.go * code style Co-authored-by: Pierangelo Di Pilato <[email protected]> Co-authored-by: Pierangelo Di Pilato <[email protected]>
- Loading branch information