Skip to content

Commit f26f08d

Browse files
committed
No longer error when env var HOSTNAME is set
Fixes #134 Signed-off-by: Elijah Zupancic <[email protected]>
1 parent 1675b5a commit f26f08d

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

common/docker-entrypoint.d/00-check-for-required-env.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,6 @@ elif curl --output /dev/null --silent --head --fail --connect-timeout 2 --max-ti
5252
# Example: We are running inside an EKS cluster with IAM roles for service accounts enabled.
5353
elif [[ -v AWS_WEB_IDENTITY_TOKEN_FILE ]]; then
5454
echo "Running inside EKS with IAM roles for service accounts"
55-
if [[ -v HOSTNAME ]]; then
56-
echo "Depreciated the HOSTNAME! Use the environment variable of AWS_ROLE_SESSION_NAME instead"
57-
failed=1
58-
fi
5955
if [[ ! -v AWS_ROLE_SESSION_NAME ]]; then
6056
# The default value is set as a nginx-s3-gateway unless the value is defined.
6157
AWS_ROLE_SESSION_NAME="nginx-s3-gateway"

0 commit comments

Comments
 (0)