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

Support non-namespaces creates #163

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mjudeikis
Copy link
Contributor

@mjudeikis mjudeikis commented Feb 7, 2025

Small changes to allow to send create action with non-namespaced objects.
pattern is copy paste from other objects.

@mjudeikis mjudeikis requested a review from a team as a code owner February 7, 2025 14:44
@mjudeikis mjudeikis changed the title feat: Support non-namespaces creates Support non-namespaces creates Feb 7, 2025
})

var resource dynamic.ResourceInterface = gvkResource
if newObj.GetNamespace() != "" {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please add unit tests to cover this?

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.

3 participants