why not adopt some useful features in helm? #2371
Replies: 2 comments
-
|
I have a similar confusing as #1494 |
Beta Was this translation helpful? Give feedback.
-
|
Hi @zffocussss, Helm and gomplate are different tools, with different purposes. I disagree with your assertion that "the datasource is not useful for many users like me (a devops engineer)". Many people who do devops-type things use gomplate datasources successfully for their purposes. If you personally don't find datasources useful, that's fine. That being said, here's one way you can achieve what you're looking for: $ MYVAR='{"name":"bob"}' gomplate -c '.=env:///MYVAR?type=application/json' -i 'hello, {{ .name }}'
hello, bobIt's awkward, sure. But it seems to me to be a niche use-case. Read the gomplate docs for more details. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi team:
I used helm for my k8s resources management.there are some convenient options in helm.
For example,the below
in which cases,the key value pair can be passed into the yaml template.the datasource is not useful for many users like me(a devops engineer).because what we want to keep is to keep many templates,which some tools can render.
as helm can only render charts,which is not useful for the other non-helm release.
Can you please kindly consider these useful options from helm template?
for example
app.yaml
gomplate --set name=bob -f app.yaml
=>
hello,bob
Beta Was this translation helpful? Give feedback.
All reactions