update
diff --git a/charts/virtual-machine/templates/service-code-server.yaml b/charts/virtual-machine/templates/service-code-server.yaml
new file mode 100644
index 0000000..cbc0cb6
--- /dev/null
+++ b/charts/virtual-machine/templates/service-code-server.yaml
@@ -0,0 +1,13 @@
+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/vm.yaml b/charts/virtual-machine/templates/vm.yaml
index 9a287cc..ba10015 100644
--- a/charts/virtual-machine/templates/vm.yaml
+++ b/charts/virtual-machine/templates/vm.yaml
@@ -11,6 +11,7 @@
creationTimestamp: null
labels:
kubevirt.io/domain: debian
+ app: {{ .Values.name }}
spec:
domain:
cpu: