You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bases:
- common-helmfile.yaml
# defer the template rendering to happen only after the values are loaded.
---
releases:
- name: controller
values:
- values/controller-yaml
hooks:
{{ .Values.hooks }}`
common-helmfile.yaml
environments:
default:
values:
- values/common-values.yaml
common-values.yaml
key:value
I want to add dynamic hooks from file and I don't want to add it in the common-values.yaml
I tried to add another base but I need that two bases will be installed the default and the new one
bases:
- common-helmfile.yaml
- hooks-helmfile.yaml
# defer the template rendering to happen only after the values are loaded.
---
releases:
- name: controller
values:
- values/controller-yaml
hooks:
{{ .Values.hooks }}`
hooks-helmfile.yaml
environments:
default: / i tried also to change the name and to inject it with the helmfile and it didn't work
values:
- values/hooks-values.yaml
hooks.-values.yaml
c:d
helmfile --file ./helmfile/helmfile.yaml sync
I got an error
template: stringTemplate:22:10: executing "stringTemplate" at <.Values.hooks>: map has no entry for key "hooks"
I tried also to change the hooks
hooks:
values/hooks-values.yaml
and I got an error
line 22: cannot unmarshal !!str values/... into event.Hook
helmfile.yaml
I want to add dynamic hooks from file and I don't want to add it in the common-values.yaml
I tried to add another base but I need that two bases will be installed the default and the new one
helmfile --file ./helmfile/helmfile.yaml sync
I got an error
template: stringTemplate:22:10: executing "stringTemplate" at <.Values.hooks>: map has no entry for key "hooks"
I tried also to change the hooks
hooks:
and I got an error
line 22: cannot unmarshal !!str
values/...
into event.HookI tried also to change the base
and to add new file
test-helmfile.yaml
it is only working when I remove the common-helmfile.yaml and it didn't find the env.
The text was updated successfully, but these errors were encountered: