fix cluster config
This commit is contained in:
parent
9659934063
commit
fdfe86a0d6
1 changed files with 8 additions and 11 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue