Skip to content

Commit

Permalink
chore: update pg prod values
Browse files Browse the repository at this point in the history
  • Loading branch information
gary-van-woerkens committed Feb 21, 2024
1 parent be6da4b commit 79d1b37
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 17 deletions.
17 changes: 0 additions & 17 deletions .kontinuous/env/preprod/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,23 +13,6 @@ pg:
memory: 3Gi
limits:
memory: 3Gi
recovery:
enabled: true
~tpl~database: "{{ .Values.global.pgDatabase }}"
~tpl~owner: "{{ .Values.global.pgUser }}"
secretName: "pg-db"
barmanObjectStore:
~tpl~destinationPath: "s3://domifa-dev-backups/domifa-preprod"
s3Credentials:
accessKeyId:
~tpl~name: "domifa-dev-backups-access-key"
key: bucket_access_key
secretAccessKey:
~tpl~name: "domifa-dev-backups-access-key"
key: bucket_secret_key
region:
~tpl~name: "domifa-dev-backups-access-key"
key: bucket_region

backend:
host: "api-{{ .Values.global.host }}"
Expand Down
19 changes: 19 additions & 0 deletions .kontinuous/env/prod/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ jobs:
DOMIFA_FRONTEND_META_ROBOTS: index,follow

pg:
backup:
name: ovh # backup on a new folder
cnpg-cluster:
persistence:
size: "30Gi"
Expand All @@ -38,6 +40,23 @@ pg:
memory: 3Gi
limits:
memory: 3Gi
recovery:
enabled: true
~tpl~database: "{{ .Values.global.pgDatabase }}"
~tpl~owner: "{{ .Values.global.pgUser }}"
secretName: "pg-db"
barmanObjectStore:
~tpl~destinationPath: "s3://domifa-dev-backups/domifa-prod"
s3Credentials:
accessKeyId:
~tpl~name: "domifa-prod-backups-access-key"
key: bucket_access_key
secretAccessKey:
~tpl~name: "domifa-prod-backups-access-key"
key: bucket_secret_key
region:
~tpl~name: "domifa-prod-backups-access-key"
key: bucket_region

backend-cron:
replicas: 1
Expand Down

0 comments on commit 79d1b37

Please sign in to comment.