-
Notifications
You must be signed in to change notification settings - Fork 466
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
orchestrator-kubernetes: Remove TODO about owner_references #29651
base: main
Are you sure you want to change the base?
Conversation
Hmm. I don't think "no owner references" is what the TODO intended. I assume the "correct" owner reference is the Also, the owner references here also don't really matter, because the VPC endpoints get created in the environment namespace, and everything inside that namespace gets deleted when the namespace gets deleted. I'm inclined to just delete the TODO and move on. @pH14 or @alex-hunt-materialize team would know better if there's some reason it's important to have an owner reference here, vs just relying on namespace deletion. |
For now, we should just leave it without owner references, and let the namespace deletion clean them up. Long-term, we want to move these outside the individual environment clusters, so they may persist for the lifetime of the EnvironmentAssignment, not of the Environment. That would allow us to soft-delete and restore, and to migrate across environment clusters without breaking their privatelink. |
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.
Great—@def- I think we can just eliminate the TODO and the commented out code entirely then.
dc6b917
to
ed39a9f
Compare
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.
Thank you!
I'm not sure if more has to be done to actually set the correct values. @pH14 @benesch Can you please check?
Follow-up to #29614
Checklist
$T ⇔ Proto$T
mapping (possibly in a backwards-incompatible way), then it is tagged with aT-proto
label.