mirror of
https://github.com/fluxcd/flagger.git
synced 2026-04-15 06:57:34 +00:00
26 lines
887 B
Bash
Executable File
26 lines
887 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -o errexit
|
|
|
|
REPO_ROOT=$(git rev-parse --show-toplevel)
|
|
export KUBECONFIG="$(kind get kubeconfig-path --name="kind")"
|
|
|
|
echo ">>> Installing Helm"
|
|
curl https://raw.githubusercontent.com/kubernetes/helm/master/scripts/get | bash
|
|
|
|
echo '>>> Installing Tiller'
|
|
kubectl --namespace kube-system create sa tiller
|
|
kubectl create clusterrolebinding tiller-cluster-rule --clusterrole=cluster-admin --serviceaccount=kube-system:tiller
|
|
helm init --service-account tiller --upgrade --wait
|
|
helm repo add gloo https://storage.googleapis.com/solo-public-helm
|
|
|
|
echo '>>> Installing Gloo'
|
|
helm upgrade -i gloo gloo/gloo --version 0.13.29 \
|
|
--wait \
|
|
--namespace gloo-system \
|
|
--set gatewayProxies.gateway-proxy.service.type=NodePort
|
|
|
|
kubectl -n gloo-system rollout status deployment/gloo
|
|
kubectl -n gloo-system rollout status deployment/gateway-proxy
|
|
kubectl -n gloo-system get all
|