planetscale/vitess-operator

missing backup args for vtctld

L3o-pold opened this issue · 5 comments

Following the discussion on Slack https://vitess.slack.com/archives/C0PQY0PTK/p1635093608043400.

vtctld is clearly missing the backup parameters like --s3_backup_aws_endpoint=s3.endpoint.com.

Full set of flags needed for s3:

      --backup_storage_implementation=s3
      --s3_backup_aws_endpoint=s3.endpoint.com
      --s3_backup_aws_region=eu-central-003
      --s3_backup_storage_bucket=fake-bucket-name
      --s3_backup_storage_root=vt

There are similar flags for gcs

You'll also need to update following s3 credential files settings manually if you've configured in the backup > locations > authSecret section.

  • extraVolumes
  • extraVolumeMounts
  • extraEnv (mainly for AWS_SHARED_CREDENTIALS_FILE)

have to be manually patched via CRD yaml for letting vtctld backup related commands working.