1
0
mirror of https://github.com/helm/chart-testing.git synced 2026-02-05 18:45:18 +01:00

fixes for kind config (#438)

Signed-off-by: Simon Harrison <simon.harrison@mediakind.com>

Co-authored-by: Simon Harrison <simon.harrison@mediakind.com>
This commit is contained in:
SimonHarrisonSH
2022-06-20 12:33:12 +01:00
committed by GitHub
parent e28e9e0965
commit 33f44740d7
2 changed files with 3 additions and 2 deletions

View File

@@ -41,7 +41,8 @@ create_kind_cluster() {
kind create cluster --name "$CLUSTER_NAME" --config test/kind-config.yaml --image "kindest/node:$K8S_VERSION" --wait 60s
echo 'Copying kubeconfig to container...'
docker cp /root/.kube/config ct:/root/.kube/config
docker_exec mkdir /root/.kube
docker cp /root/.kube/kind-config ct:/root/.kube/config
docker_exec kubectl cluster-info
echo

View File

@@ -1,5 +1,5 @@
kind: Cluster
apiVersion: kind.sigs.k8s.io/v1alpha3
apiVersion: kind.x-k8s.io/v1alpha4
nodes:
- role: control-plane
- role: worker