diff --git a/charts/library/common/schemas/container/probes.json b/charts/library/common/schemas/container/probes.json index fe12fbc4c7c9d..80821520d0199 100644 --- a/charts/library/common/schemas/container/probes.json +++ b/charts/library/common/schemas/container/probes.json @@ -1,5 +1,21 @@ { "$schema": "http://json-schema.org/draft-07/schema#", "$ref": "file:///home/runner/work/truecharts/truecharts/charts/library/common/schemas/probes.json", - "description": "Mirrors docs path container/probes.md and reuses shared schema probes.json." + "description": "Mirrors docs path container/probes.md and reuses shared schema probes.json.", + "properties": { + "probes": { + "type": "object" + }, + "liveness": { + "type": "object" + }, + "readiness": { + "type": "object" + } + }, + "required": [ + "liveness", + "probes", + "readiness" + ] } diff --git a/charts/library/common/schemas/container/resources.json b/charts/library/common/schemas/container/resources.json index afe0e12d9605d..debbacea6c335 100644 --- a/charts/library/common/schemas/container/resources.json +++ b/charts/library/common/schemas/container/resources.json @@ -1,5 +1,18 @@ { "$schema": "http://json-schema.org/draft-07/schema#", "$ref": "file:///home/runner/work/truecharts/truecharts/charts/library/common/schemas/resources.json", - "description": "Mirrors docs path container/resources.md and reuses shared schema resources.json." + "description": "Mirrors docs path container/resources.md and reuses shared schema resources.json.", + "properties": { + "resources": { + "type": "object" + }, + "memory": { + "type": "string", + "minLength": 1 + } + }, + "required": [ + "memory", + "resources" + ] } diff --git a/charts/library/common/schemas/container/securityContext.json b/charts/library/common/schemas/container/securityContext.json index 07ae3d9ab5828..18c40bfef4ef5 100644 --- a/charts/library/common/schemas/container/securityContext.json +++ b/charts/library/common/schemas/container/securityContext.json @@ -1,5 +1,49 @@ { "$schema": "http://json-schema.org/draft-07/schema#", "$ref": "file:///home/runner/work/truecharts/truecharts/charts/library/common/schemas/securityContext.json", - "description": "Mirrors docs path container/securityContext.md and reuses shared schema securityContext.json." + "description": "Mirrors docs path container/securityContext.md and reuses shared schema securityContext.json.", + "properties": { + "securityContext": { + "type": "object" + }, + "runAsUser": { + "type": "integer", + "minimum": 0 + }, + "runAsGroup": { + "type": "integer", + "minimum": 0 + }, + "readOnlyRootFilesystem": { + "type": "boolean" + }, + "allowPrivilegeEscalation": { + "type": "boolean" + }, + "privileged": { + "type": "boolean" + }, + "runAsNonRoot": { + "type": "boolean" + }, + "drop": { + "type": "string", + "minLength": 1 + }, + "profile": { + "type": "string", + "minLength": 1 + } + }, + "required": [ + "allowPrivilegeEscalation", + "drop", + "privileged", + "profile", + "readOnlyRootFilesystem", + "runAsGroup", + "runAsNonRoot", + "runAsUser", + "securityContext" + ] } diff --git a/charts/library/common/schemas/global.json b/charts/library/common/schemas/global.json index 7383067757818..25a62ab5598ef 100644 --- a/charts/library/common/schemas/global.json +++ b/charts/library/common/schemas/global.json @@ -67,7 +67,8 @@ }, "minNodePort": { "type": "integer", - "description": "Minimum Node Port Allowed" + "description": "Minimum Node Port Allowed", + "minimum": 1 }, "stopAll": { "type": "boolean", @@ -81,5 +82,8 @@ } }, "additionalProperties": true, - "description": "Global values that apply to all charts See more info about global values [here](/truecharts-common/global)" + "description": "Global values that apply to all charts See more info about global values [here](/truecharts-common/global)", + "required": [ + "minNodePort" + ] } diff --git a/charts/library/common/schemas/ingress/certManager.json b/charts/library/common/schemas/ingress/certManager.json index ab5f83520f0c5..1bc3d31de996d 100644 --- a/charts/library/common/schemas/ingress/certManager.json +++ b/charts/library/common/schemas/ingress/certManager.json @@ -2,6 +2,13 @@ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "description": "Mirrors docs path ingress/certManager.md.", - "properties": {}, - "additionalProperties": true + "properties": { + "enabled": { + "type": "boolean" + } + }, + "additionalProperties": true, + "required": [ + "enabled" + ] } diff --git a/charts/library/common/schemas/ingress/homepage.json b/charts/library/common/schemas/ingress/homepage.json index c3537e90adfed..551a3cf5ab04d 100644 --- a/charts/library/common/schemas/ingress/homepage.json +++ b/charts/library/common/schemas/ingress/homepage.json @@ -2,6 +2,23 @@ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "description": "Mirrors docs path ingress/homepage.md.", - "properties": {}, - "additionalProperties": true + "properties": { + "enabled": { + "type": "boolean" + }, + "key": { + "type": "string", + "minLength": 1 + }, + "value": { + "type": "string", + "minLength": 1 + } + }, + "additionalProperties": true, + "required": [ + "enabled", + "key", + "value" + ] } diff --git a/charts/library/common/schemas/middlewares/traefik/add-prefix.json b/charts/library/common/schemas/middlewares/traefik/add-prefix.json index 2da0ca46115fd..f7123a08eb3fb 100644 --- a/charts/library/common/schemas/middlewares/traefik/add-prefix.json +++ b/charts/library/common/schemas/middlewares/traefik/add-prefix.json @@ -2,6 +2,14 @@ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "description": "Mirrors docs path middlewares/traefik/add-prefix.md.", - "properties": {}, - "additionalProperties": true + "properties": { + "prefix": { + "type": "string", + "minLength": 1 + } + }, + "additionalProperties": true, + "required": [ + "prefix" + ] } diff --git a/charts/library/common/schemas/middlewares/traefik/basic-auth.json b/charts/library/common/schemas/middlewares/traefik/basic-auth.json index 4a26ab1cb877c..c2ee920adc683 100644 --- a/charts/library/common/schemas/middlewares/traefik/basic-auth.json +++ b/charts/library/common/schemas/middlewares/traefik/basic-auth.json @@ -2,6 +2,28 @@ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "description": "Mirrors docs path middlewares/traefik/basic-auth.md.", - "properties": {}, - "additionalProperties": true + "properties": { + "users": { + "type": "object" + }, + "username": { + "type": "string", + "minLength": 1 + }, + "password": { + "type": "string", + "minLength": 1 + }, + "secret": { + "type": "string", + "minLength": 1 + } + }, + "additionalProperties": true, + "required": [ + "password", + "secret", + "username", + "users" + ] } diff --git a/charts/library/common/schemas/middlewares/traefik/chain.json b/charts/library/common/schemas/middlewares/traefik/chain.json index dfac288dd15bb..63e4627dbcec7 100644 --- a/charts/library/common/schemas/middlewares/traefik/chain.json +++ b/charts/library/common/schemas/middlewares/traefik/chain.json @@ -2,6 +2,22 @@ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "description": "Mirrors docs path middlewares/traefik/chain.md.", - "properties": {}, - "additionalProperties": true + "properties": { + "middlewares": { + "type": "object" + }, + "name": { + "type": "string", + "minLength": 1 + }, + "expandObjectName": { + "type": "boolean" + } + }, + "additionalProperties": true, + "required": [ + "expandObjectName", + "middlewares", + "name" + ] } diff --git a/charts/library/common/schemas/middlewares/traefik/forward-auth.json b/charts/library/common/schemas/middlewares/traefik/forward-auth.json index 0c351428f8012..bcc3d5470d692 100644 --- a/charts/library/common/schemas/middlewares/traefik/forward-auth.json +++ b/charts/library/common/schemas/middlewares/traefik/forward-auth.json @@ -2,6 +2,41 @@ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "description": "Mirrors docs path middlewares/traefik/forward-auth.md.", - "properties": {}, - "additionalProperties": true + "properties": { + "address": { + "type": "string", + "minLength": 1 + }, + "authResponseHeadersRegex": { + "type": "string", + "minLength": 1 + }, + "trustForwardHeader": { + "type": "boolean" + }, + "authResponseHeaders": { + "type": "string", + "minLength": 1 + }, + "authRequestHeaders": { + "type": "string", + "minLength": 1 + }, + "tls": { + "type": "object" + }, + "insecureSkipVerify": { + "type": "boolean" + } + }, + "additionalProperties": true, + "required": [ + "address", + "authRequestHeaders", + "authResponseHeaders", + "authResponseHeadersRegex", + "insecureSkipVerify", + "tls", + "trustForwardHeader" + ] } diff --git a/charts/library/common/schemas/middlewares/traefik/ip-allow-list.json b/charts/library/common/schemas/middlewares/traefik/ip-allow-list.json index 73432769bf6c7..b151fed03b142 100644 --- a/charts/library/common/schemas/middlewares/traefik/ip-allow-list.json +++ b/charts/library/common/schemas/middlewares/traefik/ip-allow-list.json @@ -2,6 +2,28 @@ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "description": "Mirrors docs path middlewares/traefik/ip-allow-list.md.", - "properties": {}, - "additionalProperties": true + "properties": { + "sourceRange": { + "type": "string", + "minLength": 1 + }, + "ipStrategy": { + "type": "object" + }, + "depth": { + "type": "integer", + "minimum": 1 + }, + "excludedIPs": { + "type": "string", + "minLength": 1 + } + }, + "additionalProperties": true, + "required": [ + "depth", + "excludedIPs", + "ipStrategy", + "sourceRange" + ] } diff --git a/charts/library/common/schemas/middlewares/traefik/plugin-bouncer.json b/charts/library/common/schemas/middlewares/traefik/plugin-bouncer.json index ce4c9f3f6c654..edcffe089211a 100644 --- a/charts/library/common/schemas/middlewares/traefik/plugin-bouncer.json +++ b/charts/library/common/schemas/middlewares/traefik/plugin-bouncer.json @@ -2,6 +2,13 @@ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "description": "Mirrors docs path middlewares/traefik/plugin-bouncer.md.", - "properties": {}, - "additionalProperties": true + "properties": { + "enabled": { + "type": "boolean" + } + }, + "additionalProperties": true, + "required": [ + "enabled" + ] } diff --git a/charts/library/common/schemas/middlewares/traefik/plugin-geoblock.json b/charts/library/common/schemas/middlewares/traefik/plugin-geoblock.json index f6547a710f28d..ff9ea42fde78f 100644 --- a/charts/library/common/schemas/middlewares/traefik/plugin-geoblock.json +++ b/charts/library/common/schemas/middlewares/traefik/plugin-geoblock.json @@ -2,6 +2,19 @@ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "description": "Mirrors docs path middlewares/traefik/plugin-geoblock.md.", - "properties": {}, - "additionalProperties": true + "properties": { + "api": { + "type": "string", + "minLength": 1 + }, + "countries": { + "type": "string", + "minLength": 1 + } + }, + "additionalProperties": true, + "required": [ + "api", + "countries" + ] } diff --git a/charts/library/common/schemas/middlewares/traefik/plugin-mod-security.json b/charts/library/common/schemas/middlewares/traefik/plugin-mod-security.json index 4be4a6cbebdcb..d0afcb0bbcaf7 100644 --- a/charts/library/common/schemas/middlewares/traefik/plugin-mod-security.json +++ b/charts/library/common/schemas/middlewares/traefik/plugin-mod-security.json @@ -2,6 +2,14 @@ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "description": "Mirrors docs path middlewares/traefik/plugin-mod-security.md.", - "properties": {}, - "additionalProperties": true + "properties": { + "modSecurityUrl": { + "type": "string", + "minLength": 1 + } + }, + "additionalProperties": true, + "required": [ + "modSecurityUrl" + ] } diff --git a/charts/library/common/schemas/middlewares/traefik/plugin-real-ip.json b/charts/library/common/schemas/middlewares/traefik/plugin-real-ip.json index 2627784da4e68..c4516a6940906 100644 --- a/charts/library/common/schemas/middlewares/traefik/plugin-real-ip.json +++ b/charts/library/common/schemas/middlewares/traefik/plugin-real-ip.json @@ -2,6 +2,14 @@ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "description": "Mirrors docs path middlewares/traefik/plugin-real-ip.md.", - "properties": {}, - "additionalProperties": true + "properties": { + "excludednets": { + "type": "string", + "minLength": 1 + } + }, + "additionalProperties": true, + "required": [ + "excludednets" + ] } diff --git a/charts/library/common/schemas/middlewares/traefik/plugin-rewrite-response-headers.json b/charts/library/common/schemas/middlewares/traefik/plugin-rewrite-response-headers.json index c9b8c2ac126a5..b83db46b2c69a 100644 --- a/charts/library/common/schemas/middlewares/traefik/plugin-rewrite-response-headers.json +++ b/charts/library/common/schemas/middlewares/traefik/plugin-rewrite-response-headers.json @@ -2,6 +2,28 @@ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "description": "Mirrors docs path middlewares/traefik/plugin-rewrite-response-headers.md.", - "properties": {}, - "additionalProperties": true + "properties": { + "rewrites": { + "type": "object" + }, + "header": { + "type": "string", + "minLength": 1 + }, + "regex": { + "type": "string", + "minLength": 1 + }, + "replacement": { + "type": "string", + "minLength": 1 + } + }, + "additionalProperties": true, + "required": [ + "header", + "regex", + "replacement", + "rewrites" + ] } diff --git a/charts/library/common/schemas/middlewares/traefik/plugin-theme-park.json b/charts/library/common/schemas/middlewares/traefik/plugin-theme-park.json index 8769176057be0..fafbe56ab7b73 100644 --- a/charts/library/common/schemas/middlewares/traefik/plugin-theme-park.json +++ b/charts/library/common/schemas/middlewares/traefik/plugin-theme-park.json @@ -2,6 +2,19 @@ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "description": "Mirrors docs path middlewares/traefik/plugin-theme-park.md.", - "properties": {}, - "additionalProperties": true + "properties": { + "app": { + "type": "string", + "minLength": 1 + }, + "theme": { + "type": "string", + "minLength": 1 + } + }, + "additionalProperties": true, + "required": [ + "app", + "theme" + ] } diff --git a/charts/library/common/schemas/middlewares/traefik/redirect-regex.json b/charts/library/common/schemas/middlewares/traefik/redirect-regex.json index e2cf8ba60ca99..e79a05b56077d 100644 --- a/charts/library/common/schemas/middlewares/traefik/redirect-regex.json +++ b/charts/library/common/schemas/middlewares/traefik/redirect-regex.json @@ -2,6 +2,19 @@ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "description": "Mirrors docs path middlewares/traefik/redirect-regex.md.", - "properties": {}, - "additionalProperties": true + "properties": { + "regex": { + "type": "string", + "minLength": 1 + }, + "replacement": { + "type": "string", + "minLength": 1 + } + }, + "additionalProperties": true, + "required": [ + "regex", + "replacement" + ] } diff --git a/charts/library/common/schemas/middlewares/traefik/redirect-scheme.json b/charts/library/common/schemas/middlewares/traefik/redirect-scheme.json index a46a2220d7e02..1b595c37047c7 100644 --- a/charts/library/common/schemas/middlewares/traefik/redirect-scheme.json +++ b/charts/library/common/schemas/middlewares/traefik/redirect-scheme.json @@ -2,6 +2,14 @@ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "description": "Mirrors docs path middlewares/traefik/redirect-scheme.md.", - "properties": {}, - "additionalProperties": true + "properties": { + "scheme": { + "type": "string", + "minLength": 1 + } + }, + "additionalProperties": true, + "required": [ + "scheme" + ] } diff --git a/charts/library/common/schemas/middlewares/traefik/replace-path-regex.json b/charts/library/common/schemas/middlewares/traefik/replace-path-regex.json index 5df6863706e83..44e460a561c95 100644 --- a/charts/library/common/schemas/middlewares/traefik/replace-path-regex.json +++ b/charts/library/common/schemas/middlewares/traefik/replace-path-regex.json @@ -2,6 +2,19 @@ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "description": "Mirrors docs path middlewares/traefik/replace-path-regex.md.", - "properties": {}, - "additionalProperties": true + "properties": { + "regex": { + "type": "string", + "minLength": 1 + }, + "replacement": { + "type": "string", + "minLength": 1 + } + }, + "additionalProperties": true, + "required": [ + "regex", + "replacement" + ] } diff --git a/charts/library/common/schemas/middlewares/traefik/replace-path.json b/charts/library/common/schemas/middlewares/traefik/replace-path.json index 089d358368f02..7a7554017f0b0 100644 --- a/charts/library/common/schemas/middlewares/traefik/replace-path.json +++ b/charts/library/common/schemas/middlewares/traefik/replace-path.json @@ -2,6 +2,14 @@ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "description": "Mirrors docs path middlewares/traefik/replace-path.md.", - "properties": {}, - "additionalProperties": true + "properties": { + "path": { + "type": "string", + "minLength": 1 + } + }, + "additionalProperties": true, + "required": [ + "path" + ] } diff --git a/charts/library/common/schemas/middlewares/traefik/retry.json b/charts/library/common/schemas/middlewares/traefik/retry.json index 4eea8d1eab21e..08ba6f6e0acc2 100644 --- a/charts/library/common/schemas/middlewares/traefik/retry.json +++ b/charts/library/common/schemas/middlewares/traefik/retry.json @@ -2,6 +2,14 @@ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "description": "Mirrors docs path middlewares/traefik/retry.md.", - "properties": {}, - "additionalProperties": true + "properties": { + "attempts": { + "type": "string", + "minLength": 1 + } + }, + "additionalProperties": true, + "required": [ + "attempts" + ] } diff --git a/charts/library/common/schemas/middlewares/traefik/strip-prefix-regex.json b/charts/library/common/schemas/middlewares/traefik/strip-prefix-regex.json index eccea49e22817..661598ba32e5a 100644 --- a/charts/library/common/schemas/middlewares/traefik/strip-prefix-regex.json +++ b/charts/library/common/schemas/middlewares/traefik/strip-prefix-regex.json @@ -2,6 +2,14 @@ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "description": "Mirrors docs path middlewares/traefik/strip-prefix-regex.md.", - "properties": {}, - "additionalProperties": true + "properties": { + "regex": { + "type": "string", + "minLength": 1 + } + }, + "additionalProperties": true, + "required": [ + "regex" + ] } diff --git a/charts/library/common/schemas/middlewares/traefik/strip-prefix.json b/charts/library/common/schemas/middlewares/traefik/strip-prefix.json index 46502ff0b901b..11006c63ab77f 100644 --- a/charts/library/common/schemas/middlewares/traefik/strip-prefix.json +++ b/charts/library/common/schemas/middlewares/traefik/strip-prefix.json @@ -2,6 +2,14 @@ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "description": "Mirrors docs path middlewares/traefik/strip-prefix.md.", - "properties": {}, - "additionalProperties": true + "properties": { + "prefix": { + "type": "string", + "minLength": 1 + } + }, + "additionalProperties": true, + "required": [ + "prefix" + ] } diff --git a/charts/library/common/schemas/persistence/configmap.json b/charts/library/common/schemas/persistence/configmap.json index 99467849ddfe4..dc8b4a98dbce9 100644 --- a/charts/library/common/schemas/persistence/configmap.json +++ b/charts/library/common/schemas/persistence/configmap.json @@ -1,5 +1,24 @@ { "$schema": "http://json-schema.org/draft-07/schema#", "$ref": "file:///home/runner/work/truecharts/truecharts/charts/library/common/schemas/configmap.json", - "description": "Mirrors docs path persistence/configmap.md and reuses shared schema configmap.json." + "description": "Mirrors docs path persistence/configmap.md and reuses shared schema configmap.json.", + "properties": { + "objectName": { + "type": "string", + "minLength": 1 + }, + "key": { + "type": "string", + "minLength": 1 + }, + "path": { + "type": "string", + "minLength": 1 + } + }, + "required": [ + "key", + "objectName", + "path" + ] } diff --git a/charts/library/common/schemas/persistence/device.json b/charts/library/common/schemas/persistence/device.json index a8a92b0d2cc4d..17fc630dba093 100644 --- a/charts/library/common/schemas/persistence/device.json +++ b/charts/library/common/schemas/persistence/device.json @@ -2,6 +2,14 @@ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "description": "Mirrors docs path persistence/device.md.", - "properties": {}, - "additionalProperties": true + "properties": { + "hostPath": { + "type": "string", + "minLength": 1 + } + }, + "additionalProperties": true, + "required": [ + "hostPath" + ] } diff --git a/charts/library/common/schemas/persistence/hostPath.json b/charts/library/common/schemas/persistence/hostPath.json index b8699a3c025b8..eb79d9f7fcffb 100644 --- a/charts/library/common/schemas/persistence/hostPath.json +++ b/charts/library/common/schemas/persistence/hostPath.json @@ -2,6 +2,14 @@ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "description": "Mirrors docs path persistence/hostPath.md.", - "properties": {}, - "additionalProperties": true + "properties": { + "hostPath": { + "type": "string", + "minLength": 1 + } + }, + "additionalProperties": true, + "required": [ + "hostPath" + ] } diff --git a/charts/library/common/schemas/persistence/iscsi.json b/charts/library/common/schemas/persistence/iscsi.json index bdcce5ea7366d..27d3c5020f130 100644 --- a/charts/library/common/schemas/persistence/iscsi.json +++ b/charts/library/common/schemas/persistence/iscsi.json @@ -2,6 +2,28 @@ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "description": "Mirrors docs path persistence/iscsi.md.", - "properties": {}, - "additionalProperties": true + "properties": { + "iscsi": { + "type": "object" + }, + "targetPortal": { + "type": "string", + "minLength": 1 + }, + "iqn": { + "type": "string", + "minLength": 1 + }, + "lun": { + "type": "integer", + "minimum": 0 + } + }, + "additionalProperties": true, + "required": [ + "iqn", + "iscsi", + "lun", + "targetPortal" + ] } diff --git a/charts/library/common/schemas/persistence/nfs.json b/charts/library/common/schemas/persistence/nfs.json index 1ab8855525d43..bc6a697030597 100644 --- a/charts/library/common/schemas/persistence/nfs.json +++ b/charts/library/common/schemas/persistence/nfs.json @@ -2,6 +2,19 @@ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "description": "Mirrors docs path persistence/nfs.md.", - "properties": {}, - "additionalProperties": true + "properties": { + "path": { + "type": "string", + "minLength": 1 + }, + "server": { + "type": "string", + "minLength": 1 + } + }, + "additionalProperties": true, + "required": [ + "path", + "server" + ] } diff --git a/charts/library/common/schemas/persistence/pvc-vct/static-custom.json b/charts/library/common/schemas/persistence/pvc-vct/static-custom.json index 183bcac96e41f..a3d5f57773145 100644 --- a/charts/library/common/schemas/persistence/pvc-vct/static-custom.json +++ b/charts/library/common/schemas/persistence/pvc-vct/static-custom.json @@ -2,6 +2,19 @@ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "description": "Mirrors docs path persistence/pvc-vct/static-custom.md.", - "properties": {}, - "additionalProperties": true + "properties": { + "driver": { + "type": "string", + "minLength": 1 + }, + "provisioner": { + "type": "string", + "minLength": 1 + } + }, + "additionalProperties": true, + "required": [ + "driver", + "provisioner" + ] } diff --git a/charts/library/common/schemas/persistence/pvc-vct/static-nfs.json b/charts/library/common/schemas/persistence/pvc-vct/static-nfs.json index 29a7d10bdd1b1..d6d0bcc7a8c4f 100644 --- a/charts/library/common/schemas/persistence/pvc-vct/static-nfs.json +++ b/charts/library/common/schemas/persistence/pvc-vct/static-nfs.json @@ -2,6 +2,19 @@ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "description": "Mirrors docs path persistence/pvc-vct/static-nfs.md.", - "properties": {}, - "additionalProperties": true + "properties": { + "server": { + "type": "string", + "minLength": 1 + }, + "share": { + "type": "string", + "minLength": 1 + } + }, + "additionalProperties": true, + "required": [ + "server", + "share" + ] } diff --git a/charts/library/common/schemas/persistence/pvc-vct/static-smb.json b/charts/library/common/schemas/persistence/pvc-vct/static-smb.json index d4c6a3db91cab..29e98cf4771a4 100644 --- a/charts/library/common/schemas/persistence/pvc-vct/static-smb.json +++ b/charts/library/common/schemas/persistence/pvc-vct/static-smb.json @@ -2,6 +2,29 @@ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "description": "Mirrors docs path persistence/pvc-vct/static-smb.md.", - "properties": {}, - "additionalProperties": true + "properties": { + "server": { + "type": "string", + "minLength": 1 + }, + "share": { + "type": "string", + "minLength": 1 + }, + "user": { + "type": "string", + "minLength": 1 + }, + "password": { + "type": "string", + "minLength": 1 + } + }, + "additionalProperties": true, + "required": [ + "password", + "server", + "share", + "user" + ] } diff --git a/charts/library/common/schemas/persistence/secret.json b/charts/library/common/schemas/persistence/secret.json index 4319675a0ffa1..95177e367cc95 100644 --- a/charts/library/common/schemas/persistence/secret.json +++ b/charts/library/common/schemas/persistence/secret.json @@ -1,5 +1,24 @@ { "$schema": "http://json-schema.org/draft-07/schema#", "$ref": "file:///home/runner/work/truecharts/truecharts/charts/library/common/schemas/secret.json", - "description": "Mirrors docs path persistence/secret.md and reuses shared schema secret.json." + "description": "Mirrors docs path persistence/secret.md and reuses shared schema secret.json.", + "properties": { + "objectName": { + "type": "string", + "minLength": 1 + }, + "key": { + "type": "string", + "minLength": 1 + }, + "path": { + "type": "string", + "minLength": 1 + } + }, + "required": [ + "key", + "objectName", + "path" + ] } diff --git a/charts/library/common/schemas/service/ExternalIP.json b/charts/library/common/schemas/service/ExternalIP.json index 9b05bc3337261..622548522707c 100644 --- a/charts/library/common/schemas/service/ExternalIP.json +++ b/charts/library/common/schemas/service/ExternalIP.json @@ -2,6 +2,14 @@ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "description": "Mirrors docs path service/ExternalIP.md.", - "properties": {}, - "additionalProperties": true + "properties": { + "externalIP": { + "type": "string", + "minLength": 1 + } + }, + "additionalProperties": true, + "required": [ + "externalIP" + ] } diff --git a/charts/library/common/schemas/service/ExternalName.json b/charts/library/common/schemas/service/ExternalName.json index 185d7f857ae4b..e388c4b9b1487 100644 --- a/charts/library/common/schemas/service/ExternalName.json +++ b/charts/library/common/schemas/service/ExternalName.json @@ -2,6 +2,14 @@ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "description": "Mirrors docs path service/ExternalName.md.", - "properties": {}, - "additionalProperties": true + "properties": { + "externalName": { + "type": "string", + "minLength": 1 + } + }, + "additionalProperties": true, + "required": [ + "externalName" + ] } diff --git a/charts/library/common/schemas/service/NodePort.json b/charts/library/common/schemas/service/NodePort.json index d7866a95d10c1..3d09d65c75b03 100644 --- a/charts/library/common/schemas/service/NodePort.json +++ b/charts/library/common/schemas/service/NodePort.json @@ -2,6 +2,14 @@ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "description": "Mirrors docs path service/NodePort.md.", - "properties": {}, - "additionalProperties": true + "properties": { + "nodePort": { + "type": "integer", + "minimum": 1 + } + }, + "additionalProperties": true, + "required": [ + "nodePort" + ] } diff --git a/charts/library/common/schemas/service/ports.json b/charts/library/common/schemas/service/ports.json index a74275bf93eb3..b402294f6c9a8 100644 --- a/charts/library/common/schemas/service/ports.json +++ b/charts/library/common/schemas/service/ports.json @@ -2,6 +2,14 @@ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "description": "Mirrors docs path service/ports.md.", - "properties": {}, - "additionalProperties": true + "properties": { + "port": { + "type": "integer", + "minimum": 1 + } + }, + "additionalProperties": true, + "required": [ + "port" + ] } diff --git a/charts/library/common/schemas/workload/cronjob.json b/charts/library/common/schemas/workload/cronjob.json index b312c64d45411..f0097096f2f16 100644 --- a/charts/library/common/schemas/workload/cronjob.json +++ b/charts/library/common/schemas/workload/cronjob.json @@ -2,6 +2,14 @@ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "description": "Mirrors docs path workload/cronjob.md.", - "properties": {}, - "additionalProperties": true + "properties": { + "schedule": { + "type": "string", + "minLength": 1 + } + }, + "additionalProperties": true, + "required": [ + "schedule" + ] }