f81d19e692
This commit allows the kind cluster configuration to be parameterized at call time. This enables the test suite to build multiple clusters with different configurations, e.g. different CIDRs, different numbers of nodes, etc. Signed-off-by: Lucas Servén Marín <lserven@gmail.com>
11 lines
265 B
YAML
11 lines
265 B
YAML
kind: Cluster
|
|
apiVersion: kind.x-k8s.io/v1alpha4
|
|
nodes:
|
|
- role: control-plane$WORKERS
|
|
networking:
|
|
disableDefaultCNI: true # disable kindnet
|
|
apiServerAddress: 172.18.0.1
|
|
apiServerPort: $API_SERVER_PORT
|
|
podSubnet: $POD_SUBNET
|
|
serviceSubnet: $SERVICE_SUBNET
|