Skip to content

Commit

Permalink
tip: add minimum schema to broken index
Browse files Browse the repository at this point in the history
Signed-off-by: kpango <[email protected]>
  • Loading branch information
kpango committed Jun 8, 2023
1 parent 8660b9f commit e9bdaff
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions charts/vald-helm-operator/crds/valdrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ spec:
type: string
broken_index_history_limit:
type: integer
minimum: 0
bulk_insert_chunk_size:
type: integer
creation_edge_size:
Expand Down
3 changes: 2 additions & 1 deletion charts/vald/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,8 @@
},
"broken_index_history_limit": {
"type": "integer",
"description": "maximum number of broken index generations to backup"
"description": "maximum number of broken index generations to backup",
"minimum": 0
},
"bulk_insert_chunk_size": {
"type": "integer",
Expand Down
2 changes: 1 addition & 1 deletion charts/vald/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1714,7 +1714,7 @@ agent:
# @schema {"name": "agent.ngt.kvsdb.concurrency", "type": "integer"}
# agent.ngt.kvsdb.concurrency -- kvsdb processing concurrency
concurrency: 6
# @schema {"name": "agent.ngt.broken_index_history_limit", "type": "integer"}
# @schema {"name": "agent.ngt.broken_index_history_limit", "type": "integer", "minimum": 0}
# agent.ngt.broken_index_history_limit -- maximum number of broken index generations to backup
broken_index_history_limit: 0
# @schema {"name": "agent.sidecar", "type": "object"}
Expand Down
1 change: 1 addition & 0 deletions k8s/operator/helm/crds/valdrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ spec:
type: string
broken_index_history_limit:
type: integer
minimum: 0
bulk_insert_chunk_size:
type: integer
creation_edge_size:
Expand Down

0 comments on commit e9bdaff

Please sign in to comment.