- 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>
73 lines
2.8 KiB
YAML
73 lines
2.8 KiB
YAML
## @section Common parameters
|
|
##
|
|
## @param replicas {int} Number of MariaDB replicas
|
|
replicas: 2
|
|
## @param resources {*resources} Explicit CPU and memory configuration for each MariaDB replica. When left empty, the preset defined in `resourcesPreset` is applied.
|
|
## @field resources.cpu {*quantity} CPU available to each replica
|
|
## @field resources.memory {*quantity} Memory (RAM) available to each replica
|
|
resources: {}
|
|
# resources:
|
|
# cpu: 4000m
|
|
# memory: 4Gi
|
|
## @param resourcesPreset {string enum:"nano,micro,small,medium,large,xlarge,2xlarge"} Default sizing preset used when `resources` is omitted. Allowed values: `nano`, `micro`, `small`, `medium`, `large`, `xlarge`, `2xlarge`.
|
|
resourcesPreset: "nano"
|
|
## @param size {quantity} Persistent Volume Claim size, available for application data
|
|
size: 10Gi
|
|
## @param storageClass {string} StorageClass used to store the data
|
|
storageClass: ""
|
|
## @param external {bool} Enable external access from outside the cluster
|
|
external: false
|
|
|
|
## @section Application-specific parameters
|
|
##
|
|
## @param users {map[string]user} Users configuration
|
|
## @field user.password {string} Password for the user
|
|
## @field user.maxUserConnections {int} Maximum amount of connections
|
|
## Example:
|
|
## users:
|
|
## user1:
|
|
## maxUserConnections: 1000
|
|
## password: hackme
|
|
## user2:
|
|
## maxUserConnections: 1000
|
|
## password: hackme
|
|
##
|
|
users: {}
|
|
|
|
|
|
## @param databases {map[string]database} Databases configuration
|
|
## @field database.roles {*databaseRoles} Roles for the database
|
|
## @field databaseRoles.admin {[]string} List of users with admin privileges
|
|
## @field databaseRoles.readonly {[]string} List of users with read-only privileges
|
|
##
|
|
## Example:
|
|
## databases:
|
|
## myapp1:
|
|
## roles:
|
|
## admin:
|
|
## - user1
|
|
## readonly:
|
|
## - user2
|
|
databases: {}
|
|
|
|
## @section Backup parameters
|
|
##
|
|
## @param backup {backup} Backup configuration
|
|
## @field backup.enabled {bool} Enable regular backups, default is `false`.
|
|
## @field backup.s3Region {string} AWS S3 region where backups are stored
|
|
## @field backup.s3Bucket {string} S3 bucket used for storing backups
|
|
## @field backup.schedule {string} Cron schedule for automated backups
|
|
## @field backup.cleanupStrategy {string} Retention strategy for cleaning up old backups
|
|
## @field backup.s3AccessKey {string} Access key for S3, used for authentication
|
|
## @field backup.s3SecretKey {string} Secret key for S3, used for authentication
|
|
## @field backup.resticPassword {string} Password for Restic backup encryption
|
|
backup:
|
|
enabled: false
|
|
s3Region: us-east-1
|
|
s3Bucket: "s3.example.org/mysql-backups"
|
|
schedule: "0 2 * * *"
|
|
cleanupStrategy: "--keep-last=3 --keep-daily=3 --keep-within-weekly=1m"
|
|
s3AccessKey: "<your-access-key>"
|
|
s3SecretKey: "<your-secret-key>"
|
|
resticPassword: "<password>"
|
|
|