update
diff --git a/charts/virtual-machine/templates/vm.yaml b/charts/virtual-machine/templates/vm.yaml
index 40c4a34..eb01a0a 100644
--- a/charts/virtual-machine/templates/vm.yaml
+++ b/charts/virtual-machine/templates/vm.yaml
@@ -25,9 +25,11 @@
               # masquerade: {}
               bridge: {}
               ports:
-                {{- range .Values.ports }}
-                - port: {{ . }}
-                {{- end }}
+              {{- range .Values.ports }}
+              - name: {{ .name }}
+                containerPort: {{ .value }}
+                protocol: {{ .protocol }}
+              {{- end }}
           disks:
             - name: disk0
               disk: