Use helm_apply and misc fixes

This commit is contained in:
Jonas Juselius
2020-11-06 15:46:25 +01:00
parent 5caf819d77
commit 36b75b56fc
13 changed files with 67 additions and 58 deletions

View File

@@ -1,16 +1,15 @@
#!/usr/bin/env bash
TOP="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"
namespace=kube-system
charts=()
cd $TOP
. ../config.sh
kubectl_apply_files $namespace "${charts[@]}"
helm template \
-n $namespace \
-f values.yaml \
nfs-client-provisioner \
stable/nfs-client-provisioner \
| kubectl_apply $namespace
helm_apply $namespace nfs-client-provisioner stable/nfs-client-provisioner