Skip to content

Commit 4488348

Browse files
committed
Remove a requirement that CA be present.
1 parent e4efb62 commit 4488348

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

node-client/src/config_types.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@ function clusterIterator(): u.ListIterator<any, Cluster> {
1818
if (!elt['name']) {
1919
throw new Error(`clusters${i}.name is missing`);
2020
}
21-
if (!elt.cluster['certificate-authority-data'] && !elt.cluster['certificate-authority']) {
22-
throw new Error(`clusters[${i}].cluster.[certificate-authority-data, certificate-authority] is missing`);
23-
}
2421
if (!elt.cluster['server']) {
2522
throw new Error(`clusters[${i}].cluster.server is missing`);
2623
}

0 commit comments

Comments
 (0)