Skip to content

Do not set repo1-*-region if repo.Storage = "gcs" #54

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

rocket357
Copy link
Contributor

When running in GKE with GCS backing, region is not required as it is on AWS. Thus we should check if repo.Storage is set to "gcs" and skip setting the region if so.

When repo1-gcs-region gets set, pg-container logs the following:

P00 WARN: configuration file contains invalid option 'repo1-gcs-region'

This in turn breaks cluster creation.

@Schmaetz Schmaetz merged commit bb83c1f into cybertec-postgresql:improve_cs_pgbackrest Aug 1, 2024
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.

2 participants