Skip to content
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

Fix bugzilla 15077030 rolebindings for serviceaccounts #2406

Conversation

benjaminapetersen
Copy link
Contributor

Fix bugzilla 15077030 where deleting a rolebinding for a serviceaccount can delete additional rolebindings for serviceaccounts from another namespace.

Hopefully will follow-up with some tests soon. Time elapse is def showing some subtle bugs here.

@openshift-ci-robot openshift-ci-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Oct 31, 2017
@benjaminapetersen
Copy link
Contributor Author

yup, updating test

@spadgett
Copy link
Member

Fix looks good to me pending test changes.

/kind bug

@openshift-ci-robot openshift-ci-robot added the kind/bug Categorizes issue or PR as related to a bug. label Oct 31, 2017
@benjaminapetersen benjaminapetersen force-pushed the bugzilla/1507730/serviceaccount-rolebinding-double-delete branch from 95a6c6b to 4d6fad0 Compare October 31, 2017 19:02
@openshift-ci-robot openshift-ci-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Oct 31, 2017
…nt can delete additional rolebindings for serviceaccounts from another namespace
@benjaminapetersen benjaminapetersen force-pushed the bugzilla/1507730/serviceaccount-rolebinding-double-delete branch from 4d6fad0 to b54162a Compare October 31, 2017 19:03
@@ -102,13 +105,61 @@ describe('RoleBindingsService', function() {
$rootScope.$digest();
});

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added new test to cover this use case here.

@benjaminapetersen
Copy link
Contributor Author

@spadgett tests updated & new test added.

@spadgett
Copy link
Member

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Oct 31, 2017
@openshift-merge-robot
Copy link
Contributor

Automatic merge from submit-queue.

@openshift-merge-robot openshift-merge-robot merged commit dad6a0d into openshift:master Oct 31, 2017
@benjaminapetersen benjaminapetersen deleted the bugzilla/1507730/serviceaccount-rolebinding-double-delete branch October 31, 2017 20:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug. 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.

None yet

4 participants