-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Restrict access to state store bucket #365
Conversation
This change increases the specificity of the master's state store bucket contents permission to only the top-level folder named after the cluster. Fixes kubernetes#365
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed, please reply here (e.g.
|
I signed it! |
CLAs look good, thanks! |
Works great - thanks! |
This is bad. @weargoggles @justinsb this breaks the use-case where the state-store contains a sub-path for example: |
Ah OK - I'll revert, add the fix and then reapply @weargoggles 's patch . Thanks for letting me know @shamil |
Reverted in #377 |
The important PR we want to pick up is 369, fixing a bug when ListenMetricsURLS is set as an env var. Full changelist: * Release notes for 3.0.20201117 [kubernetes#364](kopeio/etcd-manager#364) * Fix gofmt [kubernetes#365](kopeio/etcd-manager#365) * Add gofmt check to github actions [kubernetes#366](kopeio/etcd-manager#366) * Add boilerplate to tools/deb-tools/main.go [kubernetes#367](kopeio/etcd-manager#367) * Do not set ListenMetricsURLS [kubernetes#369](kopeio/etcd-manager#369) * Fix bazel formatting [kubernetes#370](kopeio/etcd-manager#370)
The important PR we want to pick up is 369, fixing a bug when ListenMetricsURLS is set as an env var. Full changelist: * Release notes for 3.0.20201117 [kubernetes#364](kopeio/etcd-manager#364) * Fix gofmt [kubernetes#365](kopeio/etcd-manager#365) * Add gofmt check to github actions [kubernetes#366](kopeio/etcd-manager#366) * Add boilerplate to tools/deb-tools/main.go [kubernetes#367](kopeio/etcd-manager#367) * Do not set ListenMetricsURLS [kubernetes#369](kopeio/etcd-manager#369) * Fix bazel formatting [kubernetes#370](kopeio/etcd-manager#370)
This change increases the specificity of the master and node state store bucket contents permission to only the top-level folder named after the cluster.
Fixes #364 and #365