only try helm template values.yaml if ci/*values.yaml does not exist
This commit is contained in:
@@ -147,8 +147,10 @@ function lint_chart(){
|
|||||||
echo "👣 Helm Lint - [$chart_path]"
|
echo "👣 Helm Lint - [$chart_path]"
|
||||||
helm_lint "$chart_path"
|
helm_lint "$chart_path"
|
||||||
|
|
||||||
echo "👣 Helm Template - [$chart_path]"
|
if [[ ! $(ls $chart_path/ci/*values.yaml) ]]; then
|
||||||
helm_template "$chart_path"
|
echo "👣 Helm Template - [$chart_path]"
|
||||||
|
helm_template "$chart_path"
|
||||||
|
fi
|
||||||
|
|
||||||
for values in $chart_path/ci/*values.yaml; do
|
for values in $chart_path/ci/*values.yaml; do
|
||||||
if [ -f "${values}" ]; then
|
if [ -f "${values}" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user