github.com/1aal/kubeblocks@v0.0.0-20231107070852-e1c03e598921/test/testdata/cue_testdata/clickhouse.cue (about) 1 //Copyright (C) 2022-2023 ApeCloud Co., Ltd 2 // 3 //This file is part of KubeBlocks project 4 // 5 //This program is free software: you can redistribute it and/or modify 6 //it under the terms of the GNU Affero General Public License as published by 7 //the Free Software Foundation, either version 3 of the License, or 8 //(at your option) any later version. 9 // 10 //This program is distributed in the hope that it will be useful 11 //but WITHOUT ANY WARRANTY; without even the implied warranty of 12 //MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 //GNU Affero General Public License for more details. 14 // 15 //You should have received a copy of the GNU Affero General Public License 16 //along with this program. If not, see <http://www.gnu.org/licenses/>. 17 18 #ProfilesParameter: { 19 profiles: [string]: #ClickhouseParameter 20 // ignore other configure 21 } 22 23 #ClickhouseParameter: { 24 // [0|1|2] default 0 25 readonly: int & 0 | 1 | 2 | *0 26 27 // [0|1] default 1 28 allow_ddl: int & 0 | 1 | *1 29 30 // [deny|local|global|allow] default : deny 31 distributed_product_mode: string & "deny" | "local" | "global" | "allow" | *"deny" 32 33 // [0|1] default 0 34 prefer_global_in_and_join: int & 0 | 1 | *0 35 ... 36 37 // other parameter 38 // Clickhouse all parameter define: clickhouse settings define 39 } 40 41 configuration: #ProfilesParameter & { 42 }