kudo
kudo copied to clipboard
Using non-string-typed parameters in templates is not documented
What happened:
A user referred to a parameter of type array by simply naming it between {{ }} but that did not work as expected, since Go templates simply stringified it in Golang format.
What you expected to happen:
There should be basic examples (or even just one) for using parameters of types other than string to get users started. Once that is established, we should explain that these are just regular Go templates and point to upstream docs for other more advanced features.
Anything else we need to know?:
I do think an example would go a long way. A dry link to a pile of upstream docs can be overwhelming to someone who is just trying to do this one little thing.
Environment:
- Kubernetes version (use
kubectl version): - Kudo version (use
kubectl kudo version): - Operator:
- operatorVersion:
- Cloud provider or hardware configuration:
- OS (e.g. from /etc/os-release):
- Kernel (e.g.
uname -a): - Install tools:
- Others: