From d8b355e6c3d3618a70244e08cc1f000ece9b3852 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nedim=20=C5=A0abi=C4=87=C2=B2?= Date: Wed, 17 Jun 2020 16:20:39 +0200 Subject: [PATCH] [stable/sematext-agent] add /dev mount (#22846) * replicasets roles Signed-off-by: rabbitstack * bump version Signed-off-by: rabbitstack * pods/log cluster role, log level to info Signed-off-by: rabbitstack * pods/log should appear in resources section Signed-off-by: rabbitstack * add /dev mount to daemonset Signed-off-by: rabbitstack Signed-off-by: Miguel Mingorance --- stable/sematext-agent/Chart.yaml | 2 +- stable/sematext-agent/templates/daemonset.yaml | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/stable/sematext-agent/Chart.yaml b/stable/sematext-agent/Chart.yaml index 5643d7c1cd60..042eb80b4238 100644 --- a/stable/sematext-agent/Chart.yaml +++ b/stable/sematext-agent/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 appVersion: "1.0" -version: 1.0.27 +version: 1.0.28 description: Helm chart for deploying Sematext Agent and Logagent to Kubernetes keywords: - sematext diff --git a/stable/sematext-agent/templates/daemonset.yaml b/stable/sematext-agent/templates/daemonset.yaml index 898f64fda1bd..b86bf278b1d5 100644 --- a/stable/sematext-agent/templates/daemonset.yaml +++ b/stable/sematext-agent/templates/daemonset.yaml @@ -82,6 +82,9 @@ spec: mountPath: /sys/kernel/debug - name: run mountPath: /var/run/ + - name: dev + mountPath: /hostfs/dev + readOnly: true securityContext: privileged: true ports: @@ -139,6 +142,9 @@ spec: - name: run hostPath: path: /var/run/ + - name: dev + hostPath: + path: /dev {{- if .Values.logagent.customConfigs }} - name: logagent-config-volume configMap: