Skip to content

Commit

Permalink
Parameterize size of backup volume
Browse files Browse the repository at this point in the history
  • Loading branch information
vivid-cpreston committed Dec 9, 2024
1 parent b643ef9 commit 429a4cd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/openshift-create-update-db.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ jobs:
DB_MAX_CPU: ${{ vars.DB_MAX_CPU }}
DB_MAX_MEMORY: ${{ vars.DB_MAX_MEMORY}}
DB_REPLICAS: ${{ vars.DB_INSTANCE_HA_REPLICAS }}
DB_BACKUP_VOLUME_SIZE: ${{ vars.DB_BACKUP_VOLUME_SIZE }}
BOUNCER_REPLICAS: ${{ vars.DB_LOADBALANCER_HA_REPLICAS}}

- name: install helm
Expand Down
2 changes: 1 addition & 1 deletion crunchy-postgres/charts/crunchy-postgres/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ pgBackRest:
volume:
accessModes: "ReadWriteOnce"
storageClassName: netapp-file-backup
storage: 1Gi
storage: #{BACKUP_VOLUME_SIZE}#
configuration:
secretName: "#{ENV}#-postgres-s3-secret"
s3:
Expand Down

0 comments on commit 429a4cd

Please sign in to comment.