Skip to content
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

[Feat: forcePathStyle] Add flag forcePathStyle for compatibility with Swift Storage #347

Open
ellipsis-me opened this issue Jul 12, 2024 · 0 comments

Comments

@ellipsis-me
Copy link

Hi team, I ran into a problem when tried to deploy psmdb-db chart on my cluster, because I use Swift Storage in openstack, so, Looking at the Percona MongoDB Operator CRD, I notice the CRD supports this parameter, but It was difficult to find, and including this flag on values.yaml, It Worked!
So I believe including that commented on values can be more easily found for someone else trying do deploy the Percona MongoDB in a Kubernetes Cluster running on Openstack environment.

Percona MongoDB CRD where I found the flag: https://github.com/percona/percona-server-mongodb-operator/blob/main/deploy/crd.yaml#L125-L126

It can be added into values.yaml on psmdb-db Chart: https://github.com/percona/percona-helm-charts/blob/main/charts/psmdb-db/values.yaml#L525

minio:
  type: s3
  s3:
    bucket: MINIO-BACKUP-BUCKET-NAME-HERE
    region: us-east-1
    credentialsSecret: my-cluster-name-backup-minio
    endpointUrl: http://minio.psmdb.svc.cluster.local:9000/minio/
    prefix: ""
#   In case of use Swift storage, this flag must be set to true
    forcePathStyle: true

image

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

No branches or pull requests

1 participant