zalando / spilo

Highly available elephant herd: HA PostgreSQL cluster using Docker
Apache License 2.0
1.53k stars 382 forks source link

Pass AWS EKS IRSA environment variables to WAL-G CLONE env #897

Open oleksiytsyban opened 1 year ago

oleksiytsyban commented 1 year ago

When one uses the IAM Roles for Service Accounts feature for assigning an IAM role with S3 access to a pod, EKS mounts an auth token and sets environment variables in the pod. Everything works fine except cloning from S3 archive. Please add AWS_ROLE_ARN, AWS_WEB_IDENTITY_TOKEN_FILE variables to WAL-G clone environment, "/run/etc/wal-e.d/env-clone", same as in https://github.com/zalando/spilo/pull/769.

Same request for STANDBY.

mungo312 commented 5 months ago

Hi, any updates about that ?