Skip to content

Commit

Permalink
Remove ovn ssl config when disabling TLS
Browse files Browse the repository at this point in the history
  • Loading branch information
olliewalsh committed Oct 10, 2024
1 parent f493261 commit d56257c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions templates/ovndbcluster/bin/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,8 @@ if [[ "$(hostname)" == "{{ .SERVICE_NAME }}-0" ]]; then

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

Expand Down

0 comments on commit d56257c

Please sign in to comment.