1 {{- if .Values.networks }}
3 apiVersion: infrastructure.cluster.x-k8s.io/v1alpha5
4 kind: Metal3DataTemplate
6 name: {{ .Values.clusterName }}-nodepool
8 clusterName: {{ .Values.clusterName }}
12 {{- range $name, $network := .Values.networks }}
15 fromHostInterface: {{ $network.interface }}
20 {{- range $name, $network := .Values.networks }}