-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
how to submit a yaml like kubectl create -f file.yaml ? #3336
Comments
This is not currently possible. You would need to modify the To load unstructured YAML and then pick out the API group/version/kind and then use the To determine the right strongly typed object, and then use Then you would need to pass that object to a So it's possible, but it will require you to write a bunch of code. If you do, do that, feel free to send a PR. |
hey @brendandburns, i had a question. So, do we need a feature that can differentiate between kinds without explicitly mentioning kinds in the yaml file. |
Is there a method to submit YAML resources of any type to Kubernetes ?
What I mean is not having to differentiate between Kind types.
The text was updated successfully, but these errors were encountered: