/kind bug
What happened:
ks param set command is not able to set array or map.
If there is space in last param, I get below error
$ ks param set test-v1 envs [{name: 'value1'},{name: 'value2'}]
ERROR 'param set' takes exactly three arguments, (1) the name of the component, in addition to (2) the key and (3) value of the parameter
I removed the space, and command success. However, envs value is set as string instead of array.
$ ks param set test-v1 envs [{name:'value1'},{name:'value2'}]
INFO Parameter 'envs' successfully set to '"[{name:value1},{name:value2}]"' for component 'test-v1'
$ vim components/params.libsonnet
{
global: {
},
components: {
'test-v1': {
envs: "[{name:value1},{name:value2}]",
},
},
}
Expecting:
env: [{name: ’value1’},{name: ‘value2’}]
Environment:
ks version
):RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4