add logstash alert imgpull

main
ycz008 2024-02-26 15:06:26 +08:00
parent f7c9418c6c
commit c7a1807f09
1 changed files with 4 additions and 2 deletions

View File

@ -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