diff --git a/charts/workflows/templates/workflow-templates/helm-check.yaml b/charts/workflows/templates/workflow-templates/helm-check.yaml index 41200c13..e5dea330 100644 --- a/charts/workflows/templates/workflow-templates/helm-check.yaml +++ b/charts/workflows/templates/workflow-templates/helm-check.yaml @@ -313,7 +313,7 @@ spec: echo "******************************" dir=${dir%*/} # removes trailing "/" echo "helm template ${dir}" - helm template "${dir}"/ > "/repository/templates/${dir}.yaml" + helm template "${dir}"/ > "/repository/templates/${dir}.yaml" || exit 1 done outputs: artifacts: @@ -342,7 +342,7 @@ spec: do echo "******************************" echo "helm testing ${file}" - cat "${file}" | kubeconform -strict -kubernetes-version {{ "{{ inputs.parameters.k8s-version }}" }} \ + cat "${file}" | /kubeconform -strict -kubernetes-version {{ "{{ inputs.parameters.k8s-version }}" }} \ -schema-location '../schemas/{{.Group}}/{{.ResourceKind}}_{{.ResourceAPIVersion}}.json' \ -schema-location default \ -schema-location 'https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/{{ .NormalizedKubernetesVersion }}/{{ .ResourceKind }}{{ .KindSuffix }}.json' \