-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Add utility method to easily create a named/namespaced empty copy of a given resource #6012
Milestone
Comments
11 tasks
metacosm
added a commit
that referenced
this issue
May 16, 2024
metacosm
added a commit
that referenced
this issue
May 16, 2024
metacosm
added a commit
that referenced
this issue
May 17, 2024
metacosm
added a commit
that referenced
this issue
May 17, 2024
metacosm
added a commit
that referenced
this issue
May 22, 2024
metacosm
added a commit
that referenced
this issue
May 23, 2024
metacosm
added a commit
that referenced
this issue
May 23, 2024
metacosm
added a commit
that referenced
this issue
May 23, 2024
metacosm
added a commit
that referenced
this issue
May 23, 2024
manusa
pushed a commit
that referenced
this issue
May 28, 2024
feat: add factory methods to help with SSA Fixes #6012 --- chore: don't use wildcard imports Signed-off-by: Marc Nuri <marc@marcnuri.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your enhancement related to a problem? Please describe
When using Server-Side Apply, it is often required to send only the modified state instead of the full resource. This requires creating copies of resources with only the desired fields set. While this is perfectly doable now, having a utility method to remove some of the boiler plate of creating such a new instance (i.e. instantiation and metadata creation + setting) would be helpful.
Describe the solution you'd like
New
HasMetadata
factory methods to perform such operations.Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: