-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
rebase 1.9.0 beta.1 #17576
Merged
Merged
rebase 1.9.0 beta.1 #17576
Changes from 1 commit
Commits
Show all changes
78 commits
Select commit
Hold shift + click to select a range
f0bb2b6
update glide.yaml
deads2k c671103
update glide.yaml for networking
deads2k 07c6b99
glide.yaml: update ours dependencies
deads2k 710998e
bump(*)
deads2k c8626b7
UPSTREAM: 57148: expose special storage locations
deads2k f3769c7
UPSTREAM: 57149: make quota reusable
deads2k 123246b
UPSTREAM: <carry>: exclude some origin resources from quota
deads2k 534c679
UPSTREAM: <drop>: add back PrintSuccess. remove when printing is fixed
deads2k ca1b85f
UPSTREAM: <drop>: skip controller metric error, drop once we run in a…
deads2k 9ff7f3f
UPSTREAM: <drop>: skip scheduler configz error, drop once we run in a…
deads2k d34b354
UPSTREAM: <carry>: patch scheduler to apply defaults. drop once we r…
deads2k df449cc
UPSTREAM: <carry>: make wiring in kubeproxy easy until we sort out co…
deads2k f046a0b
UPSTREAM: 49312: allow the /version endpoint to pass through
deads2k 3c7a135
UPSTREAM: openshift/api: 17: Rbac fix
deads2k 3f45cdc
UPSTREAM: <drop>: remove usage of bad transport since only GKE routes
deads2k ee0f726
UPSTREAM: <carry>: keep set working on internal types
deads2k de36874
UPSTREAM: <drop>: enable beta APIs by default. fixed by several pulls…
deads2k 64974bc
UPSTREAM: 56687: kube-apiserver: enable admissionregistration v1beta1…
deads2k bf64f2c
UPSTREAM: 57150: allow convert to default on a per object basis
juanvallejo cf235c2
UPSTREAM: <carry>: switch apply to use the legacyscheme so our types …
deads2k 4bc612e
boring changes
deads2k 66d94ff
skuznets: switch to golang 1.9
deads2k fc9b4e2
DISABLE ROUTER e2e tests! hopefully fix golang 1.9 before we merge a…
deads2k 5b3859b
update generators
deads2k d1b5fe8
add secret reference
deads2k 42a1e2c
update image type generation flags
deads2k d49083e
CreatedByAnnotation is gone, idling probably broke again
deads2k 07e5313
image limit ranger plugin
deads2k ab033d4
explicitly stop running admission on some resources
deads2k 32a0c9a
add admission validation for *some* special resources
deads2k 27ad23a
NEEDS REVIEW: boring: docker client update
deads2k f490d38
update internal scale type for dc
deads2k 2f11419
interesting: update the dc/scale integration test to use the generic …
deads2k b3fa18d
minimal lease reconciler change
deads2k 22f0b91
remove deprecated dc rollback generator
deads2k 0aedd29
QUOTA: refactor our use of quota
deads2k 7f86e08
SEPARATE: needs picking to webconsole server when they rebase
deads2k 99c59c6
interesting: use listener instead of bindport
deads2k afdcb87
jvallejo: printing debt to fix
deads2k 2abedd5
SROSS: hack new start for hpa controller for https support
deads2k 5d40a0f
weird: clusterresourceoverride admission with a fake limit ranger
deads2k 4383cd7
admission wiring changes
deads2k 7ffc267
SJENNING: node wiring changes
deads2k 244afd3
DANW: update networking related code for rebase
deads2k 30fe89a
update deletion strategies
deads2k de21f14
authorization changes
deads2k 80cef2d
authorization: updates to bootstrap roles
deads2k a92560d
add roundtripping for aggregation rules
deads2k a1cef1f
apiserver default changes
deads2k 8454d7d
etcd storage test updates
deads2k 9344e48
BPAREES: simplify concurrent controller test
deads2k 062ffb1
BPAREES: crio values seem half changed
deads2k 93bd84a
router/f5: move test types into testing sub-pkg
sttts 0089bbb
oc: simple
deads2k ad7d2fc
oc: interesting: handle switch to external types in printers and set
deads2k 60d3fa9
oc: make printers work again - sortof
deads2k b15c3b6
oc: builder updates
deads2k 1d18e82
oc: cluster up dockername parsing
deads2k 31f33b0
oc: first round of fixes for test-cmd
juanvallejo 2cf15a3
oc: break oc explain
deads2k ee8266b
oc: adm migrate isn't getting a full scheme. add missing types
deads2k bb2ecf0
oc: stop testing upstream shortcuts, we no longer statically include …
deads2k 2db374f
oc: CLAYTON: using internal gives me external types
deads2k a4d2794
needs review: boring: change e2e status check
deads2k ebc468c
needs review: boring: ignore pod dns config for deployer pods
deads2k 7256949
boring: needs review: update deletion so it never waits. Something c…
deads2k 6c58566
boring: test updates
deads2k d4ee63c
generated
deads2k 9e3ca9a
DANW: comments
deads2k 6b39f30
separate kube controller informers in advance of splitting process
deads2k 2fa3a79
BPAREES: don't pass unused streams to streamoptions because it hangs
deads2k d826d91
make migration printing work again
deads2k a783419
UPSTREAM: 57107: Check ns setup error during e2e
deads2k 5c42201
make cluster quota admission wait for namespace to be present
deads2k b80c0d2
boring: update tsb e2e to exclude new events group
deads2k 088b81d
update bootstrap role for router
deads2k cdc12ca
skip some networking tests that fail in the rebase
deads2k b374cbd
increase DC hook timeouts. indicates pod start latency problem and f…
deads2k File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,14 +4,15 @@ import ( | |
api "github.com/openshift/origin/pkg/authorization/apis/authorization" | ||
"k8s.io/apimachinery/pkg/runtime" | ||
apirequest "k8s.io/apiserver/pkg/endpoints/request" | ||
"k8s.io/apiserver/pkg/registry/rest" | ||
) | ||
|
||
type Registry interface { | ||
CreateSubjectAccessReview(ctx apirequest.Context, subjectAccessReview *api.SubjectAccessReview) (*api.SubjectAccessReviewResponse, error) | ||
} | ||
|
||
type Storage interface { | ||
Create(ctx apirequest.Context, obj runtime.Object, _ bool) (runtime.Object, error) | ||
Create(ctx apirequest.Context, obj runtime.Object, _ rest.ValidateObjectFunc, _ bool) (runtime.Object, error) | ||
} | ||
|
||
type storage struct { | ||
|
@@ -23,7 +24,7 @@ func NewRegistry(s Storage) Registry { | |
} | ||
|
||
func (s *storage) CreateSubjectAccessReview(ctx apirequest.Context, subjectAccessReview *api.SubjectAccessReview) (*api.SubjectAccessReviewResponse, error) { | ||
obj, err := s.Create(ctx, subjectAccessReview, false) | ||
obj, err := s.Create(ctx, subjectAccessReview, nil, false) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Didn't I add some DenyAlways funcs in upstream? Would make it more explicit. |
||
if err != nil { | ||
return nil, err | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clarify in commit title/description which resources we're not running admission on and why