values.schema.json 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729
  1. {
  2. "$schema": "http://json-schema.org/schema#",
  3. "type": "object",
  4. "properties": {
  5. "alertRelabelConfigs": {
  6. "type": "object"
  7. },
  8. "alertmanager": {
  9. "type": "object",
  10. "properties": {
  11. "enabled": {
  12. "type": "boolean"
  13. },
  14. "persistence": {
  15. "type": "object",
  16. "properties": {
  17. "size": {
  18. "type": "string"
  19. }
  20. }
  21. },
  22. "podSecurityContext": {
  23. "type": "object",
  24. "properties": {
  25. "fsGroup": {
  26. "type": "integer"
  27. },
  28. "runAsGroup": {
  29. "type": "integer"
  30. },
  31. "runAsNonRoot": {
  32. "type": "boolean"
  33. },
  34. "runAsUser": {
  35. "type": "integer"
  36. }
  37. }
  38. }
  39. }
  40. },
  41. "configmapReload": {
  42. "type": "object",
  43. "properties": {
  44. "env": {
  45. "type": "array"
  46. },
  47. "prometheus": {
  48. "type": "object",
  49. "properties": {
  50. "containerSecurityContext": {
  51. "type": "object"
  52. },
  53. "enabled": {
  54. "type": "boolean"
  55. },
  56. "extraArgs": {
  57. "type": "object"
  58. },
  59. "extraConfigmapMounts": {
  60. "type": "array"
  61. },
  62. "extraVolumeDirs": {
  63. "type": "array"
  64. },
  65. "extraVolumeMounts": {
  66. "type": "array"
  67. },
  68. "image": {
  69. "type": "object",
  70. "properties": {
  71. "digest": {
  72. "type": "string"
  73. },
  74. "pullPolicy": {
  75. "type": "string"
  76. },
  77. "repository": {
  78. "type": "string"
  79. },
  80. "tag": {
  81. "type": "string"
  82. }
  83. }
  84. },
  85. "name": {
  86. "type": "string"
  87. },
  88. "resources": {
  89. "type": "object"
  90. }
  91. }
  92. },
  93. "reloadUrl": {
  94. "type": "string"
  95. }
  96. }
  97. },
  98. "extraManifests": {
  99. "type": "array"
  100. },
  101. "extraScrapeConfigs": {
  102. "type": "string"
  103. },
  104. "forceNamespace": {
  105. "type": "string"
  106. },
  107. "imagePullSecrets": {
  108. "type": "array"
  109. },
  110. "kube-state-metrics": {
  111. "type": "object",
  112. "properties": {
  113. "enabled": {
  114. "type": "boolean"
  115. }
  116. }
  117. },
  118. "networkPolicy": {
  119. "type": "object",
  120. "properties": {
  121. "enabled": {
  122. "type": "boolean"
  123. }
  124. }
  125. },
  126. "podSecurityPolicy": {
  127. "type": "object",
  128. "properties": {
  129. "enabled": {
  130. "type": "boolean"
  131. }
  132. }
  133. },
  134. "prometheus-node-exporter": {
  135. "type": "object",
  136. "properties": {
  137. "containerSecurityContext": {
  138. "type": "object",
  139. "properties": {
  140. "allowPrivilegeEscalation": {
  141. "type": "boolean"
  142. }
  143. }
  144. },
  145. "enabled": {
  146. "type": "boolean"
  147. },
  148. "rbac": {
  149. "type": "object",
  150. "properties": {
  151. "pspEnabled": {
  152. "type": "boolean"
  153. }
  154. }
  155. }
  156. }
  157. },
  158. "prometheus-pushgateway": {
  159. "type": "object",
  160. "properties": {
  161. "enabled": {
  162. "type": "boolean"
  163. },
  164. "serviceAnnotations": {
  165. "type": "object",
  166. "properties": {
  167. "prometheus.io/probe": {
  168. "type": "string"
  169. }
  170. }
  171. }
  172. }
  173. },
  174. "rbac": {
  175. "type": "object",
  176. "properties": {
  177. "create": {
  178. "type": "boolean"
  179. }
  180. }
  181. },
  182. "ruleFiles": {
  183. "type": "object"
  184. },
  185. "server": {
  186. "type": "object",
  187. "properties": {
  188. "affinity": {
  189. "type": "object"
  190. },
  191. "alertmanagers": {
  192. "type": "array"
  193. },
  194. "baseURL": {
  195. "type": "string"
  196. },
  197. "clusterRoleNameOverride": {
  198. "type": "string"
  199. },
  200. "command": {
  201. "type": "array"
  202. },
  203. "configMapOverrideName": {
  204. "type": "string"
  205. },
  206. "configPath": {
  207. "type": "string"
  208. },
  209. "containerSecurityContext": {
  210. "type": "object"
  211. },
  212. "defaultFlagsOverride": {
  213. "type": "array"
  214. },
  215. "deploymentAnnotations": {
  216. "type": "object"
  217. },
  218. "dnsConfig": {
  219. "type": "object"
  220. },
  221. "dnsPolicy": {
  222. "type": "string"
  223. },
  224. "emptyDir": {
  225. "type": "object",
  226. "properties": {
  227. "sizeLimit": {
  228. "type": "string"
  229. }
  230. }
  231. },
  232. "enableServiceLinks": {
  233. "type": "boolean"
  234. },
  235. "env": {
  236. "type": "array"
  237. },
  238. "exemplars": {
  239. "type": "object"
  240. },
  241. "extraArgs": {
  242. "type": "object"
  243. },
  244. "extraConfigmapLabels": {
  245. "type": "object"
  246. },
  247. "extraConfigmapMounts": {
  248. "type": "array"
  249. },
  250. "extraFlags": {
  251. "type": "array",
  252. "items": {
  253. "type": "string"
  254. }
  255. },
  256. "extraHostPathMounts": {
  257. "type": "array"
  258. },
  259. "extraInitContainers": {
  260. "type": "array"
  261. },
  262. "extraSecretMounts": {
  263. "type": "array"
  264. },
  265. "extraVolumeMounts": {
  266. "type": "array"
  267. },
  268. "extraVolumes": {
  269. "type": "array"
  270. },
  271. "global": {
  272. "type": "object",
  273. "properties": {
  274. "evaluation_interval": {
  275. "type": "string"
  276. },
  277. "scrape_interval": {
  278. "type": "string"
  279. },
  280. "scrape_timeout": {
  281. "type": "string"
  282. }
  283. }
  284. },
  285. "hostAliases": {
  286. "type": "array"
  287. },
  288. "hostNetwork": {
  289. "type": "boolean"
  290. },
  291. "image": {
  292. "type": "object",
  293. "properties": {
  294. "digest": {
  295. "type": "string"
  296. },
  297. "pullPolicy": {
  298. "type": "string"
  299. },
  300. "repository": {
  301. "type": "string"
  302. },
  303. "tag": {
  304. "type": "string"
  305. }
  306. }
  307. },
  308. "ingress": {
  309. "type": "object",
  310. "properties": {
  311. "annotations": {
  312. "type": "object"
  313. },
  314. "enabled": {
  315. "type": "boolean"
  316. },
  317. "extraLabels": {
  318. "type": "object"
  319. },
  320. "extraPaths": {
  321. "type": "array"
  322. },
  323. "hosts": {
  324. "type": "array"
  325. },
  326. "path": {
  327. "type": "string"
  328. },
  329. "pathType": {
  330. "type": "string"
  331. },
  332. "tls": {
  333. "type": "array"
  334. }
  335. }
  336. },
  337. "livenessProbeFailureThreshold": {
  338. "type": "integer"
  339. },
  340. "livenessProbeInitialDelay": {
  341. "type": "integer"
  342. },
  343. "livenessProbePeriodSeconds": {
  344. "type": "integer"
  345. },
  346. "livenessProbeSuccessThreshold": {
  347. "type": "integer"
  348. },
  349. "livenessProbeTimeout": {
  350. "type": "integer"
  351. },
  352. "name": {
  353. "type": "string"
  354. },
  355. "nodeSelector": {
  356. "type": "object"
  357. },
  358. "persistentVolume": {
  359. "type": "object",
  360. "properties": {
  361. "accessModes": {
  362. "type": "array",
  363. "items": {
  364. "type": "string"
  365. }
  366. },
  367. "annotations": {
  368. "type": "object"
  369. },
  370. "enabled": {
  371. "type": "boolean"
  372. },
  373. "existingClaim": {
  374. "type": "string"
  375. },
  376. "labels": {
  377. "type": "object"
  378. },
  379. "mountPath": {
  380. "type": "string"
  381. },
  382. "size": {
  383. "type": "string"
  384. },
  385. "statefulSetNameOverride": {
  386. "type": "string"
  387. },
  388. "subPath": {
  389. "type": "string"
  390. }
  391. }
  392. },
  393. "podAnnotations": {
  394. "type": "object"
  395. },
  396. "podDisruptionBudget": {
  397. "type": "object",
  398. "properties": {
  399. "enabled": {
  400. "type": "boolean"
  401. },
  402. "maxUnavailable": {
  403. "type": [
  404. "string",
  405. "integer"
  406. ]
  407. }
  408. }
  409. },
  410. "podLabels": {
  411. "type": "object"
  412. },
  413. "podSecurityPolicy": {
  414. "type": "object",
  415. "properties": {
  416. "annotations": {
  417. "type": "object"
  418. }
  419. }
  420. },
  421. "prefixURL": {
  422. "type": "string"
  423. },
  424. "priorityClassName": {
  425. "type": "string"
  426. },
  427. "probeHeaders": {
  428. "type": "array"
  429. },
  430. "probeScheme": {
  431. "type": "string"
  432. },
  433. "readinessProbeFailureThreshold": {
  434. "type": "integer"
  435. },
  436. "readinessProbeInitialDelay": {
  437. "type": "integer"
  438. },
  439. "readinessProbePeriodSeconds": {
  440. "type": "integer"
  441. },
  442. "readinessProbeSuccessThreshold": {
  443. "type": "integer"
  444. },
  445. "readinessProbeTimeout": {
  446. "type": "integer"
  447. },
  448. "releaseNamespace": {
  449. "type": "boolean"
  450. },
  451. "remoteRead": {
  452. "type": "array"
  453. },
  454. "remoteWrite": {
  455. "type": "array"
  456. },
  457. "replicaCount": {
  458. "type": "integer"
  459. },
  460. "resources": {
  461. "type": "object"
  462. },
  463. "retention": {
  464. "type": "string"
  465. },
  466. "revisionHistoryLimit": {
  467. "type": "integer"
  468. },
  469. "securityContext": {
  470. "type": "object",
  471. "properties": {
  472. "fsGroup": {
  473. "type": "integer"
  474. },
  475. "runAsGroup": {
  476. "type": "integer"
  477. },
  478. "runAsNonRoot": {
  479. "type": "boolean"
  480. },
  481. "runAsUser": {
  482. "type": "integer"
  483. }
  484. }
  485. },
  486. "service": {
  487. "type": "object",
  488. "properties": {
  489. "annotations": {
  490. "type": "object"
  491. },
  492. "clusterIP": {
  493. "type": "string"
  494. },
  495. "enabled": {
  496. "type": "boolean"
  497. },
  498. "externalIPs": {
  499. "type": "array"
  500. },
  501. "gRPC": {
  502. "type": "object",
  503. "properties": {
  504. "enabled": {
  505. "type": "boolean"
  506. },
  507. "servicePort": {
  508. "type": "integer"
  509. }
  510. }
  511. },
  512. "labels": {
  513. "type": "object"
  514. },
  515. "loadBalancerIP": {
  516. "type": "string"
  517. },
  518. "loadBalancerSourceRanges": {
  519. "type": "array"
  520. },
  521. "servicePort": {
  522. "type": "integer"
  523. },
  524. "sessionAffinity": {
  525. "type": "string"
  526. },
  527. "statefulsetReplica": {
  528. "type": "object",
  529. "properties": {
  530. "enabled": {
  531. "type": "boolean"
  532. },
  533. "replica": {
  534. "type": "integer"
  535. }
  536. }
  537. },
  538. "type": {
  539. "type": "string"
  540. }
  541. }
  542. },
  543. "sidecarContainers": {
  544. "type": "object"
  545. },
  546. "sidecarTemplateValues": {
  547. "type": "object"
  548. },
  549. "startupProbe": {
  550. "type": "object",
  551. "properties": {
  552. "enabled": {
  553. "type": "boolean"
  554. },
  555. "failureThreshold": {
  556. "type": "integer"
  557. },
  558. "periodSeconds": {
  559. "type": "integer"
  560. },
  561. "timeoutSeconds": {
  562. "type": "integer"
  563. }
  564. }
  565. },
  566. "statefulSet": {
  567. "type": "object",
  568. "properties": {
  569. "annotations": {
  570. "type": "object"
  571. },
  572. "enabled": {
  573. "type": "boolean"
  574. },
  575. "headless": {
  576. "type": "object",
  577. "properties": {
  578. "annotations": {
  579. "type": "object"
  580. },
  581. "gRPC": {
  582. "type": "object",
  583. "properties": {
  584. "enabled": {
  585. "type": "boolean"
  586. },
  587. "servicePort": {
  588. "type": "integer"
  589. }
  590. }
  591. },
  592. "labels": {
  593. "type": "object"
  594. },
  595. "servicePort": {
  596. "type": "integer"
  597. }
  598. }
  599. },
  600. "labels": {
  601. "type": "object"
  602. },
  603. "podManagementPolicy": {
  604. "type": "string"
  605. },
  606. "pvcDeleteOnStsDelete": {
  607. "type": "boolean"
  608. },
  609. "pvcDeleteOnStsScale": {
  610. "type": "boolean"
  611. }
  612. }
  613. },
  614. "storagePath": {
  615. "type": "string"
  616. },
  617. "strategy": {
  618. "type": "object",
  619. "properties": {
  620. "type": {
  621. "type": "string"
  622. }
  623. }
  624. },
  625. "tcpSocketProbeEnabled": {
  626. "type": "boolean"
  627. },
  628. "terminationGracePeriodSeconds": {
  629. "type": "integer"
  630. },
  631. "tolerations": {
  632. "type": "array"
  633. },
  634. "topologySpreadConstraints": {
  635. "type": "array"
  636. },
  637. "tsdb": {
  638. "type": "object"
  639. },
  640. "verticalAutoscaler": {
  641. "type": "object",
  642. "properties": {
  643. "enabled": {
  644. "type": "boolean"
  645. }
  646. }
  647. }
  648. }
  649. },
  650. "scrapeConfigFiles": {
  651. "type": "array"
  652. },
  653. "serverFiles": {
  654. "type": "object",
  655. "properties": {
  656. "alerting_rules.yml": {
  657. "type": "object"
  658. },
  659. "alerts": {
  660. "type": "object"
  661. },
  662. "prometheus.yml": {
  663. "type": "object",
  664. "properties": {
  665. "rule_files": {
  666. "type": "array",
  667. "items": {
  668. "type": "string"
  669. }
  670. },
  671. "scrape_configs": {
  672. "type": "array",
  673. "items": {
  674. "type": "object",
  675. "properties": {
  676. "job_name": {
  677. "type": "string"
  678. },
  679. "static_configs": {
  680. "type": "array",
  681. "items": {
  682. "type": "object",
  683. "properties": {
  684. "targets": {
  685. "type": "array",
  686. "items": {
  687. "type": "string"
  688. }
  689. }
  690. }
  691. }
  692. }
  693. }
  694. }
  695. }
  696. }
  697. },
  698. "recording_rules.yml": {
  699. "type": "object"
  700. },
  701. "rules": {
  702. "type": "object"
  703. }
  704. }
  705. },
  706. "serviceAccounts": {
  707. "type": "object",
  708. "properties": {
  709. "server": {
  710. "type": "object",
  711. "properties": {
  712. "annotations": {
  713. "type": "object"
  714. },
  715. "create": {
  716. "type": "boolean"
  717. },
  718. "name": {
  719. "type": "string"
  720. },
  721. "automountServiceAccountToken": {
  722. "type": "boolean"
  723. }
  724. }
  725. }
  726. }
  727. }
  728. }
  729. }