diff --git a/make/install.sh b/make/install.sh index 6ee85c9b3..1cc2070d3 100755 --- a/make/install.sh +++ b/make/install.sh @@ -15,6 +15,8 @@ item=0 # notary is not enabled by default with_notary=$false +# clair is deprecated +with_clair=$false # trivy is not enabled by default with_trivy=$false # chartmuseum is not enabled by default @@ -27,6 +29,8 @@ while [ $# -gt 0 ]; do exit 0;; --with-notary) with_notary=true;; + --with-clair) + with_clair=true;; --with-trivy) with_trivy=true;; --with-chartmuseum) @@ -38,6 +42,12 @@ while [ $# -gt 0 ]; do shift || true done +if [ $with_clair ] +then + error "Clair is deprecated please remove it from installation arguments !!!" + exit 1 +fi + workdir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" cd $workdir