From 4aa5401dde1e72d8d4469a1c9b4db374cffc46d1 Mon Sep 17 00:00:00 2001 From: trafalgarzzz Date: Wed, 8 May 2024 11:37:36 +0800 Subject: [PATCH] bugfix: fix runtime.json is not changed bug Signed-off-by: trafalgarzzz --- charts/thin/templates/fuse/daemonset.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/charts/thin/templates/fuse/daemonset.yaml b/charts/thin/templates/fuse/daemonset.yaml index a2aa106463b..cba5229d757 100644 --- a/charts/thin/templates/fuse/daemonset.yaml +++ b/charts/thin/templates/fuse/daemonset.yaml @@ -110,8 +110,7 @@ spec: - mountPath: /etc/fluid/config name: thin-conf readOnly: true - - mountPath: /etc/fluid/runtime.json - subPath: runtime.json + - mountPath: /etc/fluid/runtime name: runtime readOnly: true {{- if .Values.fuse.cacheDir }} @@ -150,6 +149,9 @@ spec: - name: runtime configMap: name: {{ template "thin.fullname" . }}-runtimeset + items: + - key: runtime.json + path: runtime.json defaultMode: 0444 {{- if .Values.fuse.volumes }} {{ toYaml .Values.fuse.volumes | indent 8 }}