Hi. Please help. I trying to understand where error but my brain is explodes.
In sidecar container “backup-agent” of mongod i see this error -
check storage connecion: storage check failed with: get S3 object header: Forbidden: Forbidden
status code: 403,
And i dig in docs and try to set differnet values. What i do wrong?
Secret file
Name: mongo-backup
Namespace: mongo-auth
Labels: <none>
Annotations: <none>
Type: Opaque
Data
====
AWS_SECRET_ACCESS_KEY: 26 bytes
AWS_ACCESS_KEY_ID: 19 bytes
And part of storage config
storages:
minio:
s3:
bucket: ${BUCKET_NAME}
credentialsSecret: mongo-backup
endpointUrl: http://minio.minio.svc.cluster.local:9000/
prefix: mongo/mongo-auth
region: minio
type: s3
tasks:
- compressionType: gzip
enabled: true
name: mongo-daily-backup
schedule: '*/3 * * * *'
storageName: minio