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

Modify BackupPolicy CRD to include s3 prefix #484

Open
pasquale1981 opened this issue Dec 2, 2022 · 1 comment
Open

Modify BackupPolicy CRD to include s3 prefix #484

pasquale1981 opened this issue Dec 2, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@pasquale1981
Copy link

pasquale1981 commented Dec 2, 2022

What

At the moment it seems that I can't set a prefix for the backup location. It's just possible to set the bucket name, than moco will create the "moco" prefix (moco/namespace/mysql-db-name).
The use-case is for example when you have one s3 bucket, and inside that bucket you have one prefix for k8s cluster.
So it would be great if you could set up moco to send the backups to bucket-name/cluster-name/moco etc..

should be something like this:

  bucketConfig:
      bucketName: my-backup-bucket
      region: eu-west-1
      prefix: my-cluster-name
      usePathStyle: true
@pasquale1981 pasquale1981 changed the title Modify MySQLCluster CRD to include s3 prefix Modify BackupPolicy CRD to include s3 prefix Dec 2, 2022
@ymmt2005 ymmt2005 added the enhancement New feature or request label Dec 2, 2022
@ymmt2005
Copy link
Member

ymmt2005 commented Dec 2, 2022

sounds like a reasonable use case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants