-
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
Enable PodDistruptionBudget #11187
Enable PodDistruptionBudget #11187
Conversation
[test] |
We never built one that checks permissions on an individual client being submitted. Informers are non-mutating and at least one client in the process had rights, so we let it through. |
@deads2k can I be the picky one complaining that this is not cool about it? Is there a plan (sometime in the future) to fix it, or we're cool with the current state of world? |
I think we're ok with the state of the world. For now. |
@smarterclayton any objections for merge? |
Lgtm |
Flake #11016 |
It looks like I'm constantly hitting #11016, I need to investigate this more before actually merging. |
b35ff19
to
34aab1b
Compare
@smarterclayton this required 2 additional changes upstream and an extension to policy, so that regular users should be able to use it. Mind taking a look once again? |
Updated missing generated completions. |
After discussion with @smarterclayton about security implications PDB will be enabled only for cluster admins. I've dropped the commit updating policy. Upon green tests I'll merge this in. |
Have you also enabled access to the eviction subresource? |
Rebased and waiting for green tests... |
Evaluated for origin test up to 2b5dd3d |
continuous-integration/openshift-jenkins/test SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/10529/) (Base Commit: 84cddbc) |
[merge] |
Evaluated for origin merge up to 2b5dd3d |
continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/10529/) (Image: devenv-rhel7_5235) |
Lgtm [merge] On Oct 21, 2016, at 5:52 PM, OpenShift Bot [email protected] wrote: continuous-integration/openshift-jenkins/test SUCCESS ( — |
Fixes #10938.
@smarterclayton is there something else needed you were thinking of?
@deads2k I have a question regarding ServiceAccounts and
SharedIndexInformer
. If a controller (hereDisruptionController
does not have explicit access rights to Pods, but can access them through thatSharedIndexInformer
is ok? If the same controller would like to access pods directly, it would need such an access right, why then using this cache, it's not required anymore?