-
Notifications
You must be signed in to change notification settings - Fork 119
Implement .metadata.ownerReferences handling #140
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
Conversation
71a75be to
1e55aa9
Compare
|
Hi @jkroepke! Thank you for taking the first step and opening this PR :) It looks good so far and will certainly fix the reported errors. Thanks for adding docs and tests as well. I have to say, I am not sure whether globally en-/disabling this behavior is the best solution to this problem. I'd like to propose a different approach. I guess there are some edge cases where it might be desired to keep the What do you think about this approach? I can understand if you don't want to put in the additional work, I will take a look at this in the next few days then. |
|
Hi all, thats fine for me. I will switch from CLI flag to an annotations. That covers all cases. |
25224bf to
993cbc4
Compare
545ae6f to
e17574c
Compare
|
I'm using an annotation as toggle now. Newly tests are green. Please review. Thanks |
|
I hope, Is the current state in aligned with you. Do you know if you could find some time for this? |
|
Hey all; I've just been reading up on the discussion and the proposed change and am just going to throw in my 2 cents. From my understanding, the original suggestions by @jkmw and @hensur suggested that If I read the code correctly, the proposed change as it stands now does exactly the opposite of the suggested solution (suggested: "drop ownerReferences by default, keep if explicitly desired by anntation", actual: "keep ownerReferences by default, and only drop if explicitly desired"). |
a8dae34 to
7bdbf5c
Compare
|
Implemented, please review.
|
7bdbf5c to
d864000
Compare
hensur
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey! Sorry for my late response.
The change looks good so far! :) Just one small nitpick.
Co-authored-by: Henning <me@hensur.de>
|
Thank you for the contribution! I will try to respond faster next time :) This should be available soon as |
Fixes #120
Please advise me about common mistakes for golang. I do not have much experience into it.