Skip to content

Conversation

@ksuderman
Copy link
Contributor

@ksuderman ksuderman commented Apr 10, 2025

Possible changes needed to the base Galaxy Helm chart to allow backups to a Barman Object Store (cloud bucket). Some boilerplate for VolumeSnapshots is included, but is untested. Currently only Google Cloud Storage (GCS) is supported, but any cloud based storage provider (S3, Azure, etc.) could also be supported.

How It Works (or doesn't as the case may be)

Two new blocks are added to the postgresql stanza in the values.yaml file; backup and recovery. If .Values.postgresql.backup.enabled is set to true then a backup stanza is added when rendering the CNPG Cluster object. If .Values.postgresql.recovery.enabled is set to true a recovery stanza is included in the Cluster definition.

NOTE The bucket and any folders (gs://your-bucket-name/galaxy-backup in this example) must already exist.

postgresql:
  imageName: ghcr.io/cloudnative-pg/postgresql:17.2
  recovery:
    enabled: false
    path: gs://your-bucket-name/galaxy-backup
  backup:
    enabled: false
    path: gs://your-bucket-name/galaxy-backup

Development versions of this chart (currently v6.1.1) are deployed to my own helm chart repostitory https://ksuderman.github.io/helm_charts. Simply add the following to the values.yaml for your GalaxyKubeman Helm chart:

galaxy:
  version: '6.1.1'
  chart:
    repository: https://ksuderman.github.io/helm_charts

@ksuderman ksuderman marked this pull request as draft April 10, 2025 19:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant