Commit a280f1d
Ben Anson
CP-36097 REQ-403 add pems to cluster config
Motivation: if we add a 'pems' field to the cluster config, each cluster
member will know about a common pem file, and they can use this to
perform certificate checking
The 'blobs' field is a list, so that a cluster can trust multiple
certificates at the same time. This may be helpful in the future
if we need to implement certificate rotation inside a cluster.
We add a 'pems' parameter to the join API, so that joiners can use the
same pem file as the cluster they are trying to join.
Signed-off-by: Ben Anson <[email protected]>1 parent 0cd00f6 commit a280f1d
1 file changed
+12
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
39 | 43 | | |
40 | 44 | | |
41 | 45 | | |
42 | 46 | | |
43 | 47 | | |
44 | 48 | | |
45 | 49 | | |
| 50 | + | |
46 | 51 | | |
47 | 52 | | |
48 | 53 | | |
| |||
57 | 62 | | |
58 | 63 | | |
59 | 64 | | |
| 65 | + | |
60 | 66 | | |
61 | 67 | | |
62 | 68 | | |
| |||
119 | 125 | | |
120 | 126 | | |
121 | 127 | | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
122 | 133 | | |
123 | 134 | | |
124 | 135 | | |
| |||
198 | 209 | | |
199 | 210 | | |
200 | 211 | | |
| 212 | + | |
201 | 213 | | |
202 | 214 | | |
203 | 215 | | |
| |||
0 commit comments