Skip to content

Stop using NormalizeResources in rulevalidation - #15911

Merged
openshift-merge-robot merged 2 commits into
openshift:masterfrom
simo5:nonorm2
Aug 24, 2017
Merged

openshift-merge-robot merged 2 commits into
openshift:masterfrom
simo5:nonorm2

Conversation

@simo5

@simo5 simo5 commented Aug 22, 2017

Copy link
Copy Markdown

Just remove it.

Fixes #13430

@openshift-merge-robot openshift-merge-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Aug 22, 2017
@enj

enj commented Aug 22, 2017

Copy link
Copy Markdown
Contributor

Covers is used by reconciliation and diagnostics, so I am not sure we can remove it yet. @deads2k WDYT?

@enj enj assigned liggitt and deads2k and unassigned csrwng and stevekuznetsov Aug 22, 2017
@liggitt

liggitt commented Aug 23, 2017

Copy link
Copy Markdown
Contributor

this makes resource group tests fail, but since we normalized before migrating to RBAC, we can drop all the groupsToResources code and the associated tests:

    github.com/openshift/origin/pkg/authorization/rulevalidation.TestResourceGroupCoveringEnumerated
    github.com/openshift/origin/pkg/authorization/rulevalidation.TestEnumeratedCoveringResourceGroup
    github.com/openshift/origin/pkg/authorization/rulevalidation.TestEnumeratedMissingPartOfResourceGroup

Just remove it.

Signed-off-by: Simo Sorce <[email protected]>
Turns out we do not need this stuff anymore.

Signed-off-by: Simo Sorce <[email protected]>
@openshift-merge-robot openshift-merge-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Aug 23, 2017
@simo5

simo5 commented Aug 23, 2017

Copy link
Copy Markdown
Author

@liggitt all tests passed, can you approve ?

@simo5
simo5 requested review from deads2k and liggitt August 23, 2017 19:28
@liggitt

liggitt commented Aug 23, 2017

Copy link
Copy Markdown
Contributor

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Aug 23, 2017
@openshift-merge-robot

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: liggitt, simo5

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

Details Needs approval from an approver in each of these OWNERS Files:

You can indicate your approval by writing /approve in a comment
You can cancel your approval by writing /approve cancel in a comment

@openshift-merge-robot openshift-merge-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 23, 2017
@openshift-merge-robot

Copy link
Copy Markdown
Contributor

Automatic merge from submit-queue (batch tested with PRs 15896, 15921, 15909, 15911, 15906)

@openshift-merge-robot
openshift-merge-robot merged commit 8221c1a into openshift:master Aug 24, 2017
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/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants