diff -tubr charts/gateway.orig/templates/service.yaml charts/gateway/templates/service.yaml
--- charts/gateway.orig/templates/service.yaml	2022-12-09 14:58:33.000000000 +0000
+++ charts/gateway/templates/service.yaml	2022-12-12 22:52:27.629670669 +0000
@@ -38,7 +38,14 @@
     port: 15017
     targetPort: 15017
 {{- else }}
-{{ .Values.service.ports | toYaml | indent 4 }}
+  {{- range $key, $val := .Values.service.ports }}
+  -
+    {{- range $pkey, $pval := $val }}
+    {{- if has $pkey (list "name" "nodePort" "port" "targetPort") }}
+    {{ $pkey}}: {{ $pval }}
+    {{- end }}
+    {{- end }}
+  {{- end }}
 {{- end }}
 {{- if .Values.service.externalIPs }}
   externalIPs: {{- range .Values.service.externalIPs }}
