Skip to content

Commit

Permalink
remove unnecessary setup (#1880)
Browse files Browse the repository at this point in the history
  • Loading branch information
cofyc authored Mar 9, 2020
1 parent a8e8786 commit 7088148
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions hack/kind-cluster-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -238,15 +238,8 @@ echo "init tidb-operator env"
$KUBECTL_BIN apply -f ${ROOT}/manifests/local-dind/local-volume-provisioner.yaml
$KUBECTL_BIN apply -f ${ROOT}/manifests/tiller-rbac.yaml
$KUBECTL_BIN apply -f ${ROOT}/manifests/crd.yaml
$KUBECTL_BIN create ns tidb-operator-e2e
$HELM_BIN init --service-account=tiller --wait

# This is required because current tidb-operator-e2e use a DIND-only image `mirantis/hypokube:final`
# FIXME: remove this
docker pull gcr.io/google-containers/kube-scheduler:${k8sVersion}
docker tag gcr.io/google-containers/kube-scheduler:${k8sVersion} mirantis/hypokube:final
$KIND_BIN load docker-image --name=${clusterName} mirantis/hypokube:final

echo "############# success create cluster:[${clusterName}] #############"

echo "To start using your cluster, run:"
Expand Down

0 comments on commit 7088148

Please sign in to comment.