update
diff --git a/charts/virtual-machine/templates/service-code-server.yaml b/charts/virtual-machine/templates/service-code-server.yaml
deleted file mode 100644
index 3be8855..0000000
--- a/charts/virtual-machine/templates/service-code-server.yaml
+++ /dev/null
@@ -1,14 +0,0 @@
-# TODO(gio): enable
-# apiVersion: v1
-# kind: Service
-# metadata:
-# name: {{ .Values.name }}-code-server
-# spec:
-# type: ClusterIP
-# selector:
-# app: {{ .Values.name }}
-# ports:
-# - name: http
-# port: 80
-# targetPort: 8080 # TODO(gio): add to values.yaml
-# protocol: TCP
diff --git a/charts/virtual-machine/templates/service.yaml b/charts/virtual-machine/templates/service.yaml
new file mode 100644
index 0000000..b79b385
--- /dev/null
+++ b/charts/virtual-machine/templates/service.yaml
@@ -0,0 +1,10 @@
+apiVersion: v1
+kind: Service
+metadata:
+ name: {{ .Values.name }}
+spec:
+ type: ClusterIP
+ selector:
+ app: {{ .Values.name }}
+ ports:
+ {{- toYaml .Values.servicePorts | nindent 4 }}
diff --git a/charts/virtual-machine/values.yaml b/charts/virtual-machine/values.yaml
index 0fa23e2..d5e6bbf 100644
--- a/charts/virtual-machine/values.yaml
+++ b/charts/virtual-machine/values.yaml
@@ -8,3 +8,4 @@
cloudInit:
userData: {}
networkData: {}
+ports: []