Skip to content

Commit

Permalink
Update dev-env script
Browse files Browse the repository at this point in the history
Signed-off-by: Furkat Gofurov <furkat.gofurov@suse.com>
  • Loading branch information
furkatgofurov7 committed Apr 8, 2024
1 parent 4860f2a commit 42470c3
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions scripts/turtles-dev.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,14 @@ if [ -z "$RANCHER_HOSTNAME" ]; then
exit 1
fi

RANCHER_VERSION=${RANCHER_VERSION:-v2.8.1}
RANCHER_VERSION=${RANCHER_VERSION:-v2.8.2}

BASEDIR=$(dirname "$0")

kind create cluster --config "$BASEDIR/kind-cluster-with-extramounts.yaml"

kubectl rollout status deployment coredns -n kube-system --timeout=90s

helm repo add jetstack https://charts.jetstack.io
helm repo add rancher-stable https://releases.rancher.com/server-charts/stable
helm repo add capi-operator https://kubernetes-sigs.github.io/cluster-api-operator
helm repo update
Expand All @@ -38,13 +37,13 @@ export CLUSTER_TOPOLOGY=true

helm install capi-operator capi-operator/cluster-api-operator \
--create-namespace -n capi-operator-system \
--set infrastructure=docker:v1.4.6 \
--set core=cluster-api:v1.4.6 \
--set cert-manager.enabled=true \
--wait
--timeout 90s --wait

kubectl rollout status deployment capi-operator-cluster-api-operator -n capi-operator-system --timeout=180s

clusterctl init -i docker

helm install rancher rancher-stable/rancher \
--namespace cattle-system \
--create-namespace \
Expand Down

0 comments on commit 42470c3

Please sign in to comment.