Skip to content

manifests: give MCD more permissions - #70

Merged
openshift-merge-robot merged 1 commit into
openshift:masterfrom
jlebon:pr/reboot
Sep 17, 2018
Merged

openshift-merge-robot merged 1 commit into
openshift:masterfrom
jlebon:pr/reboot

Conversation

@jlebon

@jlebon jlebon commented Sep 17, 2018

Copy link
Copy Markdown
Member

These permissions allow the MCD to actually drain and reboot the node.

These permissions allow the MCD to actually drain and reboot the node.
@openshift-ci-robot openshift-ci-robot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Sep 17, 2018
@jlebon jlebon mentioned this pull request Sep 17, 2018
@ashcrow

ashcrow commented Sep 17, 2018

Copy link
Copy Markdown
Member

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Sep 17, 2018
- apiGroups: [""]
resources: ["pods"]
verbs: ["*"]
- apiGroups: ["extensions"]

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Most people use apps/v1 Daemonsets. Daemonsets were graduated from extensions to apps.

@jlebon jlebon Sep 17, 2018 •

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Neither apps nor apps/v1 work AFAICT. (Though extensions definitely works!)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#71

@abhinavdahiya abhinavdahiya left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@openshift-ci-robot

Copy link
Copy Markdown
Contributor

[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

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 17, 2018
@openshift-merge-robot
openshift-merge-robot merged commit 86b684f into openshift:master Sep 17, 2018
@jlebon
jlebon deleted the pr/reboot branch May 1, 2023 15:32
ptalgulk01 pushed a commit to ptalgulk01/machine-config-operator that referenced this pull request May 15, 2026
manifests: give MCD more permissions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants