Couchbase autonomous operator backup object stores s3-force-path-style always set to True

Hi there,

I am trying to create CouchbaseBackup manifest yaml with Couchbase autonomous operator 2.5 for backup cluster data to s3 compatible object store. That object store is only support virtual-hosted–style uri. I found that backup pod startup arguments always set to True when I set useVirtualPath to False in CouchbaseBackup manifest yaml.

When I try to manual update backup python script /usr/local/bin/backup.py, change argument –s3-force-path-style default to False in python script and rebuild customization image with base image couchbase/operator-backup:1.3.5 and python script. Backup pod ran success with customization image.

Any other suggestion on how to configure to use virtual-hosted–style uri ?
Many thanks.

CouchbaseBackup manifest yaml:

apiVersion: couchbase.com/v2
kind: CouchbaseBackup
metadata:
  name: dev-couchbase
spec:
  strategy: full_incremental
  full:
    schedule: "0 3 * * 0"
  incremental:
    schedule: "0 3 * * 1-6"
  size: 20Gi
  autoScaling:
    thresholdPercent: 20 
    incrementPercent: 20 
    limit: 100Gi
  s3bucket: s3://dev-couchbase
  objectStore:
    secret: s3-secret
    uri: s3://dev-couchbase
    endpoint:
      url: https://xxx.com
      useVirtualPath: false