Totally revamp cluster chart configs
This commit is contained in:
16
charts/kube-system/deploy.sh
Executable file
16
charts/kube-system/deploy.sh
Executable file
@@ -0,0 +1,16 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
namespace=kube-system
|
||||
|
||||
charts=(
|
||||
cluster-auth-rbac.yaml
|
||||
kube-proxy.yaml
|
||||
)
|
||||
|
||||
. ../config.sh
|
||||
|
||||
kubectl_apply $namespace "${charts[@]}"
|
||||
|
||||
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