Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add values.schema.json for redis #61

Merged
merged 2 commits into from
Jul 6, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/test/redis/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
name: redis
version: 0.2.0
version: 0.3.0
appVersion: "5.0.5"
description: Redis is an open source (BSD licensed), in-memory data structure store, used as a database, cache and message broker.
icon: https://upload.wikimedia.org/wikipedia/en/6/6b/Redis_Logo.svg
Expand Down
31 changes: 31 additions & 0 deletions src/test/redis/values.schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"$schema": "https://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"persistence": {
"type": "object",
"title": "Data Persistence",
"form": true,
"properties": {
"size": {
"type": "string",
"title": "Persistent Volume Size",
"form": true,
"render": "slider",
"sliderMin": 1,
"sliderMax": 100,
"sliderUnit": "Gi"
}
}
},
"password": {
"type": "string",
"title": "Password",
"form": true,
"regex": "^([a-zA-Z0-9_!@#$%^&*()./;]{6,}|)$"
}
},
"required": [
"persistence"
]
}
2 changes: 1 addition & 1 deletion src/test/redis/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ config: |-
# redis.conf
appendonly yes

password:
password: ""

service:
type: ClusterIP
Expand Down