From 465fd8930c1c1177181901de37ce07eb4210563d Mon Sep 17 00:00:00 2001 From: Edward Cheng Date: Tue, 30 Jul 2024 07:17:03 +1000 Subject: [PATCH] fix volumes mounts --- infrastructures/logstash/base/values.yaml | 25 +++++++---------------- 1 file changed, 7 insertions(+), 18 deletions(-) diff --git a/infrastructures/logstash/base/values.yaml b/infrastructures/logstash/base/values.yaml index 1fb1b94..51aca76 100644 --- a/infrastructures/logstash/base/values.yaml +++ b/infrastructures/logstash/base/values.yaml @@ -1,28 +1,17 @@ namespaceOverride: logstash clusterDomain: logstash.logstash.svc.cluster.local -input: null -filter: null -output: null +input: "" +output: "" existingConfiguration: "logstash-pipelines" enableMultiplePipelines: true extraVolumes: - - name: logstash-config-http + - name: logstash-config hostPath: - path: /mnt/nfs/AppData/logstash/config/http.conf - type: File - - name: logstash-config-syslog - hostPath: - path: /mnt/nfs/AppData/logstash/config/syslog.conf - type: File + path: /mnt/nfs/AppData/logstash/config + type: logstash-config extraVolumeMounts: - - name: logstash-config-http - mountPath: /bitnami/logstash/config/http.conf - subPath: http.conf - readOnly: true - - name: logstash-config-syslog - mountPath: /bitnami/logstash/config/syslog.conf - subPath: syslog.conf - readOnly: true + - name: logstash-config + mountPath: /bitnami/logstash/config containerPorts: - name: http containerPort: 8080