diff --git a/addons-cluster/kblib/values.schema.json b/addons-cluster/kblib/values.schema.json new file mode 100644 index 000000000..3392eb618 --- /dev/null +++ b/addons-cluster/kblib/values.schema.json @@ -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 + } + } +} diff --git a/addons-cluster/kblib/values.yaml b/addons-cluster/kblib/values.yaml new file mode 100644 index 000000000..461e00d33 --- /dev/null +++ b/addons-cluster/kblib/values.yaml @@ -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