zlabjp / kubernetes-resource

[DEPLICATED] This repository is no longer actively maintained.
MIT License
91 stars 42 forks source link

Allow parameters like namespace to be passed from a file #80

Open mattdodge opened 5 years ago

mattdodge commented 5 years ago

I think it would be a good idea to allow certain parameters (e.g., namespace, context) to be specified dynamically via an input file. Propose adding optional parameters like namespace_file that, if provided, would set the namespace variable to the contents of that file.

This would allow for environments where namespaces aren't fixed and are more dynamic. For example, deploying a branch or PR to its own namespace for testing.