Skip to content

Commit ead0dae

Browse files
committed
add another allowed hostname for Pod Identity
1 parent dfe9f19 commit ead0dae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/resty/aws/credentials/RemoteCredentials.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ local function initialize()
3333

3434
local FULL_URI_UNRESTRICTED_PROTOCOLS = makeset { "https" }
3535
local FULL_URI_ALLOWED_PROTOCOLS = makeset { "http", "https" }
36-
local FULL_URI_ALLOWED_HOSTNAMES = makeset { "localhost", "127.0.0.1" }
36+
local FULL_URI_ALLOWED_HOSTNAMES = makeset { "localhost", "127.0.0.1", "169.254.170.23" }
3737
local RELATIVE_URI_HOST = '169.254.170.2'
3838

3939
local function getFullUri()

0 commit comments

Comments
 (0)