Skip to content

Commit

Permalink
chore: add values and schema file for kblib
Browse files Browse the repository at this point in the history
  • Loading branch information
ldming committed Nov 1, 2024
1 parent 19da210 commit bb58cdd
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 0 deletions.
30 changes: 30 additions & 0 deletions addons-cluster/kblib/values.schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"$schema": "http://json-schema.org/schema#",
"type": "object",
"properties": {
"disableExporter": {
"title": "Monitor Enabled",
"description": "Enable or disable monitor.",
"type": "boolean",
"default": true
},
"terminationPolicy": {
"title": "Termination Policy",
"description": "The termination policy of cluster.",
"type": "string",
"default": "Delete",
"enum": [
"DoNotTerminate",
"Halt",
"Delete",
"WipeOut"
]
},
"rbacEnabled": {
"title": "RBAC Enabled",
"description": "Specify whether rbac resources will be created by client, otherwise KubeBlocks server will try to create rbac resources.",
"type": "boolean",
"default": false
}
}
}
12 changes: 12 additions & 0 deletions addons-cluster/kblib/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Common values for cluster charts

## @param monitoring interval, 0 is no monitoring
##
disableExporter: true

## @param terminationPolicy
terminationPolicy: Delete

## @param rbacEnabled if true, rbac resources will be created
##
rbacEnabled: false

0 comments on commit bb58cdd

Please sign in to comment.