Skip to content

Commit 61f8aa0

Browse files
drenv: turn off check for broker certs
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]>
1 parent 11d753e commit 61f8aa0

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

test/addons/submariner/start

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ def join_cluster(cluster, broker_info):
6060
clusterid=cluster,
6161
cable_driver="vxlan",
6262
version=VERSION,
63+
check_broker_certificate=False,
6364
)
6465

6566

test/drenv/subctl.py

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,20 @@ def deploy_broker(context, globalnet=False, broker_info=None, version=None, log=
2727
shutil.move(BROKER_INFO, broker_info)
2828

2929

30-
def join(broker_info, context, clusterid, cable_driver=None, version=None, log=print):
30+
def join(
31+
broker_info,
32+
context,
33+
clusterid,
34+
cable_driver=None,
35+
version=None,
36+
check_broker_certificate=True,
37+
log=print,
38+
):
3139
"""
3240
Run subctl join ... logging progress messages.
3341
"""
3442
args = ["join", broker_info, "--context", context, "--clusterid", clusterid]
43+
args.append(f"--check-broker-certificate={check_broker_certificate}")
3544
if cable_driver:
3645
args.extend(("--cable-driver", cable_driver))
3746
if version:

0 commit comments

Comments
 (0)