-
Notifications
You must be signed in to change notification settings - Fork 15k
secrets: add a best practices section and API access recommentations #4380
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
secrets: add a best practices section and API access recommentations #4380
Conversation
This section attempts to capture some of the best practices around client API access to secrets. Specitically that controllers should avoid list and watch operations in favor of getting specific secrets.
lgtm |
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.
One small nit.
|
||
For these reasons `watch` and `list` requests for secrets within a namespace are | ||
extremely powerful capabilities and should be avoided, since listing secrets allows | ||
the clients to inspect the values if all secrets in that namespace. The ability to |
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.
missing word? "...since listing secrets allows the clients to inspect the values if all secrets are
in that namespace."
Deploy preview processing. Built with commit c5d313e |
* secrets: add a best practices section and API access recommentations (#4380) * secrets: add a best practices section and API access recommentations This section attempts to capture some of the best practices around client API access to secrets. Specitically that controllers should avoid list and watch operations in favor of getting specific secrets. * add "are" * update scratch.md for issue #4068 (#4069) * update scratch.md for issue #4068 Issue #4068 details the dangers of recommending single etcd instance. This will likely need to be expanded into better "highly available" cluster documentation * Refactor list style * fix ordered list * fix unordered list * ul * add back shell * Adding tutorial links to docs (#4570) * Adding tutorial links to docs * Update index.md
…4380) * secrets: add a best practices section and API access recommentations This section attempts to capture some of the best practices around client API access to secrets. Specitically that controllers should avoid list and watch operations in favor of getting specific secrets. * add "are"
This section attempts to capture some of the best practices around
client API access to secrets. Specifically that list and watch operations
on secrets are extremely powerful.
This has been expressed a few times, but not formalized:
kubernetes/ingress-nginx#816
kubernetes/kubernetes#45189
kubernetes-retired/service-catalog#621
cc @kubernetes/sig-auth-misc
This change is