c1244665 by Adam Heath

Add helm plugins before running helmfile.

1 parent 58a85832
...@@ -33,10 +33,19 @@ data: ...@@ -33,10 +33,19 @@ data:
33 check-mode: | 33 check-mode: |
34 #!/bin/sh 34 #!/bin/sh
35 set -ex 35 set -ex
36 if [ $(cat /tmp/git-storage/repo-type) = $1 ]; then 36 wanted_type="$1"
37 if [ $(cat /tmp/git-storage/repo-type) = $wanted_type ]; then
37 shift 38 shift
38 "$@" 39 /tmp/k8s-bootstrap-scripts/run-$wanted_type "$@"
39 fi 40 fi
41 run-helmfile: |
42 #!/bin/sh
43 set -ex
44 helm plugin install https://github.com/mumoshu/helm-x
45 helm plugin install https://github.com/databus23/helm-diff
46 helm plugin install https://github.com/aslafy-z/helm-git.git
47 "$@"
48
40 --- 49 ---
41 apiVersion: batch/v1 50 apiVersion: batch/v1
42 kind: Job 51 kind: Job
......