Skip to content

Commit

Permalink
bump graylog to 4.3 (#131)
Browse files Browse the repository at this point in the history
  • Loading branch information
KongZ authored Nov 21, 2022
1 parent 3e07a73 commit 4e91670
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 3 additions & 3 deletions charts/graylog/Chart.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -17,7 +17,7 @@ maintainers:
email: [email protected]
dependencies:
- name: elasticsearch
version: 7.10.2
version: 7.16.2
repository: https://helm.elastic.co
tags:
- install-elasticsearch
Expand Down
3 changes: 3 additions & 0 deletions charts/graylog/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4e91670

Please sign in to comment.