From afc41c1d5339eab51748de0efd7f4815b801cbfc Mon Sep 17 00:00:00 2001 From: Ilya Mashchenko Date: Mon, 11 Dec 2023 16:05:59 +0200 Subject: [PATCH] child: mount /var/log (#398) --- charts/netdata/templates/daemonset.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/charts/netdata/templates/daemonset.yaml b/charts/netdata/templates/daemonset.yaml index c8f3093..9abc742 100644 --- a/charts/netdata/templates/daemonset.yaml +++ b/charts/netdata/templates/daemonset.yaml @@ -158,6 +158,8 @@ spec: mountPath: /host/sys - name: os-release mountPath: /host/etc/os-release + - name: varlog + mountPath: /host/var/log {{- range $name, $config := .Values.child.configs }} {{- if $config.enabled }} - name: {{ ternary "configmap" "configsecret" (ne $config.storedType "secret") }} @@ -227,6 +229,9 @@ spec: - name: os-release hostPath: path: /etc/os-release + - name: varlog + hostPath: + path: /var/log - name: configmap configMap: name: netdata-conf-child