kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
name: chart-testing
nodes:
  - role: control-plane
    image: kindest/node:v1.30.2
    kubeadmConfigPatches:
      # To make sure that there is no taint for master node.
      # Otherwise additional worker node might be required for conformance testing.
      - |
        apiVersion: kubeadm.k8s.io/v1beta3
        kind: InitConfiguration
        nodeRegistration:
          taints: []
  - role: worker
    image: kindest/node:v1.30.2
  # Two extra nodes without Cilium to use for --external-ip and --external-other-ip.
  - role: worker
    image: kindest/node:v1.30.2
    labels:
      cilium.io/no-schedule: "true"
  - role: worker
    image: kindest/node:v1.30.2
    labels:
      cilium.io/no-schedule: "true"
networking:
  disableDefaultCNI: true
  podSubnet: "10.244.0.0/16"
  serviceSubnet: "10.245.0.0/16"
