Use helm_apply and misc fixes
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
TOP="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"
|
||||
|
||||
namespace=kube-system
|
||||
|
||||
@@ -7,8 +8,13 @@ charts=(
|
||||
kube-proxy.yaml
|
||||
)
|
||||
|
||||
cd $TOP
|
||||
. ../config.sh
|
||||
|
||||
kubectl_apply_files $namespace "${charts[@]}"
|
||||
|
||||
export_vars
|
||||
|
||||
kubectl delete secret cluster-ca -n $namespace
|
||||
kubectl create secret tls cluster-ca \
|
||||
--namespace=$namespace --cert=$initca/ca.pem --key=$initca/ca-key.pem
|
||||
|
||||
Reference in New Issue
Block a user