Skip to content

[3.10] migrate: ignore resources that cannot be listed and updated #21083

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

Closed

Conversation

enj
Copy link
Contributor

@enj enj commented Sep 24, 2018

This change updates FindAllCanonicalResources to check the verbs
asserted by discovery for listing and updating capability. This
prevents us from trying to update aggregated resources such as pod
metrics.

Bug 1631517

Signed-off-by: Monis Khan [email protected]

Note: this is a minimal cherrypick since the CLI code has changed a
lot during the last few releases.

xref: #21071

This change updates FindAllCanonicalResources to check the verbs
asserted by discovery for listing and updating capability.  This
prevents us from trying to update aggregated resources such as pod
metrics.

Bug 1631517

Signed-off-by: Monis Khan <[email protected]>

Note: this is a minimal cherrypick since the CLI code has changed a
lot during the last few releases.
@openshift-ci-robot openshift-ci-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Sep 24, 2018
@openshift-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: enj

The full list of commands accepted by this bot can be found here.

The pull request process is described here

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 24, 2018
@enj
Copy link
Contributor Author

enj commented Sep 24, 2018

/cherrypick release-3.9

@openshift-cherrypick-robot

@enj: once the present PR merges, I will cherry-pick it on top of release-3.9 in a new PR and assign it to you.

In response to this:

/cherrypick release-3.9

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@enj enj changed the title migrate: ignore resources that cannot be listed and updated [3.10] migrate: ignore resources that cannot be listed and updated Sep 24, 2018
@enj
Copy link
Contributor Author

enj commented Sep 24, 2018

/retest

2 similar comments
@enj
Copy link
Contributor Author

enj commented Sep 24, 2018

/retest

@enj
Copy link
Contributor Author

enj commented Sep 24, 2018

/retest

@soltysh
Copy link
Contributor

soltysh commented Sep 25, 2018

@enj I think you need to post those against ose not here. The same applies to the 3.9 cherry-pick.

@enj
Copy link
Contributor Author

enj commented Sep 25, 2018

@enj I think you need to post those against ose not here. The same applies to the 3.9 cherry-pick.

Yeah I just like to use the origin CI to vet stuff (but the 3.10 unit tests seem to be flaking :/)

@enj enj closed this Sep 25, 2018
sttts pushed a commit to sttts/origin that referenced this pull request Aug 26, 2019
…21083-upstream-ose-enterprise-3.10

Automated cherry pick of openshift#21083 on enterprise-3.10
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. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants