helm-cronjobs icon indicating copy to clipboard operation
helm-cronjobs copied to clipboard

An error occurs when deploying this chart

Open vldanch opened this issue 1 year ago • 0 comments

Run command on gitlab runner:

$ helm upgrade --install "${COMPONENT}" chartmuseum/helm-cronjobs --version "${API_BACKEND_CHART_VERSION}" --namespace "${CI_K8S_NAMESPACE}" --values ./deploy/${VALUES}.yaml --wait --timeout "${HELM_TIMEOUT}"

When deploying to a dev environment in k8s, an error occurs:

coalesce.go:175: warning: skipped value for helm-cronjobs.jobs: Not a table.
Error: UPGRADE FAILED: template: helm-cronjobs/templates/serviceaccount.yaml:6:21: executing "helm-cronjobs/templates/serviceaccount.yaml" at <$job>: wrong type for value; expected map[string]interface {}; got string

How can this error be fixed?

vldanch avatar May 31 '23 07:05 vldanch