From b655d2196579086d549214b79bc0ef7ac108d7d7 Mon Sep 17 00:00:00 2001 From: ykadowak Date: Wed, 14 Feb 2024 06:09:49 +0000 Subject: [PATCH] Update values schema --- .../vald-helm-operator/crds/valdrelease.yaml | 29 +++++++++++ charts/vald/values.schema.json | 52 +++++++++++++++++++ 2 files changed, 81 insertions(+) diff --git a/charts/vald-helm-operator/crds/valdrelease.yaml b/charts/vald-helm-operator/crds/valdrelease.yaml index fa8d749b29..6e7776f91d 100644 --- a/charts/vald-helm-operator/crds/valdrelease.yaml +++ b/charts/vald-helm-operator/crds/valdrelease.yaml @@ -124,6 +124,20 @@ spec: annotations: type: object x-kubernetes-preserve-unknown-fields: true + clusterRole: + type: object + properties: + enabled: + type: boolean + name: + type: string + clusterRoleBinding: + type: object + properties: + enabled: + type: boolean + name: + type: string enabled: type: boolean env: @@ -251,6 +265,8 @@ spec: - normalizedcosine enable_copy_on_write: type: boolean + enable_export_index_info_to_k8s: + type: boolean enable_in_memory_mode: type: boolean enable_proactive_gc: @@ -258,6 +274,8 @@ spec: error_buffer_limit: type: integer minimum: 1 + export_index_info_duration: + type: string index_path: type: string initial_delay_max_duration: @@ -273,12 +291,16 @@ spec: type: string min_load_index_timeout: type: string + namespace: + type: string object_type: type: string enum: - float - float16 - uint8 + pod_name: + type: string search_edge_size: type: integer vqueue: @@ -959,6 +981,13 @@ spec: labels: type: object x-kubernetes-preserve-unknown-fields: true + serviceAccount: + type: object + properties: + enabled: + type: boolean + name: + type: string serviceType: type: string enum: diff --git a/charts/vald/values.schema.json b/charts/vald/values.schema.json index 3812adcd1d..285a78aa2a 100644 --- a/charts/vald/values.schema.json +++ b/charts/vald/values.schema.json @@ -70,6 +70,29 @@ "type": "object", "description": "deployment annotations" }, + "clusterRole": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "description": "creates clusterRole resource" + }, + "name": { "type": "string", "description": "name of clusterRole" } + } + }, + "clusterRoleBinding": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "description": "creates clusterRoleBinding resource" + }, + "name": { + "type": "string", + "description": "name of clusterRoleBinding" + } + } + }, "enabled": { "type": "boolean", "description": "agent enabled" }, "env": { "type": "array", @@ -238,6 +261,10 @@ "type": "boolean", "description": "enable copy on write saving for more stable backup" }, + "enable_export_index_info_to_k8s": { + "type": "boolean", + "description": "enable export index info to k8s" + }, "enable_in_memory_mode": { "type": "boolean", "description": "in-memory mode enabled" @@ -251,6 +278,10 @@ "description": "maximum number of core ngt error buffer pool size limit", "minimum": 1 }, + "export_index_info_duration": { + "type": "string", + "description": "duration of exporting index info" + }, "index_path": { "type": "string", "description": "path to index data" @@ -280,11 +311,19 @@ "type": "string", "description": "minimum duration of load index timeout" }, + "namespace": { + "type": "string", + "description": "namespace of myself" + }, "object_type": { "type": "string", "description": "object type. it should be `float` or `uint8` or `float16`. for further details: https://github.com/yahoojapan/NGT/wiki/Command-Quick-Reference", "enum": ["float", "float16", "uint8"] }, + "pod_name": { + "type": "string", + "description": "pod name of myself" + }, "search_edge_size": { "type": "integer", "description": "search edge size" @@ -1459,6 +1498,19 @@ "labels": { "type": "object", "description": "service labels" } } }, + "serviceAccount": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "description": "creates service account" + }, + "name": { + "type": "string", + "description": "name of service account" + } + } + }, "serviceType": { "type": "string", "description": "service type: ClusterIP, LoadBalancer or NodePort",