forked from bitpoke/mysql-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix orchestrator startup crash in DualStack cluster
In a cluster where `.Env.HOSTNAME` resolves to an IPv6 address, the orchestrator fails to start due to a syntax error in the raft bind address. This was reported here: bitpoke#929 This commit fixes this, at least for DualStack clusters, by using `.Env.POD_IP` instead, which is defined as ```yaml - name: POD_IP valueFrom: fieldRef: apiVersion: v1 fieldPath: status.podIP ``` and thus typically points to an IPv4 address in DualStack clusters. For a general fix, the orchestrator code itself probably needs to be modified to correctly handle the bind hostname.
- Loading branch information
Showing
3 changed files
with
3 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters