Use helm_apply and misc fixes
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user