You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
During startup a check is performed that the necessary env variables are present in the container.
If using in K8s running on EC2 instances with IMDSv2 enabled/enforced the checks will fail:
During startup a check is performed that the necessary
env
variables are present in the container.If using in K8s running on EC2 instances with IMDSv2 enabled/enforced the checks will fail:
I guess the reason for this are the following lines:
nginx-s3-gateway/common/docker-entrypoint.d/00-check-for-required-env.sh
Lines 47 to 48 in bb03e88
Calling the
http://169.254.169.254
endpoint requires a token (which is correctly done here for example):nginx-s3-gateway/common/etc/nginx/include/awscredentials.js
Lines 345 to 347 in bb03e88
I guess we need to update
00-check-for-required-env.sh
to fetch the token first as well, like:Reference: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instancedata-data-retrieval.html#instance-metadata-returns
The text was updated successfully, but these errors were encountered: