Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
40d8e2ad
Commit
40d8e2ad
authored
Jan 31, 2017
by
Kubernetes Submit Queue
Committed by
GitHub
Jan 31, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #40579 from liggitt/rbac-v1beta1
Automatic merge from submit-queue (batch tested with PRs 40392, 39242, 40579, 40628, 40713) Update rbac role data to v1beta1
parents
fe01eef0
a65e042b
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
66 additions
and
66 deletions
+66
-66
BUILD
plugin/pkg/auth/authorizer/rbac/bootstrappolicy/BUILD
+1
-1
policy_test.go
...n/pkg/auth/authorizer/rbac/bootstrappolicy/policy_test.go
+3
-3
cluster-role-bindings.yaml
.../rbac/bootstrappolicy/testdata/cluster-role-bindings.yaml
+6
-6
cluster-roles.yaml
...thorizer/rbac/bootstrappolicy/testdata/cluster-roles.yaml
+14
-14
controller-role-bindings.yaml
...ac/bootstrappolicy/testdata/controller-role-bindings.yaml
+21
-21
controller-roles.yaml
...rizer/rbac/bootstrappolicy/testdata/controller-roles.yaml
+21
-21
No files found.
plugin/pkg/auth/authorizer/rbac/bootstrappolicy/BUILD
View file @
40d8e2ad
...
@@ -36,7 +36,7 @@ go_test(
...
@@ -36,7 +36,7 @@ go_test(
"//pkg/api/v1:go_default_library",
"//pkg/api/v1:go_default_library",
"//pkg/apis/rbac:go_default_library",
"//pkg/apis/rbac:go_default_library",
"//pkg/apis/rbac/install:go_default_library",
"//pkg/apis/rbac/install:go_default_library",
"//pkg/apis/rbac/v1
alph
a1:go_default_library",
"//pkg/apis/rbac/v1
bet
a1:go_default_library",
"//pkg/registry/rbac/validation:go_default_library",
"//pkg/registry/rbac/validation:go_default_library",
"//plugin/pkg/auth/authorizer/rbac/bootstrappolicy:go_default_library",
"//plugin/pkg/auth/authorizer/rbac/bootstrappolicy:go_default_library",
"//vendor:github.com/ghodss/yaml",
"//vendor:github.com/ghodss/yaml",
...
...
plugin/pkg/auth/authorizer/rbac/bootstrappolicy/policy_test.go
View file @
40d8e2ad
...
@@ -34,7 +34,7 @@ import (
...
@@ -34,7 +34,7 @@ import (
"k8s.io/kubernetes/pkg/api/v1"
"k8s.io/kubernetes/pkg/api/v1"
"k8s.io/kubernetes/pkg/apis/rbac"
"k8s.io/kubernetes/pkg/apis/rbac"
_
"k8s.io/kubernetes/pkg/apis/rbac/install"
_
"k8s.io/kubernetes/pkg/apis/rbac/install"
rbacv1
alpha1
"k8s.io/kubernetes/pkg/apis/rbac/v1alph
a1"
rbacv1
beta1
"k8s.io/kubernetes/pkg/apis/rbac/v1bet
a1"
rbacregistryvalidation
"k8s.io/kubernetes/pkg/registry/rbac/validation"
rbacregistryvalidation
"k8s.io/kubernetes/pkg/registry/rbac/validation"
"k8s.io/kubernetes/plugin/pkg/auth/authorizer/rbac/bootstrappolicy"
"k8s.io/kubernetes/plugin/pkg/auth/authorizer/rbac/bootstrappolicy"
)
)
...
@@ -222,11 +222,11 @@ func testObjects(t *testing.T, list *api.List, fixtureFilename string) {
...
@@ -222,11 +222,11 @@ func testObjects(t *testing.T, list *api.List, fixtureFilename string) {
t
.
Fatal
(
err
)
t
.
Fatal
(
err
)
}
}
if
err
:=
runtime
.
EncodeList
(
api
.
Codecs
.
LegacyCodec
(
v1
.
SchemeGroupVersion
,
rbacv1
alph
a1
.
SchemeGroupVersion
),
list
.
Items
);
err
!=
nil
{
if
err
:=
runtime
.
EncodeList
(
api
.
Codecs
.
LegacyCodec
(
v1
.
SchemeGroupVersion
,
rbacv1
bet
a1
.
SchemeGroupVersion
),
list
.
Items
);
err
!=
nil
{
t
.
Fatal
(
err
)
t
.
Fatal
(
err
)
}
}
jsonData
,
err
:=
runtime
.
Encode
(
api
.
Codecs
.
LegacyCodec
(
v1
.
SchemeGroupVersion
,
rbacv1
alph
a1
.
SchemeGroupVersion
),
list
)
jsonData
,
err
:=
runtime
.
Encode
(
api
.
Codecs
.
LegacyCodec
(
v1
.
SchemeGroupVersion
,
rbacv1
bet
a1
.
SchemeGroupVersion
),
list
)
if
err
!=
nil
{
if
err
!=
nil
{
t
.
Fatal
(
err
)
t
.
Fatal
(
err
)
}
}
...
...
plugin/pkg/auth/authorizer/rbac/bootstrappolicy/testdata/cluster-role-bindings.yaml
View file @
40d8e2ad
apiVersion
:
v1
apiVersion
:
v1
items
:
items
:
-
apiVersion
:
rbac.authorization.k8s.io/v1
alph
a1
-
apiVersion
:
rbac.authorization.k8s.io/v1
bet
a1
kind
:
ClusterRoleBinding
kind
:
ClusterRoleBinding
metadata
:
metadata
:
creationTimestamp
:
null
creationTimestamp
:
null
...
@@ -14,7 +14,7 @@ items:
...
@@ -14,7 +14,7 @@ items:
subjects
:
subjects
:
-
kind
:
Group
-
kind
:
Group
name
:
system:masters
name
:
system:masters
-
apiVersion
:
rbac.authorization.k8s.io/v1
alph
a1
-
apiVersion
:
rbac.authorization.k8s.io/v1
bet
a1
kind
:
ClusterRoleBinding
kind
:
ClusterRoleBinding
metadata
:
metadata
:
creationTimestamp
:
null
creationTimestamp
:
null
...
@@ -30,7 +30,7 @@ items:
...
@@ -30,7 +30,7 @@ items:
name
:
system:authenticated
name
:
system:authenticated
-
kind
:
Group
-
kind
:
Group
name
:
system:unauthenticated
name
:
system:unauthenticated
-
apiVersion
:
rbac.authorization.k8s.io/v1
alph
a1
-
apiVersion
:
rbac.authorization.k8s.io/v1
bet
a1
kind
:
ClusterRoleBinding
kind
:
ClusterRoleBinding
metadata
:
metadata
:
creationTimestamp
:
null
creationTimestamp
:
null
...
@@ -46,7 +46,7 @@ items:
...
@@ -46,7 +46,7 @@ items:
name
:
system:authenticated
name
:
system:authenticated
-
kind
:
Group
-
kind
:
Group
name
:
system:unauthenticated
name
:
system:unauthenticated
-
apiVersion
:
rbac.authorization.k8s.io/v1
alph
a1
-
apiVersion
:
rbac.authorization.k8s.io/v1
bet
a1
kind
:
ClusterRoleBinding
kind
:
ClusterRoleBinding
metadata
:
metadata
:
creationTimestamp
:
null
creationTimestamp
:
null
...
@@ -60,7 +60,7 @@ items:
...
@@ -60,7 +60,7 @@ items:
subjects
:
subjects
:
-
kind
:
User
-
kind
:
User
name
:
system:kube-controller-manager
name
:
system:kube-controller-manager
-
apiVersion
:
rbac.authorization.k8s.io/v1
alph
a1
-
apiVersion
:
rbac.authorization.k8s.io/v1
bet
a1
kind
:
ClusterRoleBinding
kind
:
ClusterRoleBinding
metadata
:
metadata
:
creationTimestamp
:
null
creationTimestamp
:
null
...
@@ -74,7 +74,7 @@ items:
...
@@ -74,7 +74,7 @@ items:
subjects
:
subjects
:
-
kind
:
Group
-
kind
:
Group
name
:
system:nodes
name
:
system:nodes
-
apiVersion
:
rbac.authorization.k8s.io/v1
alph
a1
-
apiVersion
:
rbac.authorization.k8s.io/v1
bet
a1
kind
:
ClusterRoleBinding
kind
:
ClusterRoleBinding
metadata
:
metadata
:
creationTimestamp
:
null
creationTimestamp
:
null
...
...
plugin/pkg/auth/authorizer/rbac/bootstrappolicy/testdata/cluster-roles.yaml
View file @
40d8e2ad
apiVersion
:
v1
apiVersion
:
v1
items
:
items
:
-
apiVersion
:
rbac.authorization.k8s.io/v1
alph
a1
-
apiVersion
:
rbac.authorization.k8s.io/v1
bet
a1
kind
:
ClusterRole
kind
:
ClusterRole
metadata
:
metadata
:
creationTimestamp
:
null
creationTimestamp
:
null
...
@@ -157,7 +157,7 @@ items:
...
@@ -157,7 +157,7 @@ items:
-
patch
-
patch
-
update
-
update
-
watch
-
watch
-
apiVersion
:
rbac.authorization.k8s.io/v1
alph
a1
-
apiVersion
:
rbac.authorization.k8s.io/v1
bet
a1
kind
:
ClusterRole
kind
:
ClusterRole
metadata
:
metadata
:
creationTimestamp
:
null
creationTimestamp
:
null
...
@@ -175,7 +175,7 @@ items:
...
@@ -175,7 +175,7 @@ items:
-
'
*'
-
'
*'
verbs
:
verbs
:
-
'
*'
-
'
*'
-
apiVersion
:
rbac.authorization.k8s.io/v1
alph
a1
-
apiVersion
:
rbac.authorization.k8s.io/v1
bet
a1
kind
:
ClusterRole
kind
:
ClusterRole
metadata
:
metadata
:
creationTimestamp
:
null
creationTimestamp
:
null
...
@@ -312,7 +312,7 @@ items:
...
@@ -312,7 +312,7 @@ items:
-
patch
-
patch
-
update
-
update
-
watch
-
watch
-
apiVersion
:
rbac.authorization.k8s.io/v1
alph
a1
-
apiVersion
:
rbac.authorization.k8s.io/v1
bet
a1
kind
:
ClusterRole
kind
:
ClusterRole
metadata
:
metadata
:
creationTimestamp
:
null
creationTimestamp
:
null
...
@@ -332,7 +332,7 @@ items:
...
@@ -332,7 +332,7 @@ items:
-
subjectaccessreviews
-
subjectaccessreviews
verbs
:
verbs
:
-
create
-
create
-
apiVersion
:
rbac.authorization.k8s.io/v1
alph
a1
-
apiVersion
:
rbac.authorization.k8s.io/v1
bet
a1
kind
:
ClusterRole
kind
:
ClusterRole
metadata
:
metadata
:
creationTimestamp
:
null
creationTimestamp
:
null
...
@@ -346,7 +346,7 @@ items:
...
@@ -346,7 +346,7 @@ items:
-
selfsubjectaccessreviews
-
selfsubjectaccessreviews
verbs
:
verbs
:
-
create
-
create
-
apiVersion
:
rbac.authorization.k8s.io/v1
alph
a1
-
apiVersion
:
rbac.authorization.k8s.io/v1
bet
a1
kind
:
ClusterRole
kind
:
ClusterRole
metadata
:
metadata
:
creationTimestamp
:
null
creationTimestamp
:
null
...
@@ -364,7 +364,7 @@ items:
...
@@ -364,7 +364,7 @@ items:
-
/version
-
/version
verbs
:
verbs
:
-
get
-
get
-
apiVersion
:
rbac.authorization.k8s.io/v1
alph
a1
-
apiVersion
:
rbac.authorization.k8s.io/v1
bet
a1
kind
:
ClusterRole
kind
:
ClusterRole
metadata
:
metadata
:
creationTimestamp
:
null
creationTimestamp
:
null
...
@@ -383,7 +383,7 @@ items:
...
@@ -383,7 +383,7 @@ items:
-
get
-
get
-
list
-
list
-
watch
-
watch
-
apiVersion
:
rbac.authorization.k8s.io/v1
alph
a1
-
apiVersion
:
rbac.authorization.k8s.io/v1
bet
a1
kind
:
ClusterRole
kind
:
ClusterRole
metadata
:
metadata
:
creationTimestamp
:
null
creationTimestamp
:
null
...
@@ -400,7 +400,7 @@ items:
...
@@ -400,7 +400,7 @@ items:
-
get
-
get
-
list
-
list
-
watch
-
watch
-
apiVersion
:
rbac.authorization.k8s.io/v1
alph
a1
-
apiVersion
:
rbac.authorization.k8s.io/v1
bet
a1
kind
:
ClusterRole
kind
:
ClusterRole
metadata
:
metadata
:
creationTimestamp
:
null
creationTimestamp
:
null
...
@@ -476,7 +476,7 @@ items:
...
@@ -476,7 +476,7 @@ items:
verbs
:
verbs
:
-
list
-
list
-
watch
-
watch
-
apiVersion
:
rbac.authorization.k8s.io/v1
alph
a1
-
apiVersion
:
rbac.authorization.k8s.io/v1
bet
a1
kind
:
ClusterRole
kind
:
ClusterRole
metadata
:
metadata
:
creationTimestamp
:
null
creationTimestamp
:
null
...
@@ -571,7 +571,7 @@ items:
...
@@ -571,7 +571,7 @@ items:
-
endpoints
-
endpoints
verbs
:
verbs
:
-
get
-
get
-
apiVersion
:
rbac.authorization.k8s.io/v1
alph
a1
-
apiVersion
:
rbac.authorization.k8s.io/v1
bet
a1
kind
:
ClusterRole
kind
:
ClusterRole
metadata
:
metadata
:
creationTimestamp
:
null
creationTimestamp
:
null
...
@@ -594,7 +594,7 @@ items:
...
@@ -594,7 +594,7 @@ items:
-
get
-
get
-
list
-
list
-
watch
-
watch
-
apiVersion
:
rbac.authorization.k8s.io/v1
alph
a1
-
apiVersion
:
rbac.authorization.k8s.io/v1
bet
a1
kind
:
ClusterRole
kind
:
ClusterRole
metadata
:
metadata
:
creationTimestamp
:
null
creationTimestamp
:
null
...
@@ -622,7 +622,7 @@ items:
...
@@ -622,7 +622,7 @@ items:
-
create
-
create
-
patch
-
patch
-
update
-
update
-
apiVersion
:
rbac.authorization.k8s.io/v1
alph
a1
-
apiVersion
:
rbac.authorization.k8s.io/v1
bet
a1
kind
:
ClusterRole
kind
:
ClusterRole
metadata
:
metadata
:
creationTimestamp
:
null
creationTimestamp
:
null
...
@@ -652,7 +652,7 @@ items:
...
@@ -652,7 +652,7 @@ items:
-
create
-
create
-
patch
-
patch
-
update
-
update
-
apiVersion
:
rbac.authorization.k8s.io/v1
alph
a1
-
apiVersion
:
rbac.authorization.k8s.io/v1
bet
a1
kind
:
ClusterRole
kind
:
ClusterRole
metadata
:
metadata
:
creationTimestamp
:
null
creationTimestamp
:
null
...
...
plugin/pkg/auth/authorizer/rbac/bootstrappolicy/testdata/controller-role-bindings.yaml
View file @
40d8e2ad
apiVersion
:
v1
apiVersion
:
v1
items
:
items
:
-
apiVersion
:
rbac.authorization.k8s.io/v1
alph
a1
-
apiVersion
:
rbac.authorization.k8s.io/v1
bet
a1
kind
:
ClusterRoleBinding
kind
:
ClusterRoleBinding
metadata
:
metadata
:
creationTimestamp
:
null
creationTimestamp
:
null
...
@@ -15,7 +15,7 @@ items:
...
@@ -15,7 +15,7 @@ items:
-
kind
:
ServiceAccount
-
kind
:
ServiceAccount
name
:
attachdetach-controller
name
:
attachdetach-controller
namespace
:
kube-system
namespace
:
kube-system
-
apiVersion
:
rbac.authorization.k8s.io/v1
alph
a1
-
apiVersion
:
rbac.authorization.k8s.io/v1
bet
a1
kind
:
ClusterRoleBinding
kind
:
ClusterRoleBinding
metadata
:
metadata
:
creationTimestamp
:
null
creationTimestamp
:
null
...
@@ -30,7 +30,7 @@ items:
...
@@ -30,7 +30,7 @@ items:
-
kind
:
ServiceAccount
-
kind
:
ServiceAccount
name
:
certificate-controller
name
:
certificate-controller
namespace
:
kube-system
namespace
:
kube-system
-
apiVersion
:
rbac.authorization.k8s.io/v1
alph
a1
-
apiVersion
:
rbac.authorization.k8s.io/v1
bet
a1
kind
:
ClusterRoleBinding
kind
:
ClusterRoleBinding
metadata
:
metadata
:
creationTimestamp
:
null
creationTimestamp
:
null
...
@@ -45,7 +45,7 @@ items:
...
@@ -45,7 +45,7 @@ items:
-
kind
:
ServiceAccount
-
kind
:
ServiceAccount
name
:
cronjob-controller
name
:
cronjob-controller
namespace
:
kube-system
namespace
:
kube-system
-
apiVersion
:
rbac.authorization.k8s.io/v1
alph
a1
-
apiVersion
:
rbac.authorization.k8s.io/v1
bet
a1
kind
:
ClusterRoleBinding
kind
:
ClusterRoleBinding
metadata
:
metadata
:
creationTimestamp
:
null
creationTimestamp
:
null
...
@@ -60,7 +60,7 @@ items:
...
@@ -60,7 +60,7 @@ items:
-
kind
:
ServiceAccount
-
kind
:
ServiceAccount
name
:
daemon-set-controller
name
:
daemon-set-controller
namespace
:
kube-system
namespace
:
kube-system
-
apiVersion
:
rbac.authorization.k8s.io/v1
alph
a1
-
apiVersion
:
rbac.authorization.k8s.io/v1
bet
a1
kind
:
ClusterRoleBinding
kind
:
ClusterRoleBinding
metadata
:
metadata
:
creationTimestamp
:
null
creationTimestamp
:
null
...
@@ -75,7 +75,7 @@ items:
...
@@ -75,7 +75,7 @@ items:
-
kind
:
ServiceAccount
-
kind
:
ServiceAccount
name
:
deployment-controller
name
:
deployment-controller
namespace
:
kube-system
namespace
:
kube-system
-
apiVersion
:
rbac.authorization.k8s.io/v1
alph
a1
-
apiVersion
:
rbac.authorization.k8s.io/v1
bet
a1
kind
:
ClusterRoleBinding
kind
:
ClusterRoleBinding
metadata
:
metadata
:
creationTimestamp
:
null
creationTimestamp
:
null
...
@@ -90,7 +90,7 @@ items:
...
@@ -90,7 +90,7 @@ items:
-
kind
:
ServiceAccount
-
kind
:
ServiceAccount
name
:
disruption-controller
name
:
disruption-controller
namespace
:
kube-system
namespace
:
kube-system
-
apiVersion
:
rbac.authorization.k8s.io/v1
alph
a1
-
apiVersion
:
rbac.authorization.k8s.io/v1
bet
a1
kind
:
ClusterRoleBinding
kind
:
ClusterRoleBinding
metadata
:
metadata
:
creationTimestamp
:
null
creationTimestamp
:
null
...
@@ -105,7 +105,7 @@ items:
...
@@ -105,7 +105,7 @@ items:
-
kind
:
ServiceAccount
-
kind
:
ServiceAccount
name
:
endpoint-controller
name
:
endpoint-controller
namespace
:
kube-system
namespace
:
kube-system
-
apiVersion
:
rbac.authorization.k8s.io/v1
alph
a1
-
apiVersion
:
rbac.authorization.k8s.io/v1
bet
a1
kind
:
ClusterRoleBinding
kind
:
ClusterRoleBinding
metadata
:
metadata
:
creationTimestamp
:
null
creationTimestamp
:
null
...
@@ -120,7 +120,7 @@ items:
...
@@ -120,7 +120,7 @@ items:
-
kind
:
ServiceAccount
-
kind
:
ServiceAccount
name
:
generic-garbage-collector
name
:
generic-garbage-collector
namespace
:
kube-system
namespace
:
kube-system
-
apiVersion
:
rbac.authorization.k8s.io/v1
alph
a1
-
apiVersion
:
rbac.authorization.k8s.io/v1
bet
a1
kind
:
ClusterRoleBinding
kind
:
ClusterRoleBinding
metadata
:
metadata
:
creationTimestamp
:
null
creationTimestamp
:
null
...
@@ -135,7 +135,7 @@ items:
...
@@ -135,7 +135,7 @@ items:
-
kind
:
ServiceAccount
-
kind
:
ServiceAccount
name
:
horizontal-pod-autoscaler
name
:
horizontal-pod-autoscaler
namespace
:
kube-system
namespace
:
kube-system
-
apiVersion
:
rbac.authorization.k8s.io/v1
alph
a1
-
apiVersion
:
rbac.authorization.k8s.io/v1
bet
a1
kind
:
ClusterRoleBinding
kind
:
ClusterRoleBinding
metadata
:
metadata
:
creationTimestamp
:
null
creationTimestamp
:
null
...
@@ -150,7 +150,7 @@ items:
...
@@ -150,7 +150,7 @@ items:
-
kind
:
ServiceAccount
-
kind
:
ServiceAccount
name
:
job-controller
name
:
job-controller
namespace
:
kube-system
namespace
:
kube-system
-
apiVersion
:
rbac.authorization.k8s.io/v1
alph
a1
-
apiVersion
:
rbac.authorization.k8s.io/v1
bet
a1
kind
:
ClusterRoleBinding
kind
:
ClusterRoleBinding
metadata
:
metadata
:
creationTimestamp
:
null
creationTimestamp
:
null
...
@@ -165,7 +165,7 @@ items:
...
@@ -165,7 +165,7 @@ items:
-
kind
:
ServiceAccount
-
kind
:
ServiceAccount
name
:
namespace-controller
name
:
namespace-controller
namespace
:
kube-system
namespace
:
kube-system
-
apiVersion
:
rbac.authorization.k8s.io/v1
alph
a1
-
apiVersion
:
rbac.authorization.k8s.io/v1
bet
a1
kind
:
ClusterRoleBinding
kind
:
ClusterRoleBinding
metadata
:
metadata
:
creationTimestamp
:
null
creationTimestamp
:
null
...
@@ -180,7 +180,7 @@ items:
...
@@ -180,7 +180,7 @@ items:
-
kind
:
ServiceAccount
-
kind
:
ServiceAccount
name
:
node-controller
name
:
node-controller
namespace
:
kube-system
namespace
:
kube-system
-
apiVersion
:
rbac.authorization.k8s.io/v1
alph
a1
-
apiVersion
:
rbac.authorization.k8s.io/v1
bet
a1
kind
:
ClusterRoleBinding
kind
:
ClusterRoleBinding
metadata
:
metadata
:
creationTimestamp
:
null
creationTimestamp
:
null
...
@@ -195,7 +195,7 @@ items:
...
@@ -195,7 +195,7 @@ items:
-
kind
:
ServiceAccount
-
kind
:
ServiceAccount
name
:
persistent-volume-binder
name
:
persistent-volume-binder
namespace
:
kube-system
namespace
:
kube-system
-
apiVersion
:
rbac.authorization.k8s.io/v1
alph
a1
-
apiVersion
:
rbac.authorization.k8s.io/v1
bet
a1
kind
:
ClusterRoleBinding
kind
:
ClusterRoleBinding
metadata
:
metadata
:
creationTimestamp
:
null
creationTimestamp
:
null
...
@@ -210,7 +210,7 @@ items:
...
@@ -210,7 +210,7 @@ items:
-
kind
:
ServiceAccount
-
kind
:
ServiceAccount
name
:
pod-garbage-collector
name
:
pod-garbage-collector
namespace
:
kube-system
namespace
:
kube-system
-
apiVersion
:
rbac.authorization.k8s.io/v1
alph
a1
-
apiVersion
:
rbac.authorization.k8s.io/v1
bet
a1
kind
:
ClusterRoleBinding
kind
:
ClusterRoleBinding
metadata
:
metadata
:
creationTimestamp
:
null
creationTimestamp
:
null
...
@@ -225,7 +225,7 @@ items:
...
@@ -225,7 +225,7 @@ items:
-
kind
:
ServiceAccount
-
kind
:
ServiceAccount
name
:
replicaset-controller
name
:
replicaset-controller
namespace
:
kube-system
namespace
:
kube-system
-
apiVersion
:
rbac.authorization.k8s.io/v1
alph
a1
-
apiVersion
:
rbac.authorization.k8s.io/v1
bet
a1
kind
:
ClusterRoleBinding
kind
:
ClusterRoleBinding
metadata
:
metadata
:
creationTimestamp
:
null
creationTimestamp
:
null
...
@@ -240,7 +240,7 @@ items:
...
@@ -240,7 +240,7 @@ items:
-
kind
:
ServiceAccount
-
kind
:
ServiceAccount
name
:
replication-controller
name
:
replication-controller
namespace
:
kube-system
namespace
:
kube-system
-
apiVersion
:
rbac.authorization.k8s.io/v1
alph
a1
-
apiVersion
:
rbac.authorization.k8s.io/v1
bet
a1
kind
:
ClusterRoleBinding
kind
:
ClusterRoleBinding
metadata
:
metadata
:
creationTimestamp
:
null
creationTimestamp
:
null
...
@@ -255,7 +255,7 @@ items:
...
@@ -255,7 +255,7 @@ items:
-
kind
:
ServiceAccount
-
kind
:
ServiceAccount
name
:
resourcequota-controller
name
:
resourcequota-controller
namespace
:
kube-system
namespace
:
kube-system
-
apiVersion
:
rbac.authorization.k8s.io/v1
alph
a1
-
apiVersion
:
rbac.authorization.k8s.io/v1
bet
a1
kind
:
ClusterRoleBinding
kind
:
ClusterRoleBinding
metadata
:
metadata
:
creationTimestamp
:
null
creationTimestamp
:
null
...
@@ -270,7 +270,7 @@ items:
...
@@ -270,7 +270,7 @@ items:
-
kind
:
ServiceAccount
-
kind
:
ServiceAccount
name
:
route-controller
name
:
route-controller
namespace
:
kube-system
namespace
:
kube-system
-
apiVersion
:
rbac.authorization.k8s.io/v1
alph
a1
-
apiVersion
:
rbac.authorization.k8s.io/v1
bet
a1
kind
:
ClusterRoleBinding
kind
:
ClusterRoleBinding
metadata
:
metadata
:
creationTimestamp
:
null
creationTimestamp
:
null
...
@@ -285,7 +285,7 @@ items:
...
@@ -285,7 +285,7 @@ items:
-
kind
:
ServiceAccount
-
kind
:
ServiceAccount
name
:
service-account-controller
name
:
service-account-controller
namespace
:
kube-system
namespace
:
kube-system
-
apiVersion
:
rbac.authorization.k8s.io/v1
alph
a1
-
apiVersion
:
rbac.authorization.k8s.io/v1
bet
a1
kind
:
ClusterRoleBinding
kind
:
ClusterRoleBinding
metadata
:
metadata
:
creationTimestamp
:
null
creationTimestamp
:
null
...
@@ -300,7 +300,7 @@ items:
...
@@ -300,7 +300,7 @@ items:
-
kind
:
ServiceAccount
-
kind
:
ServiceAccount
name
:
service-controller
name
:
service-controller
namespace
:
kube-system
namespace
:
kube-system
-
apiVersion
:
rbac.authorization.k8s.io/v1
alph
a1
-
apiVersion
:
rbac.authorization.k8s.io/v1
bet
a1
kind
:
ClusterRoleBinding
kind
:
ClusterRoleBinding
metadata
:
metadata
:
creationTimestamp
:
null
creationTimestamp
:
null
...
...
plugin/pkg/auth/authorizer/rbac/bootstrappolicy/testdata/controller-roles.yaml
View file @
40d8e2ad
apiVersion
:
v1
apiVersion
:
v1
items
:
items
:
-
apiVersion
:
rbac.authorization.k8s.io/v1
alph
a1
-
apiVersion
:
rbac.authorization.k8s.io/v1
bet
a1
kind
:
ClusterRole
kind
:
ClusterRole
metadata
:
metadata
:
creationTimestamp
:
null
creationTimestamp
:
null
...
@@ -46,7 +46,7 @@ items:
...
@@ -46,7 +46,7 @@ items:
-
create
-
create
-
patch
-
patch
-
update
-
update
-
apiVersion
:
rbac.authorization.k8s.io/v1
alph
a1
-
apiVersion
:
rbac.authorization.k8s.io/v1
bet
a1
kind
:
ClusterRole
kind
:
ClusterRole
metadata
:
metadata
:
creationTimestamp
:
null
creationTimestamp
:
null
...
@@ -77,7 +77,7 @@ items:
...
@@ -77,7 +77,7 @@ items:
-
create
-
create
-
patch
-
patch
-
update
-
update
-
apiVersion
:
rbac.authorization.k8s.io/v1
alph
a1
-
apiVersion
:
rbac.authorization.k8s.io/v1
bet
a1
kind
:
ClusterRole
kind
:
ClusterRole
metadata
:
metadata
:
creationTimestamp
:
null
creationTimestamp
:
null
...
@@ -126,7 +126,7 @@ items:
...
@@ -126,7 +126,7 @@ items:
-
create
-
create
-
patch
-
patch
-
update
-
update
-
apiVersion
:
rbac.authorization.k8s.io/v1
alph
a1
-
apiVersion
:
rbac.authorization.k8s.io/v1
bet
a1
kind
:
ClusterRole
kind
:
ClusterRole
metadata
:
metadata
:
creationTimestamp
:
null
creationTimestamp
:
null
...
@@ -178,7 +178,7 @@ items:
...
@@ -178,7 +178,7 @@ items:
-
create
-
create
-
patch
-
patch
-
update
-
update
-
apiVersion
:
rbac.authorization.k8s.io/v1
alph
a1
-
apiVersion
:
rbac.authorization.k8s.io/v1
bet
a1
kind
:
ClusterRole
kind
:
ClusterRole
metadata
:
metadata
:
creationTimestamp
:
null
creationTimestamp
:
null
...
@@ -230,7 +230,7 @@ items:
...
@@ -230,7 +230,7 @@ items:
-
create
-
create
-
patch
-
patch
-
update
-
update
-
apiVersion
:
rbac.authorization.k8s.io/v1
alph
a1
-
apiVersion
:
rbac.authorization.k8s.io/v1
bet
a1
kind
:
ClusterRole
kind
:
ClusterRole
metadata
:
metadata
:
creationTimestamp
:
null
creationTimestamp
:
null
...
@@ -292,7 +292,7 @@ items:
...
@@ -292,7 +292,7 @@ items:
-
create
-
create
-
patch
-
patch
-
update
-
update
-
apiVersion
:
rbac.authorization.k8s.io/v1
alph
a1
-
apiVersion
:
rbac.authorization.k8s.io/v1
bet
a1
kind
:
ClusterRole
kind
:
ClusterRole
metadata
:
metadata
:
creationTimestamp
:
null
creationTimestamp
:
null
...
@@ -333,7 +333,7 @@ items:
...
@@ -333,7 +333,7 @@ items:
-
create
-
create
-
patch
-
patch
-
update
-
update
-
apiVersion
:
rbac.authorization.k8s.io/v1
alph
a1
-
apiVersion
:
rbac.authorization.k8s.io/v1
bet
a1
kind
:
ClusterRole
kind
:
ClusterRole
metadata
:
metadata
:
creationTimestamp
:
null
creationTimestamp
:
null
...
@@ -360,7 +360,7 @@ items:
...
@@ -360,7 +360,7 @@ items:
-
create
-
create
-
patch
-
patch
-
update
-
update
-
apiVersion
:
rbac.authorization.k8s.io/v1
alph
a1
-
apiVersion
:
rbac.authorization.k8s.io/v1
bet
a1
kind
:
ClusterRole
kind
:
ClusterRole
metadata
:
metadata
:
creationTimestamp
:
null
creationTimestamp
:
null
...
@@ -429,7 +429,7 @@ items:
...
@@ -429,7 +429,7 @@ items:
-
create
-
create
-
patch
-
patch
-
update
-
update
-
apiVersion
:
rbac.authorization.k8s.io/v1
alph
a1
-
apiVersion
:
rbac.authorization.k8s.io/v1
bet
a1
kind
:
ClusterRole
kind
:
ClusterRole
metadata
:
metadata
:
creationTimestamp
:
null
creationTimestamp
:
null
...
@@ -469,7 +469,7 @@ items:
...
@@ -469,7 +469,7 @@ items:
-
create
-
create
-
patch
-
patch
-
update
-
update
-
apiVersion
:
rbac.authorization.k8s.io/v1
alph
a1
-
apiVersion
:
rbac.authorization.k8s.io/v1
bet
a1
kind
:
ClusterRole
kind
:
ClusterRole
metadata
:
metadata
:
creationTimestamp
:
null
creationTimestamp
:
null
...
@@ -502,7 +502,7 @@ items:
...
@@ -502,7 +502,7 @@ items:
-
deletecollection
-
deletecollection
-
get
-
get
-
list
-
list
-
apiVersion
:
rbac.authorization.k8s.io/v1
alph
a1
-
apiVersion
:
rbac.authorization.k8s.io/v1
bet
a1
kind
:
ClusterRole
kind
:
ClusterRole
metadata
:
metadata
:
creationTimestamp
:
null
creationTimestamp
:
null
...
@@ -546,7 +546,7 @@ items:
...
@@ -546,7 +546,7 @@ items:
-
create
-
create
-
patch
-
patch
-
update
-
update
-
apiVersion
:
rbac.authorization.k8s.io/v1
alph
a1
-
apiVersion
:
rbac.authorization.k8s.io/v1
bet
a1
kind
:
ClusterRole
kind
:
ClusterRole
metadata
:
metadata
:
creationTimestamp
:
null
creationTimestamp
:
null
...
@@ -633,7 +633,7 @@ items:
...
@@ -633,7 +633,7 @@ items:
-
create
-
create
-
patch
-
patch
-
update
-
update
-
apiVersion
:
rbac.authorization.k8s.io/v1
alph
a1
-
apiVersion
:
rbac.authorization.k8s.io/v1
bet
a1
kind
:
ClusterRole
kind
:
ClusterRole
metadata
:
metadata
:
creationTimestamp
:
null
creationTimestamp
:
null
...
@@ -655,7 +655,7 @@ items:
...
@@ -655,7 +655,7 @@ items:
-
nodes
-
nodes
verbs
:
verbs
:
-
list
-
list
-
apiVersion
:
rbac.authorization.k8s.io/v1
alph
a1
-
apiVersion
:
rbac.authorization.k8s.io/v1
bet
a1
kind
:
ClusterRole
kind
:
ClusterRole
metadata
:
metadata
:
creationTimestamp
:
null
creationTimestamp
:
null
...
@@ -696,7 +696,7 @@ items:
...
@@ -696,7 +696,7 @@ items:
-
create
-
create
-
patch
-
patch
-
update
-
update
-
apiVersion
:
rbac.authorization.k8s.io/v1
alph
a1
-
apiVersion
:
rbac.authorization.k8s.io/v1
bet
a1
kind
:
ClusterRole
kind
:
ClusterRole
metadata
:
metadata
:
creationTimestamp
:
null
creationTimestamp
:
null
...
@@ -737,7 +737,7 @@ items:
...
@@ -737,7 +737,7 @@ items:
-
create
-
create
-
patch
-
patch
-
update
-
update
-
apiVersion
:
rbac.authorization.k8s.io/v1
alph
a1
-
apiVersion
:
rbac.authorization.k8s.io/v1
bet
a1
kind
:
ClusterRole
kind
:
ClusterRole
metadata
:
metadata
:
creationTimestamp
:
null
creationTimestamp
:
null
...
@@ -766,7 +766,7 @@ items:
...
@@ -766,7 +766,7 @@ items:
-
create
-
create
-
patch
-
patch
-
update
-
update
-
apiVersion
:
rbac.authorization.k8s.io/v1
alph
a1
-
apiVersion
:
rbac.authorization.k8s.io/v1
bet
a1
kind
:
ClusterRole
kind
:
ClusterRole
metadata
:
metadata
:
creationTimestamp
:
null
creationTimestamp
:
null
...
@@ -795,7 +795,7 @@ items:
...
@@ -795,7 +795,7 @@ items:
-
create
-
create
-
patch
-
patch
-
update
-
update
-
apiVersion
:
rbac.authorization.k8s.io/v1
alph
a1
-
apiVersion
:
rbac.authorization.k8s.io/v1
bet
a1
kind
:
ClusterRole
kind
:
ClusterRole
metadata
:
metadata
:
creationTimestamp
:
null
creationTimestamp
:
null
...
@@ -817,7 +817,7 @@ items:
...
@@ -817,7 +817,7 @@ items:
-
create
-
create
-
patch
-
patch
-
update
-
update
-
apiVersion
:
rbac.authorization.k8s.io/v1
alph
a1
-
apiVersion
:
rbac.authorization.k8s.io/v1
bet
a1
kind
:
ClusterRole
kind
:
ClusterRole
metadata
:
metadata
:
creationTimestamp
:
null
creationTimestamp
:
null
...
@@ -854,7 +854,7 @@ items:
...
@@ -854,7 +854,7 @@ items:
-
create
-
create
-
patch
-
patch
-
update
-
update
-
apiVersion
:
rbac.authorization.k8s.io/v1
alph
a1
-
apiVersion
:
rbac.authorization.k8s.io/v1
bet
a1
kind
:
ClusterRole
kind
:
ClusterRole
metadata
:
metadata
:
creationTimestamp
:
null
creationTimestamp
:
null
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment