From c7a1807f0922f8dba2fabe8043c26a92d20e0631 Mon Sep 17 00:00:00 2001 From: ycz008 Date: Mon, 26 Feb 2024 15:06:26 +0800 Subject: [PATCH] add logstash alert imgpull --- dev-upgrade/elastic/logstash-alert.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/dev-upgrade/elastic/logstash-alert.yaml b/dev-upgrade/elastic/logstash-alert.yaml index 40ac355..0de4d2e 100644 --- a/dev-upgrade/elastic/logstash-alert.yaml +++ b/dev-upgrade/elastic/logstash-alert.yaml @@ -1,7 +1,7 @@ apiVersion: v1 kind: ConfigMap metadata: - name: logstash-config + name: logstash-config-alert data: logstash.conf: |- input { @@ -72,6 +72,8 @@ spec: labels: app: logstash spec: + imagePullSecrets: + - name: docker-hub containers: - name: logstash image: beaconfireiic/logstash:7.16.3 @@ -96,7 +98,7 @@ spec: volumes: - name: config configMap: - name: logstash-config + name: logstash-config-alert items: - key: logstash.conf path: logstash.conf