Skip to content

Commit

Permalink
drenv: turn off check for broker certs
Browse files Browse the repository at this point in the history
On Mac, the check for certs is more strict and it fails for submariner
service. Turning off the check for certs.

More info: golang/go#51991

Signed-off-by: Raghavendra Talur <[email protected]>
  • Loading branch information
raghavendra-talur committed Jul 24, 2024
1 parent 196dc48 commit f16ac6d
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 f16ac6d

Please sign in to comment.