kubernetes / client-go

Go client for Kubernetes.
Apache License 2.0
8.79k stars 2.91k forks source link

Getting kubernetes config out of source code #1216

Closed sergei-sh closed 1 year ago

sergei-sh commented 1 year ago

I've looked at the example of creating a deployment Now wondering is there a way to generate this unstructured.Unstructured object from a .yaml file ? Or otherwise have deployment config file separate from the source code ?