Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix cleanup of ODHApplications #914

Merged

Conversation

VaishnaviHire
Copy link
Member

On upgrade, odhApplications do not get cleaned up and the operator pod throws following error

failed to find CR: %!w(*meta.NoKindMatchError=&{{dashboard.opendatahub.io odhapplications} [v1]})

Will include this in odh-2.9 release branch

Description

How Has This Been Tested?

Merge criteria:

  • The commits are squashed in a cohesive manner and have meaningful messages.
  • Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
  • The developer has manually tested the changes and verified that the changes work

@VaishnaviHire VaishnaviHire requested a review from zdtsw March 11, 2024 23:01
@openshift-ci openshift-ci bot requested review from gmfrasca and israel-hdez March 11, 2024 23:01
@VaishnaviHire VaishnaviHire force-pushed the fix_odhapplications_cleanup branch from de0774d to 2153f12 Compare March 11, 2024 23:36
Copy link

openshift-ci bot commented Mar 12, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: zdtsw

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:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@zdtsw
Copy link
Member

zdtsw commented Mar 12, 2024

/test opendatahub-operator-e2e

@zdtsw zdtsw enabled auto-merge (squash) March 12, 2024 08:39
@zdtsw zdtsw merged commit 79c5cb5 into opendatahub-io:incubation Mar 12, 2024
8 of 9 checks passed
zdtsw referenced this pull request in zdtsw-forking/rhods-operator Mar 12, 2024
zdtsw referenced this pull request in red-hat-data-services/rhods-operator Mar 12, 2024
* feat(cleanup): remove jupyterhub CR from previous release (#871)

* feat(cleanup): remove jupyterhub CR from previous release

Signed-off-by: Wen Zhou <wenzhou@redhat.com>

* fix: do not Exit if cleanup funciton failed

* Update pkg/upgrade/upgrade.go

Co-authored-by: Bartosz Majsak <bartosz.majsak@gmail.com>

---------

Signed-off-by: Wen Zhou <wenzhou@redhat.com>
Co-authored-by: Bartosz Majsak <bartosz.majsak@gmail.com>

* Fix cleanup of ODHApplications (#914)

* fix(sync): after revert webhook in downstream, need re-import packages

Signed-off-by: Wen Zhou <wenzhou@redhat.com>

---------

Signed-off-by: Wen Zhou <wenzhou@redhat.com>
Co-authored-by: Bartosz Majsak <bartosz.majsak@gmail.com>
Co-authored-by: Vaishnavi Hire <vhire@redhat.com>
@bartoszmajsak bartoszmajsak mentioned this pull request Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants