Provided above is correct, should it just work almost out of the box if config has env_auth = true?
What is your rclone version (output from rclone version)
rclone v1.54.1
- os/arch: linux/amd64
- go version: go1.15.8
Which OS you are using and how many bits (eg Windows 7, 64 bit)
Pod running rclone image in EKS cluster.
Which cloud storage system are you using? (eg Google Drive)
AWS S3
The command you were trying to run (eg rclone copy /tmp remote:tmp)
rclone lsd aws-iam:some-test-bucket-name
The rclone config contents with secrets removed.
[aws-iam]
type = s3
provider = AWS
env_auth = true
region = eu-west-2 # Do I really need this?
location_constraint = eu-west-2 # Do I really need this?
# Do I need anything else?
Do you, or someone else on rclone team, would know what are the requirements for the k8s Pod for "just work"? Like, does it need annotation, specific service account, or secrets to be mounted?
We will be testing it tomorrow and I am trying to prepare as good as possible (without having access to EKS and IAM role...) beforehand.
I'm afraid I don't know the answer to that question. If you can't get it going then please make a new issue on github and I'll tag some people who might know.
When you get it going we should probably improve the docs
The official image is here Docker Hub
Built from this Dockerfile rclone/Dockerfile at v1.54.1 · rclone/rclone · GitHub
Apparently it expects that you bind your config either with volume -v /path/to/rclone.conf:/config/rclone.conf or as a secret, then start the container with whatever rclone CLI arguments.