Totally revamp cluster chart configs
This commit is contained in:
17
charts/kubernetes-dashboard/deploy.sh
Executable file
17
charts/kubernetes-dashboard/deploy.sh
Executable file
@@ -0,0 +1,17 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
version="v2.0.4"
|
||||
namespace=kubernetes-dashboard
|
||||
|
||||
charts=(
|
||||
dashboard-ingress.yaml
|
||||
)
|
||||
|
||||
. ../config.sh
|
||||
|
||||
kubectl create ns $namespace
|
||||
kubectl_apply $namespace "${charts[@]}"
|
||||
kubectl apply \
|
||||
-n $namespace \
|
||||
-f https://raw.githubusercontent.com/kubernetes/dashboard/$version/aio/deploy/recommended.yaml
|
||||
|
||||
Reference in New Issue
Block a user