Capture creation of cluster into Helm chart
[icn.git] / deploy / clusters / templates / metal3cluster.yaml
1 {{- range $clusterName, $cluster := .Values.clusters }}
2 ---
3 apiVersion: infrastructure.cluster.x-k8s.io/v1alpha5
4 kind: Metal3Cluster
5 metadata:
6   name: {{ $clusterName }}
7 spec:
8   controlPlaneEndpoint:
9     host: {{ $cluster.controlPlaneEndpoint }}
10     port: 6443
11   noCloudProvider: true
12 {{- end }}