Skip to content

Commit 46aa5a8

Browse files
authored
chore: remove validate.yaml and add constraints to values.schema.json (#1799)
1 parent e23627b commit 46aa5a8

24 files changed

Lines changed: 55 additions & 300 deletions

File tree

addons-cluster/apecloud-mysql/templates/validate.yaml

Lines changed: 0 additions & 15 deletions
This file was deleted.

addons-cluster/clickhouse/templates/validate.yaml

Lines changed: 0 additions & 5 deletions
This file was deleted.

addons-cluster/clickhouse/values.schema.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,11 @@
8989
"description": "Number of ClickHouse Keeper replicas.",
9090
"type": "integer",
9191
"default": 1,
92-
"minimum": 1
92+
"enum": [
93+
1,
94+
3,
95+
5
96+
]
9397
},
9498
"storageClassName": {
9599
"title": "Keeper Storage Class Name",

addons-cluster/elasticsearch/templates/_validate.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@
1111
{{- end -}}
1212
{{- end -}}
1313
{{- if ne $count 1 }}
14-
{{- println "there must be one and one one master node" -}}
14+
{{- println "there must be one and only one master node" -}}
1515
{{- end }}
1616
{{- end }}

addons-cluster/kafka/templates/validate.yaml

Lines changed: 0 additions & 42 deletions
This file was deleted.

addons-cluster/llm/templates/validate.yaml

Lines changed: 0 additions & 12 deletions
This file was deleted.

addons-cluster/mariadb/templates/validate.yaml

Lines changed: 0 additions & 15 deletions
This file was deleted.

addons-cluster/minio/templates/validate.yaml

Lines changed: 0 additions & 15 deletions
This file was deleted.

addons-cluster/mogdb/templates/validate.yaml

Lines changed: 0 additions & 15 deletions
This file was deleted.

addons-cluster/mongodb/templates/validate.yaml

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)