Current method of kubernetes configuration is in static scripts. These scripts are neither extensible nor reusable, requiring a lot of copy pasting to get specific configurations, or the application of a large number of config files. Possible solutions include tools such as kustomize and the docs are here
Either that or using the kubernetes python api to dynamically create files. There may exist tools for that already.
Current method of kubernetes configuration is in static scripts. These scripts are neither extensible nor reusable, requiring a lot of copy pasting to get specific configurations, or the application of a large number of config files. Possible solutions include tools such as kustomize and the docs are here
Either that or using the kubernetes python api to dynamically create files. There may exist tools for that already.