From 75ae235281abb9ecc92f685badf6c68dd0182de4 Mon Sep 17 00:00:00 2001 From: Julian Perge Date: Mon, 7 Oct 2024 19:47:41 -0400 Subject: [PATCH] Added missing schema properties and values --- charts/k6-operator/values.schema.json | 20 ++++++-------------- charts/k6-operator/values.yaml | 23 +++++++++++++++++++++++ 2 files changed, 29 insertions(+), 14 deletions(-) diff --git a/charts/k6-operator/values.schema.json b/charts/k6-operator/values.schema.json index 4335a1c7..45488047 100644 --- a/charts/k6-operator/values.schema.json +++ b/charts/k6-operator/values.schema.json @@ -106,15 +106,13 @@ "type": "string" } }, + "description": "global.image -- Global image configuration", "title": "image", "type": "object" } }, "title": "global", - "type": "object", - "required": [ - "image" - ] + "type": "object" }, "installCRDs": { "default": true, @@ -171,6 +169,7 @@ "type": "string" } }, + "description": "manager.image -- controller-manager image configuration", "title": "image", "type": "object" }, @@ -260,11 +259,9 @@ "type": "object" } }, + "description": "manager -- controller-manager configuration", "title": "manager", - "type": "object", - "required": [ - "image" - ] + "type": "object" }, "namespace": { "additionalProperties": false, @@ -319,10 +316,5 @@ } }, "$schema": "http://json-schema.org/draft-07/schema#", - "type": "object", - "required": [ - "global", - "prometheus", - "manager" - ] + "type": "object" } \ No newline at end of file diff --git a/charts/k6-operator/values.yaml b/charts/k6-operator/values.yaml index a5120e86..f0c80f9e 100644 --- a/charts/k6-operator/values.yaml +++ b/charts/k6-operator/values.yaml @@ -1,4 +1,13 @@ +# @schema +# required: false +# type: object +# @schema global: + # @schema + # required: false + # type: object + # @schema + # global.image -- Global image configuration image: # @schema # required: false @@ -90,6 +99,10 @@ namespace: # namespace.create -- create the namespace (default: true) create: true +# @schema +# required: false +# type: object +# @schema prometheus: # @schema # required: false @@ -171,6 +184,11 @@ authProxy: # authProxy.containerSecurityContext -- A security context defines privileges and access control settings for the container. containerSecurityContext: {} +# @schema +# required: false +# type: object +# @schema +# manager -- controller-manager configuration manager: # @schema # required: false @@ -195,6 +213,11 @@ manager: # @schema # manager.serviceAccount.create -- create the service account (default: true) create: true + # @schema + # required: false + # type: object + # @schema + # manager.image -- controller-manager image configuration image: # @schema # required: false