Skip to content

Commit

Permalink
Merge branch 'rtalur-mac-os' into rtalur-custom-branch
Browse files Browse the repository at this point in the history
  • Loading branch information
raghavendra-talur committed Aug 21, 2024
2 parents 1c5627b + f16ac6d commit 946e647
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 946e647

Please sign in to comment.