{ "title": "Chart Values", "type": "object", "properties": { "backup": { "description": "Backup configuration", "type": "object", "default": { "cleanupStrategy": "--keep-last=3 --keep-daily=3 --keep-within-weekly=1m", "enabled": false, "resticPassword": "ChaXoveekoh6eigh4siesheeda2quai0", "s3AccessKey": "oobaiRus9pah8PhohL1ThaeTa4UVa7gu", "s3Bucket": "s3.example.org/postgres-backups", "s3Region": "us-east-1", "s3SecretKey": "ju3eum4dekeich9ahM1te8waeGai0oog", "schedule": "0 2 * * *" }, "required": [ "cleanupStrategy", "enabled", "resticPassword", "s3AccessKey", "s3Bucket", "s3Region", "s3SecretKey", "schedule" ], "properties": { "cleanupStrategy": { "description": "Retention strategy for cleaning up old backups", "type": "string", "default": "--keep-last=3 --keep-daily=3 --keep-within-weekly=1m" }, "enabled": { "description": "Enable regular backups, default is `false`.", "type": "boolean", "default": false }, "resticPassword": { "description": "Password for Restic backup encryption", "type": "string", "default": "ChaXoveekoh6eigh4siesheeda2quai0" }, "s3AccessKey": { "description": "Access key for S3, used for authentication", "type": "string", "default": "oobaiRus9pah8PhohL1ThaeTa4UVa7gu" }, "s3Bucket": { "description": "S3 bucket used for storing backups", "type": "string", "default": "s3.example.org/postgres-backups" }, "s3Region": { "description": "AWS S3 region where backups are stored", "type": "string", "default": "us-east-1" }, "s3SecretKey": { "description": "Secret key for S3, used for authentication", "type": "string", "default": "ju3eum4dekeich9ahM1te8waeGai0oog" }, "schedule": { "description": "Cron schedule for automated backups", "type": "string", "default": "0 2 * * *" } } }, "databases": { "description": "Databases configuration", "type": "object", "default": {}, "additionalProperties": { "type": "object", "properties": { "roles": { "description": "Roles for the database", "type": "object", "properties": { "admin": { "description": "List of users with admin privileges", "type": "array", "items": { "type": "string" } }, "readonly": { "description": "List of users with read-only privileges", "type": "array", "items": { "type": "string" } } } } } } }, "external": { "description": "Enable external access from outside the cluster", "type": "boolean", "default": false }, "replicas": { "description": "Number of MariaDB replicas", "type": "integer", "default": 2 }, "resources": { "description": "Explicit CPU and memory configuration for each MariaDB replica. When left empty, the preset defined in `resourcesPreset` is applied.", "type": "object", "default": {}, "properties": { "cpu": { "description": "CPU", "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", "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": "nano", "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", "required": [ "maxUserConnections", "password" ], "properties": { "maxUserConnections": { "description": "Maximum amount of connections", "type": "integer" }, "password": { "description": "Password for the user", "type": "string" } } } } } }