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(webhook): cleanup validatingconfig on openebs namespace deletion #248

Merged

Conversation

prateekpandey14
Copy link
Contributor

@prateekpandey14 prateekpandey14 commented Feb 11, 2021

cherrypick #246 #247

…penebs-archive#246)

from k8s 1.20+ onwards Cluster-scoped dependents can only specify
cluster-scoped owners. In v1.20+, if a cluster-scoped dependent
specifies a namespaced kind as an owner, it is treated as having
an unresolveable owner reference, and is not able to be garbage
collected.

In v1.20+, if the garbage collector detects an invalid cross-namespace
ownerReference, or a cluster-scoped dependent with an ownerReference
referencing a namespaced kind, a warning Event with a reason of
OwnerRefInvalidNamespace and an involvedObject of the invalid dependent
is reported. You can check for that kind of Event by running
kubectl get events -A --field-selector=reason=OwnerRefInvalidNamespace.

Signed-off-by: prateekpandey14 <prateek.pandey@mayadata.io>
…#247)

Signed-off-by: prateekpandey14 <prateek.pandey@mayadata.io>
@prateekpandey14 prateekpandey14 changed the base branch from master to v2.6.x February 11, 2021 07:51
@shubham14bajpai shubham14bajpai merged commit f1b8a49 into openebs-archive:v2.6.x Feb 11, 2021
@prateekpandey14 prateekpandey14 deleted the cherry-pick-246 branch February 16, 2021 08:30
@prateekpandey14 prateekpandey14 restored the cherry-pick-246 branch February 16, 2021 08:30
@prateekpandey14 prateekpandey14 deleted the cherry-pick-246 branch February 16, 2021 08:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants