opendevstack / ods-pipeline

Alternative ODS CI/CD pipeline based on Tekton / OpenShift Pipelines
Apache License 2.0
13 stars 5 forks source link

`--reuse-values` causes diff rendering failure on initial install #744

Open michaelsauter opened 8 months ago

michaelsauter commented 8 months ago

When installing ODS Pipeline, the following is printed:

********************

        Release was not present in Helm.  Diff will show entire contents as new.

********************
Error: Failed to render chart: exit status 1

However, the actual installation is done properly as it should.

It seems that using --reuse-values when there is no release causes the error Failed to render chart. Without --reuse-values, the diff is printed as expected (showing everything as to be added).

The error should not be printed during installation in order to avoid confusion and allow users to visually inspect the manifest being installed.