Fix kube_apply_* and update deploy scripts

This commit is contained in:
Jonas Juselius
2020-11-06 10:17:11 +01:00
parent 073d447455
commit 88b4b7315e
14 changed files with 60 additions and 96 deletions

View File

@@ -5,15 +5,12 @@ namespace=kube-system
charts=()
. ../config.sh
kubectl_apply $namespace "${charts[@]}"
kubectl_apply_files $namespace "${charts[@]}"
helm template \
-n $namespace \
-f values.yaml \
metrics-server \
stable/metrics-server \
| make_substitutions \
| sed 's/8443/6443/g' \
| kubectl apply -f -
| kubectl_apply $namespace