From fdfe86a0d6950f8cce2bfc28efd165196f0c72cd Mon Sep 17 00:00:00 2001 From: Michael Kriese Date: Wed, 22 Mar 2023 10:08:53 +0100 Subject: [PATCH] fix cluster config --- e2e/kind.cluster.yml | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/e2e/kind.cluster.yml b/e2e/kind.cluster.yml index 456fbe2..c7c4b02 100644 --- a/e2e/kind.cluster.yml +++ b/e2e/kind.cluster.yml @@ -1,20 +1,17 @@ -# based on https://github.com/kind-ci/examples/blob/master/.gitlab-ci.yml +# based on https://github.com/kind-ci/examples apiVersion: kind.x-k8s.io/v1alpha4 kind: Cluster name: chart-testing networking: apiServerAddress: '0.0.0.0' -# add to the apiServer certSANs the name of the docker (dind) service in order to be able to reach the cluster through it -kubeadmConfigPatchesJSON6902: - - group: kubeadm.k8s.io - version: v1beta2 - kind: ClusterConfiguration - patch: | - - op: add - path: /apiServer/certSANs/- - value: docker - nodes: + # add to the apiServer certSANs the name of the drone service in order to be able to reach the cluster through it - role: control-plane + kubeadmConfigPatches: + - | + kind: ClusterConfiguration + apiServer: + certSANs: + - docker - role: worker