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
There are some predefined variables in kluctl like versionwhich take precedence over user defined variables. Kluctl should inform you if you try to overwrite a predefined variable.
version is a reserved global variable. It's a leftover of an older feature that was deprecated some time ago. It's currently unclear if this variable will be re-introduced, so best thing for you is to use another name for now.
Let's keep this issue open and maybe rename it to "Properly warn about invalid overriding of predefined variables"?
Operating system
Arch linux
Kluctl Version
2.20.8
Kubernetes Version
v1.26.6
kubectl Version
v1.27.4
Bug description
There are some predefined variables in kluctl like
version
which take precedence over user defined variables. Kluctl should inform you if you try to overwrite a predefined variable.Consider this example:
deployment.yaml
vars/default.yaml
deploy/pg.yaml
version
is a predefined variable which you cannot overwrite. This leads into strange errors, for example this CRD Validation error:The text was updated successfully, but these errors were encountered: