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

switch the easy admission plugins to external types #17288

Merged

Conversation

deads2k
Copy link
Contributor

@deads2k deads2k commented Nov 13, 2017

I also picked up the user change before I realized how far it rippled.

@openshift-ci-robot openshift-ci-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Nov 13, 2017
@openshift-merge-robot openshift-merge-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 13, 2017
@stevekuznetsov
Copy link
Contributor

/unassign

@deads2k deads2k force-pushed the admission-01-external-easy branch from dc56064 to cb71efe Compare November 14, 2017 15:29
@deads2k deads2k force-pushed the admission-01-external-easy branch from cb71efe to faf4959 Compare November 15, 2017 12:56
@deads2k
Copy link
Contributor Author

deads2k commented Nov 15, 2017

@deads2k
Copy link
Contributor Author

deads2k commented Nov 15, 2017

/retest

@stevekuznetsov
Copy link
Contributor

@deads2k that should be fixed now

/retest

@deads2k
Copy link
Contributor Author

deads2k commented Nov 15, 2017

Alright, I've convinced myself that it isn't going to be easier to break our internal api dependency on internal kube apis. Looks like this is the path forward.

@deads2k
Copy link
Contributor Author

deads2k commented Nov 21, 2017

/test all

return admission.NewForbidden(attr, fmt.Errorf("build strategy %s is not allowed", strategyTypeString(strategy)))
}

func strategyTypeString(strategy buildapi.BuildStrategy) string {
Copy link
Contributor

Choose a reason for hiding this comment

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

seems like build api helper to me

Copy link
Contributor Author

Choose a reason for hiding this comment

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

seems like build api helper to me

Single point of use is here.

@mfojtik
Copy link
Contributor

mfojtik commented Nov 21, 2017

/lgtm

@bparees fyi

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

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: deads2k, mfojtik

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

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

panic(err)
}
return out
}
Copy link
Contributor

Choose a reason for hiding this comment

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

also seems like a helper.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Single point of use is here.

Copy link
Contributor

Choose a reason for hiding this comment

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

you realize i'm probably about to have to do this everywhere else as part of converting to v1 apis, right?

panic(err)
}
return out
}
Copy link
Contributor

Choose a reason for hiding this comment

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

as does this

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Single point of use is here.

@openshift-merge-robot
Copy link
Contributor

/test all [submit-queue is verifying that this PR is safe to merge]

@openshift-merge-robot
Copy link
Contributor

Automatic merge from submit-queue.

@openshift-merge-robot openshift-merge-robot merged commit c3484c2 into openshift:master Nov 21, 2017
@openshift-ci-robot
Copy link

@deads2k: The following tests failed, say /retest to rerun them all:

Test name Commit Details Rerun command
ci/openshift-jenkins/extended_conformance_install_update faf4959 link /test extended_conformance_install_update
ci/openshift-jenkins/extended_conformance_gce faf4959 link /test extended_conformance_gce

Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR.

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. I understand the commands that are listed here.

@deads2k deads2k deleted the admission-01-external-easy branch January 24, 2018 14:36
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.

7 participants