Repository navigation
manifests: give MCD more permissions - #70
Conversation
These permissions allow the MCD to actually drain and reboot the node.
|
/lgtm |
| - apiGroups: [""] | ||
| resources: ["pods"] | ||
| verbs: ["*"] | ||
| - apiGroups: ["extensions"] |
There was a problem hiding this comment.
Most people use apps/v1 Daemonsets. Daemonsets were graduated from extensions to apps.
There was a problem hiding this comment.
Neither apps nor apps/v1 work AFAICT. (Though extensions definitely works!)
There was a problem hiding this comment.
Looks like the drain lib uses old client: https://github.com/openshift/machine-config-operator/blob/master/vendor/github.com/openshift/kubernetes-drain/drain.go#L41
we can use extensions for now, can you add a TODO / open a issue to switch it to apps after we have updated the library.
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: abhinavdahiya, ashcrow, jlebon The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
manifests: give MCD more permissions
These permissions allow the MCD to actually drain and reboot the node.