From 7e502287b05ffdfc56ae292bc01734346bceb47c Mon Sep 17 00:00:00 2001 From: Theron Voran Date: Wed, 3 Apr 2024 15:38:14 -0700 Subject: [PATCH] updating values.schema.json and adding an updated link for helm-schema-gen --- test/README.md | 2 +- values.schema.json | 230 +++++++++++++++++++++++++++++++-------------- 2 files changed, 160 insertions(+), 72 deletions(-) diff --git a/test/README.md b/test/README.md index 951a0616e..46ba2770b 100644 --- a/test/README.md +++ b/test/README.md @@ -45,7 +45,7 @@ There is a make target for generating values.schema.json: It relies on the helm [schema-gen plugin][schema-gen]. Note that some manual editing will be required, since several properties accept multiple data types. -[schema-gen]: https://github.com/karuppiah7890/helm-schema-gen +[schema-gen]: https://github.com/KnechtionsCoding/helm-schema-gen.git ## Helm test diff --git a/values.schema.json b/values.schema.json index 976065733..3f0871f2c 100644 --- a/values.schema.json +++ b/values.schema.json @@ -99,6 +99,9 @@ "extraArgs": { "type": "array" }, + "hmacSecretName": { + "type": "string" + }, "image": { "type": "object", "properties": { @@ -228,15 +231,15 @@ "enabled": { "type": "boolean" }, - "namespace": { - "type": "string" - }, "externalVaultAddr": { "type": "string" }, "imagePullSecrets": { "type": "array" }, + "namespace": { + "type": "string" + }, "openshift": { "type": "boolean" }, @@ -254,6 +257,14 @@ } } }, + "serverTelemetry": { + "type": "object", + "properties": { + "prometheusOperator": { + "type": "boolean" + } + } + }, "tlsDisable": { "type": "boolean" } @@ -388,6 +399,26 @@ } } }, + "livenessProbe": { + "type": "object", + "properties": { + "failureThreshold": { + "type": "integer" + }, + "initialDelaySeconds": { + "type": "integer" + }, + "periodSeconds": { + "type": "integer" + }, + "successThreshold": { + "type": "integer" + }, + "timeoutSeconds": { + "type": "integer" + } + } + }, "logFormat": { "type": "string" }, @@ -427,6 +458,26 @@ "priorityClassName": { "type": "string" }, + "readinessProbe": { + "type": "object", + "properties": { + "failureThreshold": { + "type": "integer" + }, + "initialDelaySeconds": { + "type": "integer" + }, + "periodSeconds": { + "type": "integer" + }, + "successThreshold": { + "type": "integer" + }, + "timeoutSeconds": { + "type": "integer" + } + } + }, "replicas": { "type": "integer" }, @@ -475,6 +526,26 @@ } } }, + "startupProbe": { + "type": "object", + "properties": { + "failureThreshold": { + "type": "integer" + }, + "initialDelaySeconds": { + "type": "integer" + }, + "periodSeconds": { + "type": "integer" + }, + "successThreshold": { + "type": "integer" + }, + "timeoutSeconds": { + "type": "integer" + } + } + }, "strategy": { "type": [ "object", @@ -559,15 +630,15 @@ "string" ] }, - "labels": { + "enabled": { "type": [ - "object", + "boolean", "string" ] }, - "enabled": { + "labels": { "type": [ - "boolean", + "object", "string" ] }, @@ -593,6 +664,9 @@ } } }, + "configAnnotation": { + "type": "boolean" + }, "dataStorage": { "type": "object", "properties": { @@ -605,15 +679,15 @@ "string" ] }, - "labels": { + "enabled": { "type": [ - "object", + "boolean", "string" ] }, - "enabled": { + "labels": { "type": [ - "boolean", + "object", "string" ] }, @@ -631,17 +705,6 @@ } } }, - "persistentVolumeClaimRetentionPolicy": { - "type": "object", - "properties": { - "whenDeleted": { - "type": "string" - }, - "whenScaled": { - "type": "string" - } - } - }, "dev": { "type": "object", "properties": { @@ -673,12 +736,6 @@ "extraArgs": { "type": "string" }, - "extraPorts": { - "type": [ - "null", - "array" - ] - }, "extraContainers": { "type": [ "null", @@ -697,6 +754,12 @@ "extraLabels": { "type": "object" }, + "extraPorts": { + "type": [ + "null", + "array" + ] + }, "extraSecretEnvironmentVars": { "type": "array" }, @@ -766,6 +829,9 @@ "hostAliases": { "type": "array" }, + "hostNetwork": { + "type": "boolean" + }, "image": { "type": "object", "properties": { @@ -832,6 +898,9 @@ "enabled": { "type": "boolean" }, + "execCommand": { + "type": "array" + }, "failureThreshold": { "type": "integer" }, @@ -841,13 +910,10 @@ "path": { "type": "string" }, - "port": { + "periodSeconds": { "type": "integer" }, - "execCommand": { - "type": "array" - }, - "periodSeconds": { + "port": { "type": "integer" }, "successThreshold": { @@ -885,6 +951,17 @@ "string" ] }, + "persistentVolumeClaimRetentionPolicy": { + "type": "object", + "properties": { + "whenDeleted": { + "type": "string" + }, + "whenScaled": { + "type": "string" + } + } + }, "postStart": { "type": "array" }, @@ -909,6 +986,9 @@ "periodSeconds": { "type": "integer" }, + "port": { + "type": "integer" + }, "successThreshold": { "type": "integer" }, @@ -952,17 +1032,20 @@ "active": { "type": "object", "properties": { - "enabled": { - "type": "boolean" - }, "annotations": { "type": [ "object", "string" ] + }, + "enabled": { + "type": "boolean" } } }, + "activeNodePort": { + "type": "integer" + }, "annotations": { "type": [ "object", @@ -983,6 +1066,15 @@ } } }, + "ipFamilies": { + "type": "array" + }, + "ipFamilyPolicy": { + "type": "string" + }, + "nodePort": { + "type": "integer" + }, "port": { "type": "integer" }, @@ -992,36 +1084,22 @@ "standby": { "type": "object", "properties": { - "enabled": { - "type": "boolean" - }, "annotations": { "type": [ "object", "string" ] + }, + "enabled": { + "type": "boolean" } } }, - "targetPort": { - "type": "integer" - }, - "nodePort": { - "type": "integer" - }, - "activeNodePort": { - "type": "integer" - }, "standbyNodePort": { "type": "integer" }, - "ipFamilyPolicy": { - "type": "string" - }, - "ipFamilies": { - "type": [ - "array" - ] + "targetPort": { + "type": "integer" } } }, @@ -1037,12 +1115,12 @@ "create": { "type": "boolean" }, - "extraLabels": { - "type": "object" - }, "createSecret": { "type": "boolean" }, + "extraLabels": { + "type": "object" + }, "name": { "type": "string" }, @@ -1135,9 +1213,6 @@ "null", "array" ] - }, - "hostNetwork": { - "type": "boolean" } } }, @@ -1157,6 +1232,23 @@ "type": "object" } } + }, + "serviceMonitor": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "interval": { + "type": "string" + }, + "scrapeTimeout": { + "type": "string" + }, + "selectors": { + "type": "object" + } + } } } }, @@ -1187,6 +1279,12 @@ "publishNotReadyAddresses": { "type": "boolean" }, + "serviceIPFamilies": { + "type": "array" + }, + "serviceIPFamilyPolicy": { + "type": "string" + }, "serviceNodePort": { "type": [ "null", @@ -1198,16 +1296,6 @@ }, "targetPort": { "type": "integer" - }, - "serviceIPFamilyPolicy": { - "type": [ - "string" - ] - }, - "serviceIPFamilies": { - "type": [ - "array" - ] } } }