Files
library-charts/library/common/templates/spawner/_externalInterfaces.tpl
Kjeld Schouten-Lebbing 7c44ee5813 move around
2023-01-21 12:16:56 +01:00

12 lines
568 B
Smarty

{{- define "ix.v1.common.spawner.externalInterface" -}}
{{/* Validate that data from externalInterfaces are correct before start creating objects */}}
{{- range $iface := .Values.externalInterfaces -}}
{{- include "ix.v1.common.externalInterface" (dict "iface" $iface) -}}
{{- end -}}
{{/* Now we are sure data is validated, spawn the objects */}}
{{- range $index, $iface := .Values.ixExternalInterfacesConfiguration -}}
{{- include "ix.v1.common.class.externalInterface" (dict "iface" $iface "index" $index "root" $) -}}
{{- end -}}
{{- end -}}