Skip to content

Commit

Permalink
Fix submariner for MacOS
Browse files Browse the repository at this point in the history
Signed-off-by: Sheetal Pamecha <[email protected]>
  • Loading branch information
Sheetalpamecha committed Aug 11, 2024
1 parent 01e65d5 commit bd14dfb
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
1 change: 1 addition & 0 deletions test/addons/submariner/start
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ def join_cluster(cluster, broker_info):
clusterid=cluster,
cable_driver="vxlan",
version=VERSION,
check_broker_certificate=False,
)


Expand Down
11 changes: 10 additions & 1 deletion test/drenv/subctl.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,20 @@ def deploy_broker(context, globalnet=False, broker_info=None, version=None, log=
shutil.move(BROKER_INFO, broker_info)


def join(broker_info, context, clusterid, cable_driver=None, version=None, log=print):
def join(
broker_info,
context,
clusterid,
cable_driver=None,
version=None,
check_broker_certificate=True,
log=print,
):
"""
Run subctl join ... logging progress messages.
"""
args = ["join", broker_info, "--context", context, "--clusterid", clusterid]
args.append(f"--check-broker-certificate={check_broker_certificate}")
if cable_driver:
args.extend(("--cable-driver", cable_driver))
if version:
Expand Down

0 comments on commit bd14dfb

Please sign in to comment.