kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
name: {{{ clusterName }}}
nodes:
- role: control-plane
{{#controlPlaneImage}}
  image: {{{ controlPlaneImage }}}
{{/controlPlaneImage}}
  kubeadmConfigPatches:
  - |
    kind: InitConfiguration
    nodeRegistration:
      kubeletExtraArgs:
        node-labels: "ingress-ready=true"
  extraPortMappings:
  - containerPort: 80
    hostPort: {{{ httpHostPort }}}
    protocol: TCP
  - containerPort: 443
    hostPort: {{{ httpsHostPort }}}
    protocol: TCP
