update
diff --git a/charts/virtual-machine/templates/vm.yaml b/charts/virtual-machine/templates/vm.yaml
index 40c4a34..4b33864 100644
--- a/charts/virtual-machine/templates/vm.yaml
+++ b/charts/virtual-machine/templates/vm.yaml
@@ -20,6 +20,11 @@
limits:
memory: {{ .Values.memory }}
devices:
+ {{- if .Values.bashProfile }}
+ filesystems:
+ - name: bash-profile-fs
+ virtiofs: {}
+ {{- end }}
interfaces:
- name: default
# masquerade: {}
@@ -49,3 +54,8 @@
name: {{ .Values.name }}-user-data
networkDataSecretRef:
name: {{ .Values.name }}-network-data
+ {{- if .Values.bashProfile }}
+ - name: bash-profile-fs
+ secret:
+ secretName: {{ .Values.name}}-bash-profile
+ {{- end }}