Skip to content

Commit

Permalink
ovndb: use DB_ADDR instead of 0.0.0.0 for ssl connection
Browse files Browse the repository at this point in the history
This is to support ipv6 pods.
  • Loading branch information
booxter authored and karelyatin committed Mar 27, 2024
1 parent d770ed5 commit b74ef56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/ovndbcluster/bin/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ if [[ "$(hostname)" == "{{ .SERVICE_NAME }}-0" ]]; then

{{- if .TLS }}
${CTLCMD} set-ssl {{.OVNDB_KEY_PATH}} {{.OVNDB_CERT_PATH}} {{.OVNDB_CACERT_PATH}}
${CTLCMD} set-connection ${DB_SCHEME}:${DB_PORT}:0.0.0.0
${CTLCMD} set-connection ${DB_SCHEME}:${DB_PORT}:${DB_ADDR}
{{- end }}

# OVN does not support setting inactivity-probe through --remote cli arg so
Expand Down

0 comments on commit b74ef56

Please sign in to comment.