update
diff --git a/charts/virtual-machine/templates/vm.yaml b/charts/virtual-machine/templates/vm.yaml
index 462f2c2..3a0a446 100644
--- a/charts/virtual-machine/templates/vm.yaml
+++ b/charts/virtual-machine/templates/vm.yaml
@@ -38,9 +38,6 @@
disk:
bus: virtio
readonly: true
- filesystems:
- - name: configs
- virtiofs: {}
networks:
- name: default
pod: {}
@@ -52,13 +49,5 @@
cloudInitNoCloud:
secretRef:
name: {{ .Values.name }}-user-data
- networkData: |
- version: 2
- ethernets:
- enp1s0:
- dhcp4: true
- {{- if .Values.configFiles }}
- - name: configs
- configMap:
- name: configs-{{ .Values.name }}
- {{- end }}
+ networkDataSecretRef:
+ name: {{ .Values.name }}-network-data