Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Complex values are supported only in config file but not on CLI #1

Open
den-is opened this issue May 26, 2020 · 0 comments
Open

Complex values are supported only in config file but not on CLI #1

den-is opened this issue May 26, 2020 · 0 comments

Comments

@den-is
Copy link
Owner

den-is commented May 26, 2020

For now, ktempl supports complex values declaration only via config file provided via -c, --config, config.yaml in the same dir with ktempl or /etc/ktempl/config.yaml

Complex values are:

# maps
mymap:
  color: red
  active: true

# lists
mylist:
- one
- two
- 3

It should be allowed to pass complex values using --set and dot-notation like it is done in helm

Probably for that to work it will be required to review each user-passed --set argument.
Then try and parse it into map[string]interface{} and then merge into values from the config file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant