TrueChartsClone/charts/ix-chart/2009.0.1/templates/external-interfaces.yaml.py

10 lines
239 B
Python

{{- range $index, $iface := .Values.externalInterfacesConfiguration }}
---
apiVersion: "k8s.cni.cncf.io/v1"
kind: NetworkAttachmentDefinition
metadata:
name: ix-{{ $.Release.Name }}-{{ $index }}
spec:
config: '{{ $iface }}'
{{- end }}