jk
jk copied to clipboard
Add array addressing in parameters path implementation
It's possible to define a param as an object, for example:
ingress:
publicHosts:
- domain: foo.example.com
paths:
- path: /foo
service: foo.ns.svc
port: 80
- path: /bar
service: bar.ns.svc
port: 90
- domain: bar.example.com
paths:
- path: /foo
service: foo.ns.svc
port: 80
- path: /bar
service: bar.ns.svc
port: 90
Is it possible to override these params using the -p
option?
Unfortunately, the path implementation to address fields doesn't support arrays right now. You would like to type -p ingress.publicHosts[0].paths[2].port 8080
but can't.
Good catch, added as feature request!