Skip to content

Commit 4d3f390

Browse files
committed
schema: opensearch
1 parent e065947 commit 4d3f390

File tree

1 file changed

+322
-0
lines changed

1 file changed

+322
-0
lines changed

config/schemas/config.yaml

Lines changed: 322 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1105,6 +1105,328 @@ properties:
11051105
user:
11061106
$ref: '#/$defs/commonResource'
11071107
type: object
1108+
opensearch:
1109+
additionalProperties: false
1110+
properties:
1111+
additionalTemplates:
1112+
type: object
1113+
clientNode:
1114+
additionalProperties: false
1115+
properties:
1116+
affinity:
1117+
$ref: '#/$defs/affinity'
1118+
count:
1119+
default: 1
1120+
type: number
1121+
dedicatedPods:
1122+
default: true
1123+
type: boolean
1124+
javaOpts:
1125+
default: -Xms512m -Xmx512m
1126+
type: string
1127+
nodeSelector:
1128+
$ref: '#/$defs/nodeSelector'
1129+
resources:
1130+
$ref: '#/$defs/resources'
1131+
tolerations:
1132+
$ref: '#/$defs/tolerations'
1133+
type: object
1134+
clusterName:
1135+
default: opensearch
1136+
type: string
1137+
createIndices:
1138+
default: true
1139+
description: Create initial indices upon first startup
1140+
type: boolean
1141+
curator:
1142+
additionalProperties: false
1143+
properties:
1144+
activeDeadlineSeconds:
1145+
default: 2700
1146+
type: number
1147+
affinity:
1148+
$ref: '#/$defs/affinity'
1149+
enabled:
1150+
default: true
1151+
type: boolean
1152+
nodeSelector:
1153+
$ref: '#/$defs/nodeSelector'
1154+
resources:
1155+
$ref: '#/$defs/resources'
1156+
retention:
1157+
items:
1158+
additionalProperties: false
1159+
properties:
1160+
ageDays:
1161+
default: 7
1162+
type: number
1163+
pattern:
1164+
default: other-*
1165+
type: string
1166+
sizeGB:
1167+
default: 1
1168+
type: number
1169+
type: object
1170+
type: array
1171+
startingDeadlineSeconds:
1172+
default: 600
1173+
type: number
1174+
tolerations:
1175+
$ref: '#/$defs/tolerations'
1176+
type: object
1177+
dashboards:
1178+
additionalProperties: false
1179+
properties:
1180+
affinity:
1181+
$ref: '#/$defs/affinity'
1182+
nodeSelector:
1183+
$ref: '#/$defs/nodeSelector'
1184+
resources:
1185+
$ref: '#/$defs/resources'
1186+
subdomain:
1187+
default: opensearch
1188+
type: string
1189+
tolerations:
1190+
$ref: '#/$defs/tolerations'
1191+
topologySpreadConstraints:
1192+
$ref: '#/$defs/topologySpreadConstraints'
1193+
type: object
1194+
dataNode:
1195+
additionalProperties: false
1196+
properties:
1197+
affinity:
1198+
$ref: '#/$defs/affinity'
1199+
count:
1200+
default: 2
1201+
type: number
1202+
dedicatedPods:
1203+
default: true
1204+
type: boolean
1205+
javaOpts:
1206+
default: -Xms512m -Xmx512m
1207+
type: string
1208+
nodeSelector:
1209+
$ref: '#/$defs/nodeSelector'
1210+
resources:
1211+
$ref: '#/$defs/resources'
1212+
storageClass:
1213+
examples:
1214+
- '-'
1215+
type: string
1216+
storageSize:
1217+
default: 25Gi
1218+
type: string
1219+
tolerations:
1220+
$ref: '#/$defs/tolerations'
1221+
type: object
1222+
defaultTemplates:
1223+
default: true
1224+
type: boolean
1225+
enabled:
1226+
default: true
1227+
type: boolean
1228+
exporter:
1229+
additionalProperties: false
1230+
properties:
1231+
resources:
1232+
$ref: '#/$defs/resources'
1233+
serviceMonitor:
1234+
additionalProperties: false
1235+
properties:
1236+
interval:
1237+
default: 30s
1238+
type: string
1239+
scrapeTimeout:
1240+
default: 30s
1241+
type: string
1242+
type: object
1243+
tolerations:
1244+
$ref: '#/$defs/tolerations'
1245+
type: object
1246+
extraRoleMappings:
1247+
items:
1248+
additionalProperties: false
1249+
properties:
1250+
definition:
1251+
additionalProperties: false
1252+
properties:
1253+
users:
1254+
items:
1255+
type: string
1256+
type: array
1257+
type: object
1258+
mapping_name:
1259+
default: kibana_user
1260+
type: string
1261+
type: object
1262+
type: array
1263+
extraRoles:
1264+
type: array
1265+
indexPerNamespace:
1266+
default: false
1267+
type: boolean
1268+
ingress:
1269+
additionalProperties: false
1270+
properties:
1271+
maxbodysize:
1272+
default: 32m
1273+
type: string
1274+
type: object
1275+
ism:
1276+
additionalProperties: false
1277+
properties:
1278+
additionalPolicies:
1279+
type: object
1280+
defaultPolicies:
1281+
default: true
1282+
type: boolean
1283+
overwritePolicies:
1284+
default: true
1285+
type: boolean
1286+
rolloverAgeDays:
1287+
default: 1
1288+
type: number
1289+
rolloverSizeGB:
1290+
default: 1
1291+
type: number
1292+
type: object
1293+
masterNode:
1294+
additionalProperties: false
1295+
properties:
1296+
affinity:
1297+
$ref: '#/$defs/affinity'
1298+
count:
1299+
default: 1
1300+
type: number
1301+
javaOpts:
1302+
default: -Xms512m -Xmx512m
1303+
type: string
1304+
nodeSelector:
1305+
$ref: '#/$defs/nodeSelector'
1306+
resources:
1307+
$ref: '#/$defs/resources'
1308+
storageClass:
1309+
type: string
1310+
storageSize:
1311+
default: 8Gi
1312+
type: string
1313+
tolerations:
1314+
$ref: '#/$defs/tolerations'
1315+
type: object
1316+
maxClauseCount:
1317+
default: 1024
1318+
description: Change this value before applying opensearch to adjust indices.query.bool.max_clause_count
1319+
type: number
1320+
maxShardsPerNode:
1321+
default: 1000
1322+
type: number
1323+
overwriteTemplates:
1324+
default: true
1325+
type: boolean
1326+
plugins:
1327+
additionalProperties: false
1328+
properties:
1329+
additionalPlugins:
1330+
description: in an air-gapped environment this can be used to install plugins from known sources
1331+
type: array
1332+
installExternalObjectStoragePlugin:
1333+
description: |-
1334+
in an air-gapped environment where the nodes are not connected to the Internet, set
1335+
following variable to false to prevent downloading external object storage plugin
1336+
type: boolean
1337+
type: object
1338+
promIndexAlerts:
1339+
items:
1340+
additionalProperties: false
1341+
properties:
1342+
alertSizeMB:
1343+
default: 5500
1344+
type: number
1345+
prefix:
1346+
default: kubernetes-default
1347+
type: string
1348+
type: object
1349+
type: array
1350+
securityadmin:
1351+
additionalProperties: false
1352+
properties:
1353+
activeDeadlineSeconds:
1354+
default: 1200
1355+
type: number
1356+
enabled:
1357+
default: true
1358+
type: boolean
1359+
resources:
1360+
$ref: '#/$defs/resources'
1361+
type: object
1362+
snapshot:
1363+
additionalProperties: false
1364+
properties:
1365+
ageSeconds:
1366+
default: 864000
1367+
type: number
1368+
backupActiveDeadlineSeconds:
1369+
default: 600
1370+
type: number
1371+
backupSchedule:
1372+
default: 0 */2 * * *
1373+
type: string
1374+
backupStartingDeadlineSeconds:
1375+
default: 600
1376+
type: number
1377+
enabled:
1378+
default: true
1379+
type: boolean
1380+
max:
1381+
default: 14
1382+
type: number
1383+
maxRequestSeconds:
1384+
default: 1200
1385+
type: number
1386+
min:
1387+
default: 7
1388+
type: number
1389+
repository:
1390+
default: opensearch-snapshots
1391+
type: string
1392+
retentionActiveDeadlineSeconds:
1393+
default: 2700
1394+
type: number
1395+
retentionResources:
1396+
$ref: '#/$defs/resources'
1397+
retentionSchedule:
1398+
default: '@daily'
1399+
type: string
1400+
retentionStartingDeadlineSeconds:
1401+
default: 600
1402+
type: number
1403+
type: object
1404+
sso:
1405+
additionalProperties: false
1406+
properties:
1407+
enabled:
1408+
default: false
1409+
type: boolean
1410+
rolesKey:
1411+
default: groups
1412+
type: string
1413+
scope:
1414+
default: openid profile email groups
1415+
type: string
1416+
subjectKey:
1417+
default: email
1418+
type: string
1419+
type: object
1420+
subdomain:
1421+
default: opensearch
1422+
format: hostname
1423+
type: string
1424+
required:
1425+
- enabled
1426+
- subdomain
1427+
- indexPerNamespace
1428+
- dashboards
1429+
type: object
11081430
additionalProperties:
11091431
type: object
11101432
properties: {}

0 commit comments

Comments
 (0)