Commit 17b5d051 authored by Cédric OLIVIER's avatar Cédric OLIVIER Committed by Pierre Smeyers
Browse files

fix: launch score on generated manifest file

parent b9b5209f
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -552,8 +552,11 @@ stages:
        exit 1
      fi

      # replace variables (alternative for envsubst which is not present in image)
      awkenvsubst < "$deploymentfile" > generated-deployment.yml

      # shellcheck disable=SC2086
      /usr/bin/kube-score score $K8S_SCORE_EXTRA_OPTS $deploymentfile
      /usr/bin/kube-score score $K8S_SCORE_EXTRA_OPTS generated-deployment.yml
    fi
  }