Skip to content

Commit

Permalink
Merge pull request #818 from openshift-cherrypick-robot/cherry-pick-8…
Browse files Browse the repository at this point in the history
…07-to-18.0-fr1

[18.0-fr1] [BGP] Fix TLS options for local OVN DB creation
  • Loading branch information
openshift-merge-bot[bot] authored Nov 18, 2024
2 parents 725f2eb + 04f6c98 commit 52c6ce2
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1 +1,12 @@
command: "/usr/share/ovn/scripts/ovn-ctl --no-monitor run_nb_ovsdb {% if edpm_ovn_bgp_agent_internal_tls_enable | bool %} -p /etc/pki/tls/private/ovndb.key -c /etc/pki/tls/certs/ovndb.crt -C /etc/pki/tls/certs/ovndbca.crt {% else %} --db-nb-create-insecure-remote=yes {% endif %}"
command: >-
/usr/share/ovn/scripts/ovn-ctl --no-monitor run_nb_ovsdb
{% if edpm_ovn_bgp_agent_internal_tls_enable | bool %}
--ovn-nb-db-ssl-key=/etc/pki/tls/private/ovndb.key
--ovn-nb-db-ssl-cert=/etc/pki/tls/certs/ovndb.crt
--ovn-nb-db-ssl-ca-cert=/etc/pki/tls/certs/ovndbca.crt
--db-nb-cluster-local-proto=ssl
--db-nb-cluster-remote-proto=ssl
--db-nb-create-insecure-remote=no
{% else %}
--db-nb-create-insecure-remote=yes
{% endif %}
Original file line number Diff line number Diff line change
@@ -1 +1,12 @@
command: "/usr/share/ovn/scripts/ovn-ctl --no-monitor run_sb_ovsdb {% if edpm_ovn_bgp_agent_internal_tls_enable | bool %} -p /etc/pki/tls/private/ovndb.key -c /etc/pki/tls/certs/ovndb.crt -C /etc/pki/tls/certs/ovndbca.crt {% else %} --db-sb-create-insecure-remote=yes {% endif %}"
command: >-
/usr/share/ovn/scripts/ovn-ctl --no-monitor run_sb_ovsdb
{% if edpm_ovn_bgp_agent_internal_tls_enable | bool %}
--ovn-sb-db-ssl-key=/etc/pki/tls/private/ovndb.key
--ovn-sb-db-ssl-cert=/etc/pki/tls/certs/ovndb.crt
--ovn-sb-db-ssl-ca-cert=/etc/pki/tls/certs/ovndbca.crt
--db-sb-cluster-local-proto=ssl
--db-sb-cluster-remote-proto=ssl
--db-sb-create-insecure-remote=no
{% else %}
--db-sb-create-insecure-remote=yes
{% endif %}

0 comments on commit 52c6ce2

Please sign in to comment.