diff --git a/library/common/1.0.0/templates/class/_service.tpl b/library/common/1.0.0/templates/class/_service.tpl index 5ba567d0b6..a0175c896f 100644 --- a/library/common/1.0.0/templates/class/_service.tpl +++ b/library/common/1.0.0/templates/class/_service.tpl @@ -11,7 +11,7 @@ {{- end -}} {{- $svcType := $svcValues.type | default "ClusterIP" -}} - {{- $primaryPort := get $svcValues.port (include "ix.v1.common.lib.util.service.ports.primary" (dict "values" $svcValues)) -}} + {{- $primaryPort := get $svcValues.ports (include "ix.v1.common.lib.util.service.ports.primary" (dict "values" $svcValues)) -}} --- apiVersion: {{ include "ix.v1.common.capabilities.service.apiVersion" $root }}