1 {{- range $clusterName, $cluster := .Values.clusters }}
3 apiVersion: cluster.x-k8s.io/v1alpha4
7 cluster.x-k8s.io/cluster-name: {{ $clusterName }}
8 {{- toYaml $cluster.clusterLabels | nindent 4 }}
9 name: {{ $clusterName }}
14 - {{ $cluster.podCidr }}
19 apiVersion: controlplane.cluster.x-k8s.io/v1alpha4
20 kind: KubeadmControlPlane
21 name: {{ $clusterName }}
23 apiVersion: infrastructure.cluster.x-k8s.io/v1alpha5
25 name: {{ $clusterName }}