Files
cozystack/packages/extra/etcd/values.schema.json

123 lines
3.9 KiB
JSON

{
"title": "Chart Values",
"type": "object",
"properties": {
"size": {
"description": "Persistent Volume size.",
"default": "4Gi",
"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",
"default": ""
},
"replicas": {
"description": "Number of etcd replicas.",
"type": "integer",
"default": 3
},
"resources": {
"description": "Resource configuration for etcd.",
"type": "object",
"default": {},
"properties": {
"cpu": {
"description": "Number of CPU cores allocated.",
"default": "1000m",
"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": "Amount of memory allocated.",
"default": "512Mi",
"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
}
}
},
"backup": {
"description": "DEPRECATED: Backup configuration. The chart still renders the legacy EtcdBackupSchedule when backup.enabled=true, but new tenants should drive backups through a BackupClass bound to the Etcd strategy (strategy.backups.cozystack.io/v1alpha1).",
"type": "object",
"default": {},
"properties": {
"destinationPath": {
"description": "DEPRECATED: Destination path for backups (e.g. s3://bucket/path/).",
"type": "string",
"default": ""
},
"enabled": {
"description": "DEPRECATED: Enable scheduled S3 backups. Use a BackupJob against an Etcd strategy instead.",
"type": "boolean",
"default": false
},
"endpointURL": {
"description": "DEPRECATED: S3 endpoint URL for uploads.",
"type": "string",
"default": ""
},
"failedJobsHistoryLimit": {
"description": "DEPRECATED: Number of failed backup jobs to retain.",
"type": "integer",
"default": 1
},
"forcePathStyle": {
"description": "DEPRECATED: Use path-style S3 URLs (required for MinIO and most S3-compatible providers).",
"type": "boolean",
"default": true
},
"region": {
"description": "DEPRECATED: S3 region.",
"type": "string",
"default": ""
},
"s3AccessKey": {
"description": "DEPRECATED: Access key for S3 authentication.",
"type": "string",
"default": ""
},
"s3SecretKey": {
"description": "DEPRECATED: Secret key for S3 authentication.",
"type": "string",
"default": ""
},
"schedule": {
"description": "DEPRECATED: Cron schedule for automated backups. Use a backups.cozystack.io/Plan instead.",
"type": "string",
"default": "0 2 * * *"
},
"successfulJobsHistoryLimit": {
"description": "DEPRECATED: Number of successful backup jobs to retain.",
"type": "integer",
"default": 3
}
}
}
}
}