-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Remove local-only resources at the last minute #4895
Conversation
This allows name references to them to be correctly resolved
I don't see any reason why the local base resources shouldn't be exposed to overlays. I think this makes sense. /lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: KnVerey, natasha41575 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 |
@KnVerey one side effect that we've now encountered is that a local-only |
I have the same issue with this a @wyattanderson. I am using replacements with a local-config confgiMapGenerator to differentiate blue/green deployments. |
We want to gather more information before making a decision on this change.
@wyattanderson please feel free to open your own issue on this regression. Are there any workarounds for your use case? For example, you can
|
This allows name references to local-only objects to be correctly resolved before the objects are removed from the set to be printed. The use case that made me think of this is the common Ingress situation from #4884, where there are several related values that are list items. If we can formally identify those values as names, then we can update them intelligently, even across multiple objects.
The side-effect is that local resources from a base will be exposed to overlays. Can you think of any reason that's undesirable? I was surprised it wasn't already the case, personally.