We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d85884e commit 50fdfa0Copy full SHA for 50fdfa0
1 file changed
ui/app/peers/create/[peerType]/helpers/ch.ts
@@ -77,6 +77,23 @@ export const clickhouseSetting: PeerSetting[] = [
77
optional: true,
78
tips: 'This is only needed if the user is authenticated via certificate.',
79
},
80
+ {
81
+ label: 'Root Certificate',
82
+ stateHandler: (value, setter) => {
83
+ if (!value) {
84
+ // remove key from state if empty
85
+ setter((curr) => {
86
+ const newCurr = { ...curr } as ClickhouseConfig;
87
+ delete newCurr.rootCa;
88
+ return newCurr;
89
+ });
90
+ } else setter((curr) => ({ ...curr, rootCa: value as string }));
91
+ },
92
+ type: 'file',
93
+ optional: true,
94
+ tips: 'If not provided, host CA roots will be used.',
95
+ s3: true,
96
97
{
98
label: 'S3 Path',
99
stateHandler: (value, setter) =>
0 commit comments