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

Add flag to optionally block ec2 metadata proxy #182

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

Conversation

ElliotGardiner
Copy link

Some cluster administrators may not want tenants to be able to access non-iam aspects of the ec2 metadata api (eg; http://169.254.169.254/latest/user-data).

This change continues to route requests through the reverseProxyHandler by default but allows administrators to disable that functionality:

containers:
    - image: jtblin/kube2iam:dev
      name: kube2iam
      args:
      - "--block-ec2-metadata=true"

@coveralls
Copy link

Coverage Status

Coverage remained the same at 19.946% when pulling d3a16ed on ElliotGardiner:block-ec2-metadata-support into 8dc96cf 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