mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
* 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>