Skip to content

Commit

Permalink
Update values schema
Browse files Browse the repository at this point in the history
  • Loading branch information
ykadowak committed Feb 16, 2024
1 parent b252d21 commit b655d21
Show file tree
Hide file tree
Showing 2 changed files with 81 additions and 0 deletions.
29 changes: 29 additions & 0 deletions charts/vald-helm-operator/crds/valdrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -251,13 +265,17 @@ 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:
type: boolean
error_buffer_limit:
type: integer
minimum: 1
export_index_info_duration:
type: string
index_path:
type: string
initial_delay_max_duration:
Expand All @@ -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:
Expand Down Expand Up @@ -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:
Expand Down
52 changes: 52 additions & 0 deletions charts/vald/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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"
Expand All @@ -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"
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit b655d21

Please sign in to comment.