Files
deprecated-helm-charts/stable/graylog/templates
Chufuyuan 4d1eef4a81 [stable/graylog] fix the logic to determine master node. (#19552)
* fix the logic to determine master node.

When container was recreated or restart or other conditions, pod is not bing removed, then the master node may becomes a coordinator .
This commit add a condition to check if master ip equals the ip of pod itself. If master ip equals the ip of pod itself, it is master node.
fix https://github.com/helm/charts/issues/17550

Signed-off-by: fuyuan.chu <fuyuan.chu@daocloud.io>

* fix unexpected new line

Signed-off-by: fuyuan.chu <fuyuan.chu@daocloud.io>
2019-12-16 01:09:37 -08:00
..