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:
@@ -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
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
kind: Cluster
|
||||
apiVersion: kind.sigs.k8s.io/v1alpha3
|
||||
apiVersion: kind.x-k8s.io/v1alpha4
|
||||
nodes:
|
||||
- role: control-plane
|
||||
- role: worker
|
||||
|
||||
Reference in New Issue
Block a user