mirror of
https://github.com/cozystack/cozystack.git
synced 2026-11-09 05:25:14 +09:00
- Remove duplicate values from rabbitmq README - Use placeholders for passwords and secrets - Fix copy-pasted postgres reference in mysql - Fix links to cloud-init docs - Explain CPU and memory consistently Signed-off-by: Nick Volynkin <nick.volynkin@gmail.com>
202 lines
6.0 KiB
JSON
202 lines
6.0 KiB
JSON
{
|
|
"title": "Chart Values",
|
|
"type": "object",
|
|
"properties": {
|
|
"backup": {
|
|
"description": "Backup configuration",
|
|
"type": "object",
|
|
"default": {
|
|
"destinationPath": "s3://bucket/path/to/folder/",
|
|
"enabled": false,
|
|
"endpointURL": "http://minio-gateway-service:9000",
|
|
"retentionPolicy": "30d",
|
|
"s3AccessKey": "\u003cyour-access-key\u003e",
|
|
"s3SecretKey": "\u003cyour-secret-key\u003e",
|
|
"schedule": "0 2 * * * *"
|
|
},
|
|
"required": [
|
|
"destinationPath",
|
|
"enabled",
|
|
"endpointURL",
|
|
"retentionPolicy",
|
|
"s3AccessKey",
|
|
"s3SecretKey",
|
|
"schedule"
|
|
],
|
|
"properties": {
|
|
"destinationPath": {
|
|
"description": "Path to store the backup (i.e. s3://bucket/path/to/folder)",
|
|
"type": "string",
|
|
"default": "s3://bucket/path/to/folder/"
|
|
},
|
|
"enabled": {
|
|
"description": "Enable regular backups, default is `false`.",
|
|
"type": "boolean",
|
|
"default": false
|
|
},
|
|
"endpointURL": {
|
|
"description": "S3 Endpoint used to upload data to the cloud",
|
|
"type": "string",
|
|
"default": "http://minio-gateway-service:9000"
|
|
},
|
|
"retentionPolicy": {
|
|
"description": "Retention policy",
|
|
"type": "string",
|
|
"default": "30d"
|
|
},
|
|
"s3AccessKey": {
|
|
"description": "Access key for S3, used for authentication",
|
|
"type": "string",
|
|
"default": "\u003cyour-access-key\u003e"
|
|
},
|
|
"s3SecretKey": {
|
|
"description": "Secret key for S3, used for authentication",
|
|
"type": "string",
|
|
"default": "\u003cyour-secret-key\u003e"
|
|
},
|
|
"schedule": {
|
|
"description": "Cron schedule for automated backups",
|
|
"type": "string",
|
|
"default": "0 2 * * * *"
|
|
}
|
|
}
|
|
},
|
|
"bootstrap": {
|
|
"description": "Bootstrap (recovery) configuration",
|
|
"type": "object",
|
|
"default": {
|
|
"enabled": false,
|
|
"oldName": "",
|
|
"recoveryTime": ""
|
|
},
|
|
"properties": {
|
|
"enabled": {
|
|
"description": "Restore database cluster from a backup",
|
|
"type": "boolean",
|
|
"default": false
|
|
},
|
|
"oldName": {
|
|
"description": "Name of database cluster before deleting",
|
|
"type": "string"
|
|
},
|
|
"recoveryTime": {
|
|
"description": "Timestamp (PITR) up to which recovery will proceed, expressed in RFC 3339 format. If left empty, will restore latest.",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"external": {
|
|
"description": "Enable external access from outside the cluster",
|
|
"type": "boolean",
|
|
"default": false
|
|
},
|
|
"quorum": {
|
|
"description": "Configuration for the quorum-based synchronous replication",
|
|
"type": "object",
|
|
"default": {
|
|
"maxSyncReplicas": 0,
|
|
"minSyncReplicas": 0
|
|
},
|
|
"required": [
|
|
"maxSyncReplicas",
|
|
"minSyncReplicas"
|
|
],
|
|
"properties": {
|
|
"maxSyncReplicas": {
|
|
"description": "Maximum number of synchronous replicas that can acknowledge a transaction (must be lower than the total number of replicas)",
|
|
"type": "integer",
|
|
"default": 0
|
|
},
|
|
"minSyncReplicas": {
|
|
"description": "Minimum number of synchronous replicas that must acknowledge a transaction before it is considered committed",
|
|
"type": "integer",
|
|
"default": 0
|
|
}
|
|
}
|
|
},
|
|
"replicas": {
|
|
"description": "Number of replicas",
|
|
"type": "integer",
|
|
"default": 2
|
|
},
|
|
"resources": {
|
|
"description": "Explicit CPU and memory configuration for each FerretDB replica. When left empty, the preset defined in `resourcesPreset` is applied.",
|
|
"type": "object",
|
|
"default": {},
|
|
"properties": {
|
|
"cpu": {
|
|
"description": "CPU available to each replica",
|
|
"pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$",
|
|
"anyOf": [
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"type": "string"
|
|
}
|
|
],
|
|
"x-kubernetes-int-or-string": true
|
|
},
|
|
"memory": {
|
|
"description": "Memory (RAM) available to each replica",
|
|
"pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$",
|
|
"anyOf": [
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"type": "string"
|
|
}
|
|
],
|
|
"x-kubernetes-int-or-string": true
|
|
}
|
|
}
|
|
},
|
|
"resourcesPreset": {
|
|
"description": "Default sizing preset used when `resources` is omitted. Allowed values: `nano`, `micro`, `small`, `medium`, `large`, `xlarge`, `2xlarge`.",
|
|
"type": "string",
|
|
"default": "micro",
|
|
"enum": [
|
|
"nano",
|
|
"micro",
|
|
"small",
|
|
"medium",
|
|
"large",
|
|
"xlarge",
|
|
"2xlarge"
|
|
]
|
|
},
|
|
"size": {
|
|
"description": "Persistent Volume Claim size, available for application data",
|
|
"default": "10Gi",
|
|
"pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$",
|
|
"anyOf": [
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"type": "string"
|
|
}
|
|
],
|
|
"x-kubernetes-int-or-string": true
|
|
},
|
|
"storageClass": {
|
|
"description": "StorageClass used to store the data",
|
|
"type": "string"
|
|
},
|
|
"users": {
|
|
"description": "Users configuration",
|
|
"type": "object",
|
|
"default": {},
|
|
"additionalProperties": {
|
|
"type": "object",
|
|
"properties": {
|
|
"password": {
|
|
"description": "Password for the user",
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |