Skip to content

Commit

Permalink
helm: Don't mount /var/lib/tetragon/metadata
Browse files Browse the repository at this point in the history
It's not needed, there is nothing populating this directory.

Signed-off-by: Anna Kapuscinska <[email protected]>
  • Loading branch information
lambdanis committed Nov 30, 2023
1 parent 3faebde commit 6ab6d21
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
4 changes: 0 additions & 4 deletions install/kubernetes/templates/_container_tetragon.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 0 additions & 4 deletions install/kubernetes/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 6ab6d21

Please sign in to comment.