mirror of https://github.com/linkerd/linkerd2.git
16 lines
598 B
Bash
Executable File
16 lines
598 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
# trap the last failed command
|
|
trap 'printf "Error on exit:\n Exit code: $?\n Failed command: \"$BASH_COMMAND\"\n"' ERR
|
|
|
|
bindir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
rootdir="$( cd $bindir/.. && pwd )"
|
|
|
|
$bindir/helm lint $rootdir/charts/partials
|
|
|
|
$bindir/helm dep up $rootdir/charts/linkerd2
|
|
$bindir/helm dep up $rootdir/charts/patch
|
|
$bindir/helm lint --set Identity.TrustAnchorsPEM="fake-trust" --set Identity.Issuer.TLS.CrtPEM="fake-cert" --set Identity.Issuer.TLS.KeyPEM="fake-key" --set Identity.Issuer.CrtExpiry="fake-expiry-date" $rootdir/charts/linkerd2
|