k3s/pkg/registry
Kubernetes Submit Queue 67f2a7cc00 Merge pull request #43888 from liggitt/unsecured-port-user
Automatic merge from submit-queue (batch tested with PRs 43545, 44293, 44221, 43888)

Avoid nil user special-casing in unsecured endpoint

The unsecured handler currently adds no `user.Info` to the request context.  That means that anything that tries to authorize actions in the API server currently has to special case nil users to ensure the unsecured localhost endpoint remains capable of performing all actions. 

This PR changes the unsecured localhost endpoint to be treated as a privileged user internally, so that no special casing is required by code inside the authentication layer

I'm not particularly attached to the username. It doesn't bother me for it to have a slightly uncomfortable sounding name.
2017-04-11 12:18:24 -07:00
..
apps StatefulSet: Set DefaultGarbageCollectionPolicy to OrphanDependents. 2017-03-06 09:46:03 -08:00
authentication Update bazel 2017-02-15 10:25:15 +01:00
authorization Update bazel 2017-02-15 10:25:15 +01:00
autoscaling Update bazel 2017-02-15 10:25:15 +01:00
batch Issue 37166: remove everything from batch/v2alpha1 that is not new 2017-03-06 12:12:38 +01:00
cachesize Update generated files 2017-02-03 08:15:46 +01:00
certificates Merge pull request #41165 from nikhiljindal/del202 2017-02-26 14:54:54 -08:00
core remove objectmetafor 2017-04-10 15:13:35 -04:00
extensions move category expansion out of restmapper 2017-03-27 13:54:05 -04:00
policy Update bazel 2017-02-15 10:25:15 +01:00
rbac Avoid nil user special-casing in unsecured endpoint 2017-03-31 13:28:59 -04:00
registrytest Remove krousey from some OWNERS files 2017-03-10 11:12:29 -08:00
settings run generators and updaters 2017-03-01 13:04:29 -08:00
storage Regenerate everything 2017-03-02 08:56:26 +01:00
BUILD run generators and updaters 2017-03-01 13:04:29 -08:00
OWNERS add deads2k to registry package owners 2017-02-06 07:41:18 -05:00
doc.go Use Go canonical import paths 2016-07-16 13:48:21 -04:00