Allow templating of st2.packs.configs in values.yaml#397
Allow templating of st2.packs.configs in values.yaml#397jk464 wants to merge 1 commit intoStackStorm:masterfrom
Conversation
|
Fascinating. Do you have any examples of how you would use this? |
|
Would you look at adding some unit tests for You can look at the other files under tests/unit/ to see how we've tested other features. The tests will be a good way to show examples of how making the configs templatable could be used. In particular I want to make sure something with a more complex template (maybe a range loop?) will render and get indented correctly. I wonder if we'll need to loop over each entry in |
9f4b1bc to
5acc4c4
Compare
I can take a stab at it - but could we get #417 reviewed and merged first so I don't have to write the tests twice ;) |
As it says on the tin.
Allows the use of go templating in the
st2.packs.configsvalue when creating the Configs ConfigMap