Repository navigation
[SRVKS-701] Use upstream operator to install Kourier - #935
Conversation
|
/hold To wait for 1.15 cut |
|
|
||
| # Apply patches | ||
|
|
||
| # TODO(markusthoemmes): Drop these in 1.17. |
There was a problem hiding this comment.
The patches are part of the upstream code on that release.
There was a problem hiding this comment.
Just initiated the necessary backports to 0.22 though, so we can prolly ditch these before merging this.
|
|
||
| func (e *extension) Finalize(context.Context, v1alpha1.KComponent) error { | ||
| func (e *extension) Finalize(ctx context.Context, ks v1alpha1.KComponent) error { | ||
| // Delete the ingress namespaces (manifestival doesn't delete namespaces) |
There was a problem hiding this comment.
From what I read it can be done if it is created by itself.
There was a problem hiding this comment.
Interesting, I'm going to doublecheck the behavior there then.
There was a problem hiding this comment.
Dug into a rabbit hole and figured out what was wrong. Tl;dr: We need the manual delete anyway because there is a bug in manifestival. See the new comment.
| +++ b/vendor/knative.dev/operator/pkg/reconciler/knativeserving/ingress/kourier.go | ||
| @@ -38,13 +38,13 @@ var kourierFilter = ingressFilter("kourier") | ||
|
|
||
| func kourierTransformers(ctx context.Context, instance *v1alpha1.KnativeServing) []mf.Transformer { |
There was a problem hiding this comment.
I think patching here could be avoided if we move extension transformers at the very end here (initially goal was not to change knative manifests only add platform specific).
There was a problem hiding this comment.
As mentioned above, this is part of the upstream code in the respective release.
|
LGTM! Then 3scale-kourier-gateway deployment did not spin up and knative-operator pod did not print any logs. |
|
@nak3 yeah agree, this is basically then part of https://issues.redhat.com/browse/SRVKS-461. Though maybe we can do something for this specific case quite easily. |
|
/lgtm |
|
/lgtm |
|
/lgtm upgrade test is broken due to another reason. |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: markusthoemmes, nak3 The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/retest |
|
/unhold YAAAY! |
As per title :)
This contains 2 small patches to the upstream operator's codebase which have meanwhile made it onto upstream's main, so they'll be part of the 0.23 release.