From 47e8be8ab73c497dcdc2fc432f099b5375775b52 Mon Sep 17 00:00:00 2001 From: Edward Cheng Date: Tue, 30 Jul 2024 02:02:14 +1000 Subject: [PATCH 1/2] fix volumes mounts --- infrastructures/logstash/base/values.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/infrastructures/logstash/base/values.yaml b/infrastructures/logstash/base/values.yaml index af139ea..d275e34 100644 --- a/infrastructures/logstash/base/values.yaml +++ b/infrastructures/logstash/base/values.yaml @@ -9,12 +9,12 @@ extraVolumes: - name: logstash-config-http hostPath: path: /mnt/nfs/AppData/logstash/config/http.conf - type: File + subPath: http.conf readOnly: true - name: logstash-config-syslog hostPath: path: /mnt/nfs/AppData/logstash/config/syslog.conf - type: File + subPath: syslog.conf readOnly: true extraVolumeMounts: - name: logstash-config-http From 1fd1ee61c1e7ff147a6a76e1cf9c7d2652241443 Mon Sep 17 00:00:00 2001 From: Edward Cheng Date: Tue, 30 Jul 2024 02:03:44 +1000 Subject: [PATCH 2/2] fix volumes mounts --- infrastructures/logstash/base/values.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/infrastructures/logstash/base/values.yaml b/infrastructures/logstash/base/values.yaml index d275e34..85fc83c 100644 --- a/infrastructures/logstash/base/values.yaml +++ b/infrastructures/logstash/base/values.yaml @@ -9,18 +9,18 @@ extraVolumes: - name: logstash-config-http hostPath: path: /mnt/nfs/AppData/logstash/config/http.conf - subPath: http.conf - readOnly: true + type: File - name: logstash-config-syslog hostPath: path: /mnt/nfs/AppData/logstash/config/syslog.conf - subPath: syslog.conf - readOnly: true + type: File extraVolumeMounts: - name: logstash-config-http mountPath: /bitnami/logstash/config/http.conf + readOnly: true - name: logstash-config-syslog mountPath: /bitnami/logstash/config/syslog.conf + readOnly: true containerPorts: - name: http containerPort: 8080