github.com/1aal/kubeblocks@v0.0.0-20231107070852-e1c03e598921/deploy/mongodb/config/mongodb-config-constraint.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 #SystemLog: { 19 destination: string 20 path: string 21 logAppend: bool 22 verbosity: int 23 quiet: bool 24 traceAllExceptions: bool 25 syslogFacility: string 26 logRotate: string 27 timeStampFormat: string 28 29 component: #Component 30 ... 31 } 32 33 #Net: { 34 port: int 35 bindIp: string 36 bindIpAll: bool 37 maxIncomingConnections: int 38 wireObjectCheck: bool 39 tls: #Tls 40 } 41 42 #Tls: { 43 certificateSelector: string 44 clusterCertificateSelector: string 45 mode: string 46 certificateKeyFile: string 47 certificateKeyFilePassword: string 48 clusterFile: string 49 clusterPassword: string 50 CAFile: string 51 clusterCAFile: string 52 ... 53 } 54 55 #Component: { 56 accessControl: { 57 verbosity: int 58 } 59 command: { 60 verbosity: int 61 } 62 replication: { 63 verbosity: int 64 election: { 65 verbosity: int 66 } 67 rollback: { 68 verbosity: int 69 } 70 } 71 storage: #Storage 72 ... 73 } 74 75 #Storage: { 76 verbosity: int 77 journal: { 78 verbosity: int 79 } 80 ... 81 } 82 83 #MongodbParameters: { 84 systemLog: #SystemLog 85 net: #Net 86 } 87 88 configuration: #MongodbParameters & { 89 }