Skip to content

Commit

Permalink
external: enable the v2 port by default in downstream
Browse files Browse the repository at this point in the history
for 4.18 we will use the default v2 settings from the cluster CR
So ask python script to fetch only v2 port

Signed-off-by: parth-gr <[email protected]>
  • Loading branch information
parth-gr committed Oct 8, 2024
1 parent bb86077 commit 05499c0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions deploy/examples/create-external-cluster-resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -719,6 +719,8 @@ def get_ceph_external_mon_data(self):
q_leader_addrvec = q_leader_details.get("public_addrs", {}).get("addrvec", [])
ip_addr = str(q_leader_details["public_addr"].split("/")[0])

# make the v2 port enable by default in downstream
self._arg_parser.v2_port_enable = True
if self._arg_parser.v2_port_enable:
if q_leader_addrvec[0]["type"] == "v2":
ip_addr = q_leader_addrvec[0]["addr"]
Expand Down

0 comments on commit 05499c0

Please sign in to comment.