c1244665 by Adam Heath

Add helm plugins before running helmfile.

1 parent 58a85832
......@@ -33,10 +33,19 @@ data:
check-mode: |
#!/bin/sh
set -ex
if [ $(cat /tmp/git-storage/repo-type) = $1 ]; then
wanted_type="$1"
if [ $(cat /tmp/git-storage/repo-type) = $wanted_type ]; then
shift
"$@"
/tmp/k8s-bootstrap-scripts/run-$wanted_type "$@"
fi
run-helmfile: |
#!/bin/sh
set -ex
helm plugin install https://github.com/mumoshu/helm-x
helm plugin install https://github.com/databus23/helm-diff
helm plugin install https://github.com/aslafy-z/helm-git.git
"$@"
---
apiVersion: batch/v1
kind: Job
......