Skip to content
This repository has been archived by the owner on Nov 9, 2022. It is now read-only.

Clean resources with DeletePropagationForeground #48

Merged
merged 1 commit into from
Apr 24, 2020

Conversation

timebertt
Copy link
Contributor

What this PR does / why we need it:
With this PR, grm cleans all resources with DeletePropagationForeground.
This way, it can also clean dependents of resources which are deleted with PropagationPolicy Orphan by default (e.g. batch/v1beta1.CronJob would orphan its Jobs otherwise).

Which issue(s) this PR fixes:
Fixes #

Special notes for your reviewer:

Release note:

`gardener-resource-manager` now deletes resources with `DeletePropagationForeground` to cascade the deletion to their dependents (e.g. to clean up `Job`s created by a `CronJob`).

@timebertt timebertt requested a review from a team as a code owner April 22, 2020 09:22
@gardener-robot-ci-1 gardener-robot-ci-1 added the reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) label Apr 22, 2020
@gardener-robot-ci-2 gardener-robot-ci-2 added needs/ok-to-test Needs approval for testing (check PR in detail before setting this label because PR is run on CI/CD) and removed reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) labels Apr 22, 2020
@timebertt timebertt merged commit 7f7158a into gardener-attic:master Apr 24, 2020
@timebertt timebertt deleted the enh/deletion-propagation branch April 24, 2020 07:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
needs/ok-to-test Needs approval for testing (check PR in detail before setting this label because PR is run on CI/CD)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants