From 4e9167072434933f0790ad83ca962ae8665a3c6f Mon Sep 17 00:00:00 2001 From: Siri Date: Mon, 21 Nov 2022 21:59:57 +0700 Subject: [PATCH] bump graylog to 4.3 (#131) --- charts/graylog/Chart.yaml | 6 +++--- charts/graylog/templates/configmap.yaml | 3 +++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/charts/graylog/Chart.yaml b/charts/graylog/Chart.yaml index c3f7bdb..6352df1 100755 --- a/charts/graylog/Chart.yaml +++ b/charts/graylog/Chart.yaml @@ -1,8 +1,8 @@ apiVersion: v2 name: graylog home: https://www.graylog.org -version: 2.1.8 -appVersion: 4.2.7 +version: 2.2.0 +appVersion: 4.3.8 description: Graylog is the centralized log management solution built to open standards for capturing, storing, and enabling real-time analysis of terabytes of machine data. keywords: - graylog @@ -17,7 +17,7 @@ maintainers: email: goonohc@gmail.com dependencies: - name: elasticsearch - version: 7.10.2 + version: 7.16.2 repository: https://helm.elastic.co tags: - install-elasticsearch diff --git a/charts/graylog/templates/configmap.yaml b/charts/graylog/templates/configmap.yaml index b20e563..2635e7e 100644 --- a/charts/graylog/templates/configmap.yaml +++ b/charts/graylog/templates/configmap.yaml @@ -174,16 +174,19 @@ data: if [[ -z "$MASTER_IP" ]]; then echo "Launching $HOSTNAME as master" export GRAYLOG_IS_MASTER="true" + export GRAYLOG_IS_LEADER="true" /k8s/kubectl --namespace {{ .Release.Namespace }} label --overwrite pod $HOSTNAME graylog-role="master" else # When container was recreated or restart, MASTER_IP == SELF_IP, running as master and no need to change label graylog-role="master" if [ "$SELF_IP" == "$MASTER_IP" ];then echo "Launching $HOSTNAME as master" export GRAYLOG_IS_MASTER="true" + export GRAYLOG_IS_LEADER="true" else # MASTER_IP != SELF_IP, running as coordinating echo "Launching $HOSTNAME as coordinating" export GRAYLOG_IS_MASTER="false" + export GRAYLOG_IS_LEADER="false" /k8s/kubectl --namespace {{ .Release.Namespace }} label --overwrite pod $HOSTNAME graylog-role="coordinating" fi fi