Skip to content

Commit 678da9f

Browse files
rimuszunguiculus
authored andcommitted
Fix kind example (#80)
Signed-off-by: rimas <[email protected]>
1 parent 0c74683 commit 678da9f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

examples/kind/.circleci/config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
CHART_TESTING_IMAGE: quay.io/helmpack/chart-testing
2727
CHART_TESTING_TAG: v2.1.0
2828
CHARTS_REPO: https://github.com/your_git_repo/charts
29-
K8S_VERSION: "v1.11.3"
29+
K8S_VERSION: "v1.12.3"
3030
steps:
3131
- checkout
3232
- run:

examples/kind/test/e2e-kind.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ readonly REPO_ROOT="${REPO_ROOT:-$(git rev-parse --show-toplevel)}"
88

99
run_kind() {
1010

11-
echo "Get kind binary..."
12-
docker run --rm -it -v "$(pwd)":/go/bin golang go get sigs.k8s.io/kind && chmod +x kind && sudo mv kind /usr/local/bin/
11+
echo "Download kind binary..."
12+
docker run --rm -it -v "$(pwd)":/go/bin golang go get sigs.k8s.io/kind && sudo mv kind /usr/local/bin/
1313

1414
echo "Download kubectl..."
1515
curl -Lo kubectl https://storage.googleapis.com/kubernetes-release/release/"${K8S_VERSION}"/bin/linux/amd64/kubectl && chmod +x kubectl && sudo mv kubectl /usr/local/bin/
@@ -73,7 +73,7 @@ main() {
7373
# Copy kubeconfig file
7474
docker exec "$config_container_id" mkdir /root/.kube
7575
docker cp "$KUBECONFIG" "$config_container_id:/root/.kube/config"
76-
# Update in kubeconfig localhost to kind container IP
76+
# Update in kubeconfig from localhost to kind container IP
7777
docker exec "$config_container_id" sed -i "s/localhost/$kind_container_ip/g" /root/.kube/config
7878

7979
echo "Add git remote k8s ${CHARTS_REPO}"

0 commit comments

Comments
 (0)