charts icon indicating copy to clipboard operation
charts copied to clipboard

fix condition

Open nobleess opened this issue 10 months ago • 1 comments

nobleess avatar Mar 08 '25 15:03 nobleess

I don't understand this. What is the issue it's fixing?

itay-grudev avatar Mar 12 '25 02:03 itay-grudev

This is supposed to fix an issue, where chart throws an error upon trying to recover from backupName:

---
type: postgresql
mode: recovery

cluster:
  instances: 3
  storage:
    size: 25Gi
  walStorage:
    enabled: true
    size: 5Gi

recovery:
  method: backup
  backupName: xxx-postgresql-cluster-daily-backup-20250430000000

backups:
  enabled: true
  endpointURL: "xxx" # censored, using actually functional endpoint
  provider: s3
  s3:
    bucket: xxx-postgresql-backup
  secret:
    create: false
    name: xxx-postgresql-minio-creds
  wal:
    encryption: ""
  data:
    encryption: ""
Error: execution error at (cluster/templates/cluster.yaml:132:5): You need to specify S3 region if endpointURL is not specified.
helm.go:86: 2025-03-08 18:51:19.153483 +0300 MSK m=+0.210108334 [debug] execution error at (cluster/templates/cluster.yaml:132:5): You need to specify S3 region if endpointURL is not specified.

#530

atimofeev avatar May 01 '25 08:05 atimofeev