Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

set port in .kube/config file to 6433 #81

Merged
merged 1 commit into from
Jan 14, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions examples/kind/test/e2e-kind.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ run_kind() {

install_tiller() {
# Install Tiller with RBAC
kubectl -n kube-system create sa tiller
kubectl -n kube-system create sa tiller
kubectl create clusterrolebinding tiller-cluster-rule --clusterrole=cluster-admin --serviceaccount=kube-system:tiller
docker exec "$config_container_id" helm init --service-account tiller
echo "Wait for Tiller to be up and ready..."
Expand Down Expand Up @@ -74,8 +74,8 @@ main() {
docker exec "$config_container_id" mkdir /root/.kube
docker cp "$KUBECONFIG" "$config_container_id:/root/.kube/config"
# Update in kubeconfig from localhost to kind container IP
docker exec "$config_container_id" sed -i "s/localhost/$kind_container_ip/g" /root/.kube/config
docker exec "$config_container_id" sed -i "s/localhost:.*/$kind_container_ip:6443/g" /root/.kube/config

echo "Add git remote k8s ${CHARTS_REPO}"
git remote add k8s "${CHARTS_REPO}" &> /dev/null || true
git fetch k8s master
Expand Down