Skip to content

Commit dd7b59d

Browse files
committed
feat: Add minio and postgres config for Creance
1 parent c7c4152 commit dd7b59d

3 files changed

Lines changed: 48 additions & 8 deletions

File tree

helm/qs-minio/values.yaml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,4 +85,22 @@ minio-pharia-finetuning:
8585
## @param auth.existingSecretUserKey Key in existing secret containing username
8686
existingSecretUserKey: "user"
8787
## @param auth.existingSecretPasswordKey Key in existing secret containing password
88-
existingSecretPasswordKey: "password"
88+
existingSecretPasswordKey: "password"
89+
90+
minio-creance:
91+
enabled: false
92+
fullnameOverride: qs-minio-creance
93+
## @section Bucket provisioning
94+
## @param defaultBuckets Comma, semi-colon or space separated list of buckets to create at initialization
95+
## Format: "bucket-name" or "bucket-name:policy" where policy can be: none, download, upload, or public
96+
## e.g: "my-bucket, my-second-bucket:download, my-public-bucket:public"
97+
defaultBuckets: "creance"
98+
auth:
99+
## @param auth.existingSecret Name of existing secret containing MinIO credentials
100+
existingSecret: "qs-minio-access-creance"
101+
## @param auth.username Username put in existing secret
102+
user: "creance"
103+
## @param auth.existingSecretUserKey Key in existing secret containing username
104+
existingSecretUserKey: "user"
105+
## @param auth.existingSecretPasswordKey Key in existing secret containing password
106+
existingSecretPasswordKey: "password"

helm/qs-postgresql-cluster/values.yaml

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,16 @@ clusterPharia:
242242
login: true
243243
superuser: false
244244
replication: false
245+
- name: "creance"
246+
connectionLimit: -1
247+
ensure: present
248+
inherit: true
249+
# `password` and `username` key should exist in secret. username key should be the name of the user (mlflow)
250+
passwordSecret:
251+
name: "qs-postgresql-cluster-access-creance"
252+
login: true
253+
superuser: false
254+
replication: false
245255
backups:
246256
# -- You need to configure backups manually, so backups are disabled by default.
247257
enabled: false
@@ -251,26 +261,26 @@ clusterPharia:
251261
# If empty or not set, unmapped roles use direct cluster connection
252262
# If set, unmapped roles will use this pooler
253263
defaultPooler: "transaction" # All Pharia roles use transaction pooler by default
254-
264+
255265
# Role-specific pooler mappings (overrides defaultPooler)
256266
# Maps each role to a specific pooler (optional)
257267
# Empty means all roles use the default pooler above
258268
rolePoolerMappings: {}
259269
# Examples of role-specific overrides:
260-
270+
261271
# Override to use direct connection (bypass pooler)
262272
# Useful for: admin users, long-running jobs, debugging
263273
# admin_user: ""
264-
274+
265275
# Override to use a different pooler (if you have multiple)
266276
# pharia_os: "session" # Would need session pooler defined
267-
277+
268278
# Real-world example: Admin needs direct access for maintenance
269279
# pharia_admin: ""
270-
280+
271281
# Real-world example: Background jobs that hold long transactions
272282
# background_worker: ""
273-
283+
274284
# Note: Most applications should use the default pooler
275285
# Only override when you have specific requirements
276286
# -- List of PgBouncer poolers
@@ -369,7 +379,7 @@ clusterTemporal:
369379
# If empty or not set, unmapped roles use direct cluster connection
370380
# If set, unmapped roles will use this pooler
371381
defaultPooler: "session" # All temporal roles use session pooler by default
372-
382+
373383
# Role-specific pooler mappings (overrides defaultPooler)
374384
# Maps each role to a specific pooler (optional)
375385
rolePoolerMappings:

helm/qs-postgresql-db/values.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -375,3 +375,15 @@ databases:
375375
- pg_stat_statements
376376
- pg_trgm
377377
- btree_gin
378+
379+
- name: "creance"
380+
enabled: false
381+
cluster: "qs-postgresql-cluster-pharia"
382+
owner: "creance"
383+
connectionLimit: 50
384+
extensions:
385+
- uuid-ossp
386+
- pgcrypto
387+
- pg_stat_statements
388+
- pg_trgm
389+
- btree_gin

0 commit comments

Comments
 (0)