From 08e9f602347f41fd54574f8fdcb8d800306b907e Mon Sep 17 00:00:00 2001 From: Anna Kapuscinska Date: Thu, 30 Nov 2023 17:11:04 +0000 Subject: [PATCH] helm: Don't mount /var/lib/tetragon/metadata It's not needed, there is nothing populating this directory. Signed-off-by: Anna Kapuscinska --- install/kubernetes/templates/_container_tetragon.tpl | 4 ---- install/kubernetes/templates/daemonset.yaml | 4 ---- 2 files changed, 8 deletions(-) diff --git a/install/kubernetes/templates/_container_tetragon.tpl b/install/kubernetes/templates/_container_tetragon.tpl index 9a28fe53b87..a11690e9dc4 100644 --- a/install/kubernetes/templates/_container_tetragon.tpl +++ b/install/kubernetes/templates/_container_tetragon.tpl @@ -26,10 +26,6 @@ {{- with .Values.tetragon.extraVolumeMounts }} {{- toYaml . | nindent 4 }} {{- end }} - {{- if not .Values.tetragon.btf }} - - mountPath: /var/lib/tetragon/metadata - name: metadata-files - {{- end }} - mountPath: /etc/tetragon/tetragon.conf.d/ name: tetragon-config readOnly: true diff --git a/install/kubernetes/templates/daemonset.yaml b/install/kubernetes/templates/daemonset.yaml index b53b7710751..07f3e2ce167 100644 --- a/install/kubernetes/templates/daemonset.yaml +++ b/install/kubernetes/templates/daemonset.yaml @@ -93,10 +93,6 @@ spec: hostPath: path: {{ .Values.tetragon.hostProcPath }} type: Directory -{{- if not .Values.tetragon.btf }} - - emptyDir: {} - name: metadata-files -{{- end }} {{- end }} {{- with .Values.extraVolumes }} {{- toYaml . | nindent 6 }}