mirror of
https://github.com/outbackdingo/cozystack.git
synced 2026-01-27 18:18:41 +00:00
92 lines
2.8 KiB
YAML
92 lines
2.8 KiB
YAML
## @section Common parameters
|
|
|
|
## @param external Enable external access from outside the cluster
|
|
## @param size Persistent Volume size
|
|
## @param replicas Number of Postgres replicas
|
|
## @param storageClass StorageClass used to store the data
|
|
##
|
|
external: false
|
|
size: 10Gi
|
|
replicas: 2
|
|
storageClass: ""
|
|
|
|
## Server Configuration
|
|
## @param postgresql.parameters.max_connections Determines the maximum number of concurrent connections to the database server. The default is typically 100 connections
|
|
postgresql:
|
|
parameters:
|
|
max_connections: 100
|
|
|
|
## Configuration for the quorum-based synchronous replication
|
|
## @param quorum.minSyncReplicas Minimum number of synchronous replicas that must acknowledge a transaction before it is considered committed.
|
|
## @param quorum.maxSyncReplicas Maximum number of synchronous replicas that can acknowledge a transaction (must be lower than the number of instances).
|
|
quorum:
|
|
minSyncReplicas: 0
|
|
maxSyncReplicas: 0
|
|
|
|
## @section Configuration parameters
|
|
|
|
## @param users [object] Users configuration
|
|
## Example:
|
|
## users:
|
|
## user1:
|
|
## password: strongpassword
|
|
## user2:
|
|
## password: hackme
|
|
## airflow:
|
|
## password: qwerty123
|
|
## debezium:
|
|
## replication: true
|
|
##
|
|
users: {}
|
|
|
|
## @param databases Databases configuration
|
|
## Example:
|
|
## databases:
|
|
## myapp:
|
|
## roles:
|
|
## admin:
|
|
## - user1
|
|
## - debezium
|
|
## readonly:
|
|
## - user2
|
|
## airflow:
|
|
## roles:
|
|
## admin:
|
|
## - airflow
|
|
## extensions:
|
|
## - hstore
|
|
databases: {}
|
|
|
|
## @section Backup parameters
|
|
|
|
## @param backup.enabled Enable pereiodic backups
|
|
## @param backup.s3Region The AWS S3 region where backups are stored
|
|
## @param backup.s3Bucket The S3 bucket used for storing backups
|
|
## @param backup.schedule Cron schedule for automated backups
|
|
## @param backup.cleanupStrategy The strategy for cleaning up old backups
|
|
## @param backup.s3AccessKey The access key for S3, used for authentication
|
|
## @param backup.s3SecretKey The secret key for S3, used for authentication
|
|
## @param backup.resticPassword The password for Restic backup encryption
|
|
backup:
|
|
enabled: false
|
|
s3Region: us-east-1
|
|
s3Bucket: s3.example.org/postgres-backups
|
|
schedule: "0 2 * * *"
|
|
cleanupStrategy: "--keep-last=3 --keep-daily=3 --keep-within-weekly=1m"
|
|
s3AccessKey: oobaiRus9pah8PhohL1ThaeTa4UVa7gu
|
|
s3SecretKey: ju3eum4dekeich9ahM1te8waeGai0oog
|
|
resticPassword: ChaXoveekoh6eigh4siesheeda2quai0
|
|
|
|
## @param resources Resources
|
|
resources: {}
|
|
# resources:
|
|
# limits:
|
|
# cpu: 4000m
|
|
# memory: 4Gi
|
|
# requests:
|
|
# cpu: 100m
|
|
# memory: 512Mi
|
|
|
|
## @param resourcesPreset Set container resources according to one common preset (allowed values: none, nano, micro, small, medium, large, xlarge, 2xlarge). This is ignored if resources is set (resources is recommended for production).
|
|
resourcesPreset: "nano"
|