Merge pull request #26924 from olegshaldybin/pluralize-subject

Automatic merge from submit-queue

Rename RBAC 'subject' to 'subjects'.

Rename RBAC subject field

[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()
This commit is contained in:
k8s-merge-robot
2016-06-18 14:18:04 -07:00
committed by GitHub
5 changed files with 14 additions and 14 deletions

View File

@@ -2685,7 +2685,7 @@
"id": "v1alpha1.ClusterRoleBinding",
"description": "ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject.",
"required": [
"subject",
"subjects",
"roleRef"
],
"properties": {
@@ -2701,7 +2701,7 @@
"$ref": "v1.ObjectMeta",
"description": "Standard object's metadata."
},
"subject": {
"subjects": {
"type": "array",
"items": {
"$ref": "v1alpha1.Subject"
@@ -3151,7 +3151,7 @@
"id": "v1alpha1.RoleBinding",
"description": "RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace.",
"required": [
"subject",
"subjects",
"roleRef"
],
"properties": {
@@ -3167,7 +3167,7 @@
"$ref": "v1.ObjectMeta",
"description": "Standard object's metadata."
},
"subject": {
"subjects": {
"type": "array",
"items": {
"$ref": "v1alpha1.Subject"