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

Make uninstalling cert-manager SAFE: don't uninstal the CRDs #13

Merged

Conversation

inteon
Copy link
Member

@inteon inteon commented Jan 25, 2024

This PR modifies the uninstall command so it can be used to safely uninstall any cert-manager Helm chart without uninstalling the CRDs.
It does this by first updating the Helm release and adding the keep annotations to the CRDs, after which the uninstallation process continues.

@jetstack-bot jetstack-bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jan 25, 2024
@jetstack-bot
Copy link
Contributor

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@jetstack-bot jetstack-bot added dco-signoff: yes Indicates that all commits in the pull request have the valid DCO sign-off message. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Jan 25, 2024
@inteon inteon force-pushed the suppport_uninstalling_without_crds branch from c061d02 to c366f18 Compare January 29, 2024 13:33
@inteon inteon changed the title WIP: support uninstalling cert-manager without without uninstalling the CRDs Make uninstalling cert-manager SAFE: don't uninstal the CRDs Jan 29, 2024
@inteon inteon marked this pull request as ready for review January 29, 2024 13:33
@jetstack-bot jetstack-bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jan 29, 2024
@inteon inteon force-pushed the suppport_uninstalling_without_crds branch 2 times, most recently from 08a61d1 to 4e47223 Compare January 30, 2024 13:46
@jetstack-bot jetstack-bot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Feb 15, 2024
@inteon inteon force-pushed the suppport_uninstalling_without_crds branch from 4e47223 to 0ce0891 Compare February 15, 2024 08:37
@jetstack-bot jetstack-bot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Feb 15, 2024
@jetstack-bot jetstack-bot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Feb 27, 2024
@inteon inteon force-pushed the suppport_uninstalling_without_crds branch from 0ce0891 to e0eefb5 Compare February 28, 2024 08:38
@jetstack-bot jetstack-bot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Feb 28, 2024
@inteon inteon force-pushed the suppport_uninstalling_without_crds branch 2 times, most recently from 242852f to f79369c Compare March 4, 2024 14:59
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
@inteon inteon force-pushed the suppport_uninstalling_without_crds branch from f79369c to 96c908b Compare March 4, 2024 15:13
@ThatsMrTalbot
Copy link
Contributor

/lgtm

@jetstack-bot jetstack-bot added the lgtm Indicates that a PR is ready to be merged. label Mar 4, 2024
@inteon
Copy link
Member Author

inteon commented Mar 4, 2024

/approve

@jetstack-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: inteon

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

@jetstack-bot jetstack-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 4, 2024
@jetstack-bot jetstack-bot merged commit a77727e into cert-manager:main Mar 4, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. dco-signoff: yes Indicates that all commits in the pull request have the valid DCO sign-off message. lgtm Indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants