knative / operator

Combined operator for Knative.
Apache License 2.0
181 stars 98 forks source link

Improve KnativeEventing finalization for TLS resources #1590

Closed pierDipi closed 10 months ago

pierDipi commented 10 months ago

For optional resources like cert-manager's Certificates and Issuers, we don't want to fail finalization when such operators are not installed, so during finalization, we split the resources in

Then, we delete resources first and after we delete optional resources while also ignoring errors returned when such operators are not instaled.

codecov[bot] commented 10 months ago

Codecov Report

All modified lines are covered by tests :white_check_mark:

Comparison is base (8412d98) 79.40% compared to head (6fd2b9c) 79.40%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1590 +/- ## ======================================= Coverage 79.40% 79.40% ======================================= Files 41 41 Lines 1845 1845 ======================================= Hits 1465 1465 Misses 277 277 Partials 103 103 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

pierDipi commented 10 months ago

/cherry-pick release-1.11

knative-prow-robot commented 10 months ago

@pierDipi: once the present PR merges, I will cherry-pick it on top of release-1.11 in a new PR and assign it to you.

In response to [this](https://github.com/knative/operator/pull/1590#issuecomment-1753228423): >/cherry-pick release-1.11 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.
knative-prow[bot] commented 10 months ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: creydr, pierDipi

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: - ~~[OWNERS](https://github.com/knative/operator/blob/main/OWNERS)~~ [creydr,pierDipi] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment
knative-prow-robot commented 10 months ago

@pierDipi: failed to push cherry-picked changes in GitHub: pushToNamedFork is not implemented in the v2 client

In response to [this](https://github.com/knative/operator/pull/1590#issuecomment-1753228423): >/cherry-pick release-1.11 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.
pierDipi commented 10 months ago

/cherry-pick release-1.11

knative-prow-robot commented 10 months ago

@pierDipi: failed to push cherry-picked changes in GitHub: pushToNamedFork is not implemented in the v2 client

In response to [this](https://github.com/knative/operator/pull/1590#issuecomment-1753266684): >/cherry-pick release-1.11 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.
pierDipi commented 10 months ago

Done manually https://github.com/knative/operator/pull/1591, bot is broken https://github.com/kubernetes/test-infra/issues/30937