Skip to content

Commit

Permalink
feat: schema for values
Browse files Browse the repository at this point in the history
  • Loading branch information
eshepelyuk committed Oct 24, 2020
1 parent 6e77311 commit fba11f2
Showing 1 changed file with 54 additions and 0 deletions.
54 changes: 54 additions & 0 deletions values.schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "https://github.com/eshepelyuk/cmak-operator/",
"type": "object",
"title": "CMAK operator title",
"description": "CMAK operator description",
"required": [
"cmak"
],
"properties": {
"cmak": {
"$id": "#/properties/cmak",
"type": "object",
"required": [
"basicAuth"
],
"properties": {
"basicAuth": {
"$id": "#/properties/cmak/properties/basicAuth",
"type": "object",
"required": [
"enabled"
],
"properties": {
"enabled": {
"type": "boolean",
"title": "enabled title",
"description": "enabled description",
"default": false,
"examples": [
true
]
},
"username": {
"type": "string",
"title": "username title",
"description": "username description",
"default": "",
"examples": [
""
]
},
"password": {
"type": "string"
}
},
"additionalProperties": false
}
},
"additionalProperties": true
}
},
"additionalProperties": true
}

0 comments on commit fba11f2

Please sign in to comment.