when trying to update an existing helm chart release of kedify agent in version v0.5.0
by running:
helm upgrade --install kedify-agent kedifykeda/kedify-agent --version v0.7.1 \
--namespace keda \
--reuse-values
i got:
Error: UPGRADE FAILED: template: kedify-agent/templates/cr-install/cr.yaml:20:3: executing "kedify-agent/templates/cr-install/cr.yaml" at <tpl ($.Files.Get "files/crs/default-kedifyconfig.yaml") $>: error calling tpl: error during tpl function execution for "apiVersion: install.kedify.io/v1alpha1\nkind: KedifyConfiguration\nmetadata:\n name: kedify\n namespace: {{ .Release.Namespace }}\nspec:\n clusterName: {{ .Values.clusterName }}\n {{- if .Values.agent.cloudAccountID }}\n cloudAccountID: \"{{ .Values.agent.cloudAccountID }}\"\n {{- end }}\n kedaInstallations:\n - name: {{ .Release.Namespace }}\n namespace: {{ .Release.Namespace }}\n {{- if eq (include \"kedify-agent.featureEnabled\" (list . \"multitenantKEDAEnabled\")) \"true\" }}\n multitenancy: {}\n {{- end }}\n{{ toYaml .Values.agent.kedifyConfiguration | indent 4 }}\n": template: gotpl:14:15: executing "gotpl" at <include "kedify-agent.featureEnabled" (list . "multitenantKEDAEnabled")>: error calling include: template: kedify-agent/templates/_helpers.tpl:68:46: executing "kedify-agent.featureEnabled" at <$context.Values.global.features>: nil pointer evaluating interface {}.features
when trying to update an existing helm chart release of kedify agent in version
v0.5.0by running:
i got: