Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update doHealthcheck to support IMDSv2 #304

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

marcelobartsch-jt
Copy link

@marcelobartsch-jt marcelobartsch-jt commented Mar 11, 2021

What this PR does / why we need it:

IMDSv2 need token, IMDSv1 Also works with token so no need to special flags. but feel free to do another PR with more elegant code. I'm not a Go Programmer so some things might be done wrongly,

Which issue this PR fixes

(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

  • fixes #

Special notes:

https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-service.html

Checklist chart

[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

@coveralls
Copy link

Coverage Status

Coverage remained the same at 19.481% when pulling e79920f on marcelobartsch:feature/healthcheck-imdsv2 into 0674908 on jtblin:master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants