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

project clusterresourcequota into applicable namespaces #9609

Merged
merged 1 commit into from
Jul 2, 2016

Conversation

deads2k
Copy link
Contributor

@deads2k deads2k commented Jun 28, 2016

Last commit only. Builds on #9558 and #9588.

Adds appliedclusterresourcequotas as a projection of clusterresourcequotas that apply

@openshift/api-review Let's sort out name. Other possibilities that came up: applicableclusterresourcequota (jessica didn't care for it), associatedclusterresourcequota (doesn't seem any better)

@deads2k
Copy link
Contributor Author

deads2k commented Jun 28, 2016

[test]

@deads2k deads2k force-pushed the cq-06-projection branch 2 times, most recently from 3899fdf to 385ab68 Compare June 28, 2016 17:48
@openshift-bot openshift-bot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jun 29, 2016
list := &quotaapi.ClusterResourceQuotaList{}
matcher := clusterresourcequotaregistry.Matcher(oapi.ListOptionsToSelectors(options))
quotaNames, _ := r.quotaMapper.GetClusterQuotasFor(namespace)
fmt.Printf("#### 10a quotaNames: %v\n", quotaNames)
Copy link
Contributor

@soltysh soltysh Jun 29, 2016

Choose a reason for hiding this comment

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

Debug leftover.

@soltysh
Copy link
Contributor

soltysh commented Jun 29, 2016

One debug leftover, otherwise LGTM.

@liggitt
Copy link
Contributor

liggitt commented Jun 29, 2016

other alternatives considered:

  • selectingclusterresourcequotas
  • relatedclusterresourcequotas
  • localclusterresourcequotas

appliedclusterresourcequotas seems the best of the bunch

@deads2k
Copy link
Contributor Author

deads2k commented Jun 29, 2016

[merge]

@openshift-bot openshift-bot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jun 29, 2016
@deads2k deads2k force-pushed the cq-06-projection branch 5 times, most recently from f111cd2 to 1198a6f Compare June 30, 2016 20:32
@smarterclayton
Copy link
Contributor

Add a better description to the object godoc, including how it is used

@deads2k deads2k force-pushed the cq-06-projection branch from 1198a6f to 400605d Compare July 1, 2016 11:46
@deads2k deads2k force-pushed the cq-06-projection branch from 400605d to dfc40a7 Compare July 1, 2016 12:52
@deads2k
Copy link
Contributor Author

deads2k commented Jul 1, 2016

Add a better description to the object godoc, including how it is used

done.

@smarterclayton
Copy link
Contributor

Impeccable.

@deads2k
Copy link
Contributor Author

deads2k commented Jul 1, 2016

re[test]

@deads2k
Copy link
Contributor Author

deads2k commented Jul 1, 2016

#9512 re[test]

@openshift-bot
Copy link
Contributor

Evaluated for origin test up to dfc40a7

@openshift-bot
Copy link
Contributor

continuous-integration/openshift-jenkins/test SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/5703/)

@openshift-bot
Copy link
Contributor

openshift-bot commented Jul 2, 2016

continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/5737/) (Image: devenv-rhel7_4512)

@deads2k
Copy link
Contributor Author

deads2k commented Jul 2, 2016

@openshift-bot
Copy link
Contributor

Evaluated for origin merge up to dfc40a7

@openshift-bot openshift-bot merged commit 6fe8452 into openshift:master Jul 2, 2016
@deads2k deads2k deleted the cq-06-projection branch September 6, 2016 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants