You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2020/02/24 13:17:49 UTC
[GitHub] [couchdb-helm] arnediekmann commented on issue #24: Use Chart
Testing v3
arnediekmann commented on issue #24: Use Chart Testing v3
URL: https://github.com/apache/couchdb-helm/pull/24#issuecomment-590315247
@willholley this PR alone does not work with kind `0.7.0`. I also had to change `kind get kubeconfig-path ...` to `kind get kubeconfig`:
```patch
From 3b9166768457c55f2a8f1334aa0c905a8cf851ce Mon Sep 17 00:00:00 2001
From: Arne Diekmann <ar...@neoskop.de>
Date: Mon, 24 Feb 2020 14:15:41 +0100
Subject: [PATCH] Migrate from kubeconfig-path to kubeconfig
---
test/e2e-kind.sh | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/test/e2e-kind.sh b/test/e2e-kind.sh
index 36b96ac..efcebd1 100755
--- a/test/e2e-kind.sh
+++ b/test/e2e-kind.sh
@@ -45,9 +45,10 @@ create_kind_cluster() {
docker_exec mkdir -p /root/.kube
echo 'Copying kubeconfig to container...'
- local kubeconfig
- kubeconfig="$(kind get kubeconfig-path --name "$CLUSTER_NAME")"
+ local kubeconfig=$(mktemp)
+ kind get kubeconfig --name "$CLUSTER_NAME" >"$kubeconfig"
docker cp "$kubeconfig" ct:/root/.kube/config
+ rm "$kubeconfig"
docker_exec kubectl cluster-info
echo
--
2.20.1
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services