I have the same error when run backup command
kubectl apply -f backup/backup.yaml
Here is my cr.yaml on storages section
backup:
enabled: true
restartOnFailure: true
image: percona/percona-server-mongodb-operator:1.10.0-backup
serviceAccountName: percona-server-mongodb-operator
# resources:
# limits:
# cpu: "300m"
# memory: "0.5G"
# requests:
# cpu: "300m"
# memory: "0.5G"
storages:
s3-us-west:
type: s3
s3:
bucket: mongodbs-backup-test
credentialsSecret: mongodbs-backup-s3
region: us-west-2
prefix: ""
and here is secrete config file
apiVersion: v1
kind: Secret
metadata:
name: mongodbs-backup-s3
type: Opaque
data:
AWS_ACCESS_KEY_ID: <MY BASE64 ENCODED KEY>
AWS_SECRET_ACCESS_KEY: <MY BASE64 ENCODED KEY>