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: Update delete.sh to support self-sign-certs #400

Merged
merged 1 commit into from
Sep 13, 2023

Conversation

Jooho
Copy link
Contributor

@Jooho Jooho commented Jul 10, 2023

Motivation

This fix #399

Modifications

Add a logic to check if there is a certificate object to generate for webhook or not. If not, it excludes cert-manager objects from manifests when it tries to delete modelmesh-serving objects

Result

delete.sh always works to delete modelmesh-serving objects.

@kserve-oss-bot kserve-oss-bot requested review from ckadner and njhill July 10, 2023 16:16
Copy link
Member

@ckadner ckadner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks @Jooho -- just a small nit-pick

scripts/delete.sh Show resolved Hide resolved
@rafvasq rafvasq changed the title update delete.sh to support self-sign-certs fix: Update delete.sh to support self-sign-certs Jul 31, 2023
@Jooho Jooho force-pushed the fix_delete_script branch 2 times, most recently from f6a615c to e75d39c Compare August 29, 2023 21:19
Copy link
Member

@ckadner ckadner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@kserve-oss-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: ckadner, Jooho
To complete the pull request process, please assign tjohnson31415 after the PR has been reviewed.
You can assign the PR to them by writing /assign @tjohnson31415 in a comment when ready.

The full list of commands accepted by this bot can be found 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

@kserve-oss-bot
Copy link
Collaborator

New changes are detected. LGTM label has been removed.

@ckadner ckadner added the lgtm label Sep 13, 2023
@ckadner ckadner merged commit b1116f6 into kserve:main Sep 13, 2023
5 checks passed
@ckadner ckadner removed the request for review from njhill October 2, 2023 22:43
@ckadner ckadner assigned Jooho and unassigned ckadner Oct 2, 2023
@ckadner ckadner added this to the v0.11.1 milestone Oct 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

delete.sh failed to cleanup
3 participants