Skip to content

Add flag to optionally block ec2 metadata proxy#182

Open
ElliotGardiner wants to merge 1 commit into
jtblin:mainfrom
ElliotGardiner:block-ec2-metadata-support
Open

Add flag to optionally block ec2 metadata proxy#182
ElliotGardiner wants to merge 1 commit into
jtblin:mainfrom
ElliotGardiner:block-ec2-metadata-support

Conversation

@ElliotGardiner

Copy link
Copy Markdown

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
Copy Markdown

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