-
Notifications
You must be signed in to change notification settings - Fork 319
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
New flags --disable-user-data & --disable-sensitive-metadata #137
base: master
Are you sure you want to change the base?
Conversation
README.md
Outdated
@@ -515,6 +515,8 @@ Usage of ./build/bin/darwin/kube2iam: | |||
--base-role-arn string Base role ARN | |||
--debug Enable debug features | |||
--default-role string Fallback role to use when annotation is not set |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am a 👍 on the PR in general but I am wondering if there are more informative names we could use here to outline their meaning.
Not sure if it's "better" but the following seem a bit more clear about their purpose to me. What do you think?
--disable-sensitive-metadata
--disable-iam-userdata
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These names seem a lot more clear to me at first glance.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mabartosz Any thoughts here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
People are alive! Thanks for the suggestion. I will update the PR soon.
It looks like this just needs to be re-based and have the option updated. @mabartosz do you have bandwidth for this at the moment ? |
b497b7d
to
b5d4d02
Compare
sorry for the delay. the last version of patch was used in my prod cluster for several months. |
Thanks, we'll test this out and report back in a few days. |
Just an update, we've now been using this in production without any problems. It'd be great if this was merged into a released version of kube2iam. |
@jtblin , @jrnt30 , @mwhittington21 : Anything further you need to get this over the line and merged in? |
Howdy! Any word on this getting merged and released?? |
@jtblin @mwhittington21 @jrnt30 Please add this feature. I tested on many clusters with custom-built images - and it is working perfectly. |
userdata and some metadata paths return more than a pod needs and contents can be safely blanked.
This patch under public domain or BSD license as preferred.