mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 12:43:23 +00:00
Merge pull request #84758 from liggitt/deprecate-rbac
Mark rbac v1beta1 and v1alpha1 deprecated
This commit is contained in:
commit
7c2bfc0dda
32
api/openapi-spec/swagger.json
generated
32
api/openapi-spec/swagger.json
generated
@ -15382,7 +15382,7 @@
|
|||||||
"type": "object"
|
"type": "object"
|
||||||
},
|
},
|
||||||
"io.k8s.api.rbac.v1alpha1.ClusterRole": {
|
"io.k8s.api.rbac.v1alpha1.ClusterRole": {
|
||||||
"description": "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.",
|
"description": "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRole, and will no longer be served in v1.20.",
|
||||||
"properties": {
|
"properties": {
|
||||||
"aggregationRule": {
|
"aggregationRule": {
|
||||||
"$ref": "#/definitions/io.k8s.api.rbac.v1alpha1.AggregationRule",
|
"$ref": "#/definitions/io.k8s.api.rbac.v1alpha1.AggregationRule",
|
||||||
@ -15418,7 +15418,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"io.k8s.api.rbac.v1alpha1.ClusterRoleBinding": {
|
"io.k8s.api.rbac.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.",
|
"description": "ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBinding, and will no longer be served in v1.20.",
|
||||||
"properties": {
|
"properties": {
|
||||||
"apiVersion": {
|
"apiVersion": {
|
||||||
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
|
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
|
||||||
@ -15457,7 +15457,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"io.k8s.api.rbac.v1alpha1.ClusterRoleBindingList": {
|
"io.k8s.api.rbac.v1alpha1.ClusterRoleBindingList": {
|
||||||
"description": "ClusterRoleBindingList is a collection of ClusterRoleBindings",
|
"description": "ClusterRoleBindingList is a collection of ClusterRoleBindings. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBindings, and will no longer be served in v1.20.",
|
||||||
"properties": {
|
"properties": {
|
||||||
"apiVersion": {
|
"apiVersion": {
|
||||||
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
|
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
|
||||||
@ -15492,7 +15492,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"io.k8s.api.rbac.v1alpha1.ClusterRoleList": {
|
"io.k8s.api.rbac.v1alpha1.ClusterRoleList": {
|
||||||
"description": "ClusterRoleList is a collection of ClusterRoles",
|
"description": "ClusterRoleList is a collection of ClusterRoles. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoles, and will no longer be served in v1.20.",
|
||||||
"properties": {
|
"properties": {
|
||||||
"apiVersion": {
|
"apiVersion": {
|
||||||
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
|
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
|
||||||
@ -15571,7 +15571,7 @@
|
|||||||
"type": "object"
|
"type": "object"
|
||||||
},
|
},
|
||||||
"io.k8s.api.rbac.v1alpha1.Role": {
|
"io.k8s.api.rbac.v1alpha1.Role": {
|
||||||
"description": "Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding.",
|
"description": "Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 Role, and will no longer be served in v1.20.",
|
||||||
"properties": {
|
"properties": {
|
||||||
"apiVersion": {
|
"apiVersion": {
|
||||||
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
|
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
|
||||||
@ -15603,7 +15603,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"io.k8s.api.rbac.v1alpha1.RoleBinding": {
|
"io.k8s.api.rbac.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.",
|
"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. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBinding, and will no longer be served in v1.20.",
|
||||||
"properties": {
|
"properties": {
|
||||||
"apiVersion": {
|
"apiVersion": {
|
||||||
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
|
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
|
||||||
@ -15642,7 +15642,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"io.k8s.api.rbac.v1alpha1.RoleBindingList": {
|
"io.k8s.api.rbac.v1alpha1.RoleBindingList": {
|
||||||
"description": "RoleBindingList is a collection of RoleBindings",
|
"description": "RoleBindingList is a collection of RoleBindings Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBindingList, and will no longer be served in v1.20.",
|
||||||
"properties": {
|
"properties": {
|
||||||
"apiVersion": {
|
"apiVersion": {
|
||||||
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
|
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
|
||||||
@ -15677,7 +15677,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"io.k8s.api.rbac.v1alpha1.RoleList": {
|
"io.k8s.api.rbac.v1alpha1.RoleList": {
|
||||||
"description": "RoleList is a collection of Roles",
|
"description": "RoleList is a collection of Roles. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleList, and will no longer be served in v1.20.",
|
||||||
"properties": {
|
"properties": {
|
||||||
"apiVersion": {
|
"apiVersion": {
|
||||||
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
|
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
|
||||||
@ -15774,7 +15774,7 @@
|
|||||||
"type": "object"
|
"type": "object"
|
||||||
},
|
},
|
||||||
"io.k8s.api.rbac.v1beta1.ClusterRole": {
|
"io.k8s.api.rbac.v1beta1.ClusterRole": {
|
||||||
"description": "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.",
|
"description": "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRole, and will no longer be served in v1.20.",
|
||||||
"properties": {
|
"properties": {
|
||||||
"aggregationRule": {
|
"aggregationRule": {
|
||||||
"$ref": "#/definitions/io.k8s.api.rbac.v1beta1.AggregationRule",
|
"$ref": "#/definitions/io.k8s.api.rbac.v1beta1.AggregationRule",
|
||||||
@ -15810,7 +15810,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"io.k8s.api.rbac.v1beta1.ClusterRoleBinding": {
|
"io.k8s.api.rbac.v1beta1.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.",
|
"description": "ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBinding, and will no longer be served in v1.20.",
|
||||||
"properties": {
|
"properties": {
|
||||||
"apiVersion": {
|
"apiVersion": {
|
||||||
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
|
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
|
||||||
@ -15849,7 +15849,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"io.k8s.api.rbac.v1beta1.ClusterRoleBindingList": {
|
"io.k8s.api.rbac.v1beta1.ClusterRoleBindingList": {
|
||||||
"description": "ClusterRoleBindingList is a collection of ClusterRoleBindings",
|
"description": "ClusterRoleBindingList is a collection of ClusterRoleBindings. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBindingList, and will no longer be served in v1.20.",
|
||||||
"properties": {
|
"properties": {
|
||||||
"apiVersion": {
|
"apiVersion": {
|
||||||
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
|
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
|
||||||
@ -15884,7 +15884,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"io.k8s.api.rbac.v1beta1.ClusterRoleList": {
|
"io.k8s.api.rbac.v1beta1.ClusterRoleList": {
|
||||||
"description": "ClusterRoleList is a collection of ClusterRoles",
|
"description": "ClusterRoleList is a collection of ClusterRoles. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoles, and will no longer be served in v1.20.",
|
||||||
"properties": {
|
"properties": {
|
||||||
"apiVersion": {
|
"apiVersion": {
|
||||||
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
|
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
|
||||||
@ -15963,7 +15963,7 @@
|
|||||||
"type": "object"
|
"type": "object"
|
||||||
},
|
},
|
||||||
"io.k8s.api.rbac.v1beta1.Role": {
|
"io.k8s.api.rbac.v1beta1.Role": {
|
||||||
"description": "Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding.",
|
"description": "Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 Role, and will no longer be served in v1.20.",
|
||||||
"properties": {
|
"properties": {
|
||||||
"apiVersion": {
|
"apiVersion": {
|
||||||
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
|
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
|
||||||
@ -15995,7 +15995,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"io.k8s.api.rbac.v1beta1.RoleBinding": {
|
"io.k8s.api.rbac.v1beta1.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.",
|
"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. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBinding, and will no longer be served in v1.20.",
|
||||||
"properties": {
|
"properties": {
|
||||||
"apiVersion": {
|
"apiVersion": {
|
||||||
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
|
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
|
||||||
@ -16034,7 +16034,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"io.k8s.api.rbac.v1beta1.RoleBindingList": {
|
"io.k8s.api.rbac.v1beta1.RoleBindingList": {
|
||||||
"description": "RoleBindingList is a collection of RoleBindings",
|
"description": "RoleBindingList is a collection of RoleBindings Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBindingList, and will no longer be served in v1.20.",
|
||||||
"properties": {
|
"properties": {
|
||||||
"apiVersion": {
|
"apiVersion": {
|
||||||
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
|
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
|
||||||
@ -16069,7 +16069,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"io.k8s.api.rbac.v1beta1.RoleList": {
|
"io.k8s.api.rbac.v1beta1.RoleList": {
|
||||||
"description": "RoleList is a collection of Roles",
|
"description": "RoleList is a collection of Roles Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleList, and will no longer be served in v1.20.",
|
||||||
"properties": {
|
"properties": {
|
||||||
"apiVersion": {
|
"apiVersion": {
|
||||||
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
|
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
|
||||||
|
@ -37,6 +37,7 @@ message AggregationRule {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.
|
// ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.
|
||||||
|
// Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRole, and will no longer be served in v1.20.
|
||||||
message ClusterRole {
|
message ClusterRole {
|
||||||
// Standard object's metadata.
|
// Standard object's metadata.
|
||||||
// +optional
|
// +optional
|
||||||
@ -55,6 +56,7 @@ message ClusterRole {
|
|||||||
|
|
||||||
// ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace,
|
// ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace,
|
||||||
// and adds who information via Subject.
|
// and adds who information via Subject.
|
||||||
|
// Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBinding, and will no longer be served in v1.20.
|
||||||
message ClusterRoleBinding {
|
message ClusterRoleBinding {
|
||||||
// Standard object's metadata.
|
// Standard object's metadata.
|
||||||
// +optional
|
// +optional
|
||||||
@ -69,7 +71,8 @@ message ClusterRoleBinding {
|
|||||||
optional RoleRef roleRef = 3;
|
optional RoleRef roleRef = 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
// ClusterRoleBindingList is a collection of ClusterRoleBindings
|
// ClusterRoleBindingList is a collection of ClusterRoleBindings.
|
||||||
|
// Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBindings, and will no longer be served in v1.20.
|
||||||
message ClusterRoleBindingList {
|
message ClusterRoleBindingList {
|
||||||
// Standard object's metadata.
|
// Standard object's metadata.
|
||||||
// +optional
|
// +optional
|
||||||
@ -79,7 +82,8 @@ message ClusterRoleBindingList {
|
|||||||
repeated ClusterRoleBinding items = 2;
|
repeated ClusterRoleBinding items = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
// ClusterRoleList is a collection of ClusterRoles
|
// ClusterRoleList is a collection of ClusterRoles.
|
||||||
|
// Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoles, and will no longer be served in v1.20.
|
||||||
message ClusterRoleList {
|
message ClusterRoleList {
|
||||||
// Standard object's metadata.
|
// Standard object's metadata.
|
||||||
// +optional
|
// +optional
|
||||||
@ -117,6 +121,7 @@ message PolicyRule {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding.
|
// Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding.
|
||||||
|
// Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 Role, and will no longer be served in v1.20.
|
||||||
message Role {
|
message Role {
|
||||||
// Standard object's metadata.
|
// Standard object's metadata.
|
||||||
// +optional
|
// +optional
|
||||||
@ -130,6 +135,7 @@ message Role {
|
|||||||
// 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.
|
// 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
|
// 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.
|
// namespace only have effect in that namespace.
|
||||||
|
// Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBinding, and will no longer be served in v1.20.
|
||||||
message RoleBinding {
|
message RoleBinding {
|
||||||
// Standard object's metadata.
|
// Standard object's metadata.
|
||||||
// +optional
|
// +optional
|
||||||
@ -145,6 +151,7 @@ message RoleBinding {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// RoleBindingList is a collection of RoleBindings
|
// RoleBindingList is a collection of RoleBindings
|
||||||
|
// Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBindingList, and will no longer be served in v1.20.
|
||||||
message RoleBindingList {
|
message RoleBindingList {
|
||||||
// Standard object's metadata.
|
// Standard object's metadata.
|
||||||
// +optional
|
// +optional
|
||||||
@ -154,7 +161,8 @@ message RoleBindingList {
|
|||||||
repeated RoleBinding items = 2;
|
repeated RoleBinding items = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
// RoleList is a collection of Roles
|
// RoleList is a collection of Roles.
|
||||||
|
// Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleList, and will no longer be served in v1.20.
|
||||||
message RoleList {
|
message RoleList {
|
||||||
// Standard object's metadata.
|
// Standard object's metadata.
|
||||||
// +optional
|
// +optional
|
||||||
|
@ -103,6 +103,7 @@ type RoleRef struct {
|
|||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding.
|
// Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding.
|
||||||
|
// Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 Role, and will no longer be served in v1.20.
|
||||||
type Role struct {
|
type Role struct {
|
||||||
metav1.TypeMeta `json:",inline"`
|
metav1.TypeMeta `json:",inline"`
|
||||||
// Standard object's metadata.
|
// Standard object's metadata.
|
||||||
@ -120,6 +121,7 @@ type Role struct {
|
|||||||
// 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.
|
// 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
|
// 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.
|
// namespace only have effect in that namespace.
|
||||||
|
// Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBinding, and will no longer be served in v1.20.
|
||||||
type RoleBinding struct {
|
type RoleBinding struct {
|
||||||
metav1.TypeMeta `json:",inline"`
|
metav1.TypeMeta `json:",inline"`
|
||||||
// Standard object's metadata.
|
// Standard object's metadata.
|
||||||
@ -138,6 +140,7 @@ type RoleBinding struct {
|
|||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// RoleBindingList is a collection of RoleBindings
|
// RoleBindingList is a collection of RoleBindings
|
||||||
|
// Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBindingList, and will no longer be served in v1.20.
|
||||||
type RoleBindingList struct {
|
type RoleBindingList struct {
|
||||||
metav1.TypeMeta `json:",inline"`
|
metav1.TypeMeta `json:",inline"`
|
||||||
// Standard object's metadata.
|
// Standard object's metadata.
|
||||||
@ -150,7 +153,8 @@ type RoleBindingList struct {
|
|||||||
|
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// RoleList is a collection of Roles
|
// RoleList is a collection of Roles.
|
||||||
|
// Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleList, and will no longer be served in v1.20.
|
||||||
type RoleList struct {
|
type RoleList struct {
|
||||||
metav1.TypeMeta `json:",inline"`
|
metav1.TypeMeta `json:",inline"`
|
||||||
// Standard object's metadata.
|
// Standard object's metadata.
|
||||||
@ -166,6 +170,7 @@ type RoleList struct {
|
|||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.
|
// ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.
|
||||||
|
// Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRole, and will no longer be served in v1.20.
|
||||||
type ClusterRole struct {
|
type ClusterRole struct {
|
||||||
metav1.TypeMeta `json:",inline"`
|
metav1.TypeMeta `json:",inline"`
|
||||||
// Standard object's metadata.
|
// Standard object's metadata.
|
||||||
@ -197,6 +202,7 @@ type AggregationRule struct {
|
|||||||
|
|
||||||
// ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace,
|
// ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace,
|
||||||
// and adds who information via Subject.
|
// and adds who information via Subject.
|
||||||
|
// Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBinding, and will no longer be served in v1.20.
|
||||||
type ClusterRoleBinding struct {
|
type ClusterRoleBinding struct {
|
||||||
metav1.TypeMeta `json:",inline"`
|
metav1.TypeMeta `json:",inline"`
|
||||||
// Standard object's metadata.
|
// Standard object's metadata.
|
||||||
@ -214,7 +220,8 @@ type ClusterRoleBinding struct {
|
|||||||
|
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// ClusterRoleBindingList is a collection of ClusterRoleBindings
|
// ClusterRoleBindingList is a collection of ClusterRoleBindings.
|
||||||
|
// Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBindings, and will no longer be served in v1.20.
|
||||||
type ClusterRoleBindingList struct {
|
type ClusterRoleBindingList struct {
|
||||||
metav1.TypeMeta `json:",inline"`
|
metav1.TypeMeta `json:",inline"`
|
||||||
// Standard object's metadata.
|
// Standard object's metadata.
|
||||||
@ -227,7 +234,8 @@ type ClusterRoleBindingList struct {
|
|||||||
|
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// ClusterRoleList is a collection of ClusterRoles
|
// ClusterRoleList is a collection of ClusterRoles.
|
||||||
|
// Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoles, and will no longer be served in v1.20.
|
||||||
type ClusterRoleList struct {
|
type ClusterRoleList struct {
|
||||||
metav1.TypeMeta `json:",inline"`
|
metav1.TypeMeta `json:",inline"`
|
||||||
// Standard object's metadata.
|
// Standard object's metadata.
|
||||||
|
@ -37,7 +37,7 @@ func (AggregationRule) SwaggerDoc() map[string]string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
var map_ClusterRole = map[string]string{
|
var map_ClusterRole = map[string]string{
|
||||||
"": "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.",
|
"": "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRole, and will no longer be served in v1.20.",
|
||||||
"metadata": "Standard object's metadata.",
|
"metadata": "Standard object's metadata.",
|
||||||
"rules": "Rules holds all the PolicyRules for this ClusterRole",
|
"rules": "Rules holds all the PolicyRules for this ClusterRole",
|
||||||
"aggregationRule": "AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller.",
|
"aggregationRule": "AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller.",
|
||||||
@ -48,7 +48,7 @@ func (ClusterRole) SwaggerDoc() map[string]string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
var map_ClusterRoleBinding = map[string]string{
|
var map_ClusterRoleBinding = map[string]string{
|
||||||
"": "ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject.",
|
"": "ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBinding, and will no longer be served in v1.20.",
|
||||||
"metadata": "Standard object's metadata.",
|
"metadata": "Standard object's metadata.",
|
||||||
"subjects": "Subjects holds references to the objects the role applies to.",
|
"subjects": "Subjects holds references to the objects the role applies to.",
|
||||||
"roleRef": "RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error.",
|
"roleRef": "RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error.",
|
||||||
@ -59,7 +59,7 @@ func (ClusterRoleBinding) SwaggerDoc() map[string]string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
var map_ClusterRoleBindingList = map[string]string{
|
var map_ClusterRoleBindingList = map[string]string{
|
||||||
"": "ClusterRoleBindingList is a collection of ClusterRoleBindings",
|
"": "ClusterRoleBindingList is a collection of ClusterRoleBindings. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBindings, and will no longer be served in v1.20.",
|
||||||
"metadata": "Standard object's metadata.",
|
"metadata": "Standard object's metadata.",
|
||||||
"items": "Items is a list of ClusterRoleBindings",
|
"items": "Items is a list of ClusterRoleBindings",
|
||||||
}
|
}
|
||||||
@ -69,7 +69,7 @@ func (ClusterRoleBindingList) SwaggerDoc() map[string]string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
var map_ClusterRoleList = map[string]string{
|
var map_ClusterRoleList = map[string]string{
|
||||||
"": "ClusterRoleList is a collection of ClusterRoles",
|
"": "ClusterRoleList is a collection of ClusterRoles. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoles, and will no longer be served in v1.20.",
|
||||||
"metadata": "Standard object's metadata.",
|
"metadata": "Standard object's metadata.",
|
||||||
"items": "Items is a list of ClusterRoles",
|
"items": "Items is a list of ClusterRoles",
|
||||||
}
|
}
|
||||||
@ -92,7 +92,7 @@ func (PolicyRule) SwaggerDoc() map[string]string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
var map_Role = map[string]string{
|
var map_Role = map[string]string{
|
||||||
"": "Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding.",
|
"": "Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 Role, and will no longer be served in v1.20.",
|
||||||
"metadata": "Standard object's metadata.",
|
"metadata": "Standard object's metadata.",
|
||||||
"rules": "Rules holds all the PolicyRules for this Role",
|
"rules": "Rules holds all the PolicyRules for this Role",
|
||||||
}
|
}
|
||||||
@ -102,7 +102,7 @@ func (Role) SwaggerDoc() map[string]string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
var map_RoleBinding = map[string]string{
|
var map_RoleBinding = map[string]string{
|
||||||
"": "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.",
|
"": "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. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBinding, and will no longer be served in v1.20.",
|
||||||
"metadata": "Standard object's metadata.",
|
"metadata": "Standard object's metadata.",
|
||||||
"subjects": "Subjects holds references to the objects the role applies to.",
|
"subjects": "Subjects holds references to the objects the role applies to.",
|
||||||
"roleRef": "RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error.",
|
"roleRef": "RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error.",
|
||||||
@ -113,7 +113,7 @@ func (RoleBinding) SwaggerDoc() map[string]string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
var map_RoleBindingList = map[string]string{
|
var map_RoleBindingList = map[string]string{
|
||||||
"": "RoleBindingList is a collection of RoleBindings",
|
"": "RoleBindingList is a collection of RoleBindings Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBindingList, and will no longer be served in v1.20.",
|
||||||
"metadata": "Standard object's metadata.",
|
"metadata": "Standard object's metadata.",
|
||||||
"items": "Items is a list of RoleBindings",
|
"items": "Items is a list of RoleBindings",
|
||||||
}
|
}
|
||||||
@ -123,7 +123,7 @@ func (RoleBindingList) SwaggerDoc() map[string]string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
var map_RoleList = map[string]string{
|
var map_RoleList = map[string]string{
|
||||||
"": "RoleList is a collection of Roles",
|
"": "RoleList is a collection of Roles. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleList, and will no longer be served in v1.20.",
|
||||||
"metadata": "Standard object's metadata.",
|
"metadata": "Standard object's metadata.",
|
||||||
"items": "Items is a list of Roles",
|
"items": "Items is a list of Roles",
|
||||||
}
|
}
|
||||||
|
@ -37,6 +37,7 @@ message AggregationRule {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.
|
// ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.
|
||||||
|
// Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRole, and will no longer be served in v1.20.
|
||||||
message ClusterRole {
|
message ClusterRole {
|
||||||
// Standard object's metadata.
|
// Standard object's metadata.
|
||||||
// +optional
|
// +optional
|
||||||
@ -55,6 +56,7 @@ message ClusterRole {
|
|||||||
|
|
||||||
// ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace,
|
// ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace,
|
||||||
// and adds who information via Subject.
|
// and adds who information via Subject.
|
||||||
|
// Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBinding, and will no longer be served in v1.20.
|
||||||
message ClusterRoleBinding {
|
message ClusterRoleBinding {
|
||||||
// Standard object's metadata.
|
// Standard object's metadata.
|
||||||
// +optional
|
// +optional
|
||||||
@ -69,7 +71,8 @@ message ClusterRoleBinding {
|
|||||||
optional RoleRef roleRef = 3;
|
optional RoleRef roleRef = 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
// ClusterRoleBindingList is a collection of ClusterRoleBindings
|
// ClusterRoleBindingList is a collection of ClusterRoleBindings.
|
||||||
|
// Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBindingList, and will no longer be served in v1.20.
|
||||||
message ClusterRoleBindingList {
|
message ClusterRoleBindingList {
|
||||||
// Standard object's metadata.
|
// Standard object's metadata.
|
||||||
// +optional
|
// +optional
|
||||||
@ -79,7 +82,8 @@ message ClusterRoleBindingList {
|
|||||||
repeated ClusterRoleBinding items = 2;
|
repeated ClusterRoleBinding items = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
// ClusterRoleList is a collection of ClusterRoles
|
// ClusterRoleList is a collection of ClusterRoles.
|
||||||
|
// Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoles, and will no longer be served in v1.20.
|
||||||
message ClusterRoleList {
|
message ClusterRoleList {
|
||||||
// Standard object's metadata.
|
// Standard object's metadata.
|
||||||
// +optional
|
// +optional
|
||||||
@ -117,6 +121,7 @@ message PolicyRule {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding.
|
// Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding.
|
||||||
|
// Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 Role, and will no longer be served in v1.20.
|
||||||
message Role {
|
message Role {
|
||||||
// Standard object's metadata.
|
// Standard object's metadata.
|
||||||
// +optional
|
// +optional
|
||||||
@ -130,6 +135,7 @@ message Role {
|
|||||||
// 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.
|
// 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
|
// 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.
|
// namespace only have effect in that namespace.
|
||||||
|
// Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBinding, and will no longer be served in v1.20.
|
||||||
message RoleBinding {
|
message RoleBinding {
|
||||||
// Standard object's metadata.
|
// Standard object's metadata.
|
||||||
// +optional
|
// +optional
|
||||||
@ -145,6 +151,7 @@ message RoleBinding {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// RoleBindingList is a collection of RoleBindings
|
// RoleBindingList is a collection of RoleBindings
|
||||||
|
// Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBindingList, and will no longer be served in v1.20.
|
||||||
message RoleBindingList {
|
message RoleBindingList {
|
||||||
// Standard object's metadata.
|
// Standard object's metadata.
|
||||||
// +optional
|
// +optional
|
||||||
@ -155,6 +162,7 @@ message RoleBindingList {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// RoleList is a collection of Roles
|
// RoleList is a collection of Roles
|
||||||
|
// Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleList, and will no longer be served in v1.20.
|
||||||
message RoleList {
|
message RoleList {
|
||||||
// Standard object's metadata.
|
// Standard object's metadata.
|
||||||
// +optional
|
// +optional
|
||||||
|
@ -102,6 +102,7 @@ type RoleRef struct {
|
|||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding.
|
// Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding.
|
||||||
|
// Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 Role, and will no longer be served in v1.20.
|
||||||
type Role struct {
|
type Role struct {
|
||||||
metav1.TypeMeta `json:",inline"`
|
metav1.TypeMeta `json:",inline"`
|
||||||
// Standard object's metadata.
|
// Standard object's metadata.
|
||||||
@ -119,6 +120,7 @@ type Role struct {
|
|||||||
// 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.
|
// 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
|
// 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.
|
// namespace only have effect in that namespace.
|
||||||
|
// Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBinding, and will no longer be served in v1.20.
|
||||||
type RoleBinding struct {
|
type RoleBinding struct {
|
||||||
metav1.TypeMeta `json:",inline"`
|
metav1.TypeMeta `json:",inline"`
|
||||||
// Standard object's metadata.
|
// Standard object's metadata.
|
||||||
@ -137,6 +139,7 @@ type RoleBinding struct {
|
|||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// RoleBindingList is a collection of RoleBindings
|
// RoleBindingList is a collection of RoleBindings
|
||||||
|
// Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBindingList, and will no longer be served in v1.20.
|
||||||
type RoleBindingList struct {
|
type RoleBindingList struct {
|
||||||
metav1.TypeMeta `json:",inline"`
|
metav1.TypeMeta `json:",inline"`
|
||||||
// Standard object's metadata.
|
// Standard object's metadata.
|
||||||
@ -150,6 +153,7 @@ type RoleBindingList struct {
|
|||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// RoleList is a collection of Roles
|
// RoleList is a collection of Roles
|
||||||
|
// Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleList, and will no longer be served in v1.20.
|
||||||
type RoleList struct {
|
type RoleList struct {
|
||||||
metav1.TypeMeta `json:",inline"`
|
metav1.TypeMeta `json:",inline"`
|
||||||
// Standard object's metadata.
|
// Standard object's metadata.
|
||||||
@ -165,6 +169,7 @@ type RoleList struct {
|
|||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.
|
// ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.
|
||||||
|
// Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRole, and will no longer be served in v1.20.
|
||||||
type ClusterRole struct {
|
type ClusterRole struct {
|
||||||
metav1.TypeMeta `json:",inline"`
|
metav1.TypeMeta `json:",inline"`
|
||||||
// Standard object's metadata.
|
// Standard object's metadata.
|
||||||
@ -195,6 +200,7 @@ type AggregationRule struct {
|
|||||||
|
|
||||||
// ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace,
|
// ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace,
|
||||||
// and adds who information via Subject.
|
// and adds who information via Subject.
|
||||||
|
// Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBinding, and will no longer be served in v1.20.
|
||||||
type ClusterRoleBinding struct {
|
type ClusterRoleBinding struct {
|
||||||
metav1.TypeMeta `json:",inline"`
|
metav1.TypeMeta `json:",inline"`
|
||||||
// Standard object's metadata.
|
// Standard object's metadata.
|
||||||
@ -212,7 +218,8 @@ type ClusterRoleBinding struct {
|
|||||||
|
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// ClusterRoleBindingList is a collection of ClusterRoleBindings
|
// ClusterRoleBindingList is a collection of ClusterRoleBindings.
|
||||||
|
// Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBindingList, and will no longer be served in v1.20.
|
||||||
type ClusterRoleBindingList struct {
|
type ClusterRoleBindingList struct {
|
||||||
metav1.TypeMeta `json:",inline"`
|
metav1.TypeMeta `json:",inline"`
|
||||||
// Standard object's metadata.
|
// Standard object's metadata.
|
||||||
@ -225,7 +232,8 @@ type ClusterRoleBindingList struct {
|
|||||||
|
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// ClusterRoleList is a collection of ClusterRoles
|
// ClusterRoleList is a collection of ClusterRoles.
|
||||||
|
// Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoles, and will no longer be served in v1.20.
|
||||||
type ClusterRoleList struct {
|
type ClusterRoleList struct {
|
||||||
metav1.TypeMeta `json:",inline"`
|
metav1.TypeMeta `json:",inline"`
|
||||||
// Standard object's metadata.
|
// Standard object's metadata.
|
||||||
|
@ -37,7 +37,7 @@ func (AggregationRule) SwaggerDoc() map[string]string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
var map_ClusterRole = map[string]string{
|
var map_ClusterRole = map[string]string{
|
||||||
"": "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.",
|
"": "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRole, and will no longer be served in v1.20.",
|
||||||
"metadata": "Standard object's metadata.",
|
"metadata": "Standard object's metadata.",
|
||||||
"rules": "Rules holds all the PolicyRules for this ClusterRole",
|
"rules": "Rules holds all the PolicyRules for this ClusterRole",
|
||||||
"aggregationRule": "AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller.",
|
"aggregationRule": "AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller.",
|
||||||
@ -48,7 +48,7 @@ func (ClusterRole) SwaggerDoc() map[string]string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
var map_ClusterRoleBinding = map[string]string{
|
var map_ClusterRoleBinding = map[string]string{
|
||||||
"": "ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject.",
|
"": "ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBinding, and will no longer be served in v1.20.",
|
||||||
"metadata": "Standard object's metadata.",
|
"metadata": "Standard object's metadata.",
|
||||||
"subjects": "Subjects holds references to the objects the role applies to.",
|
"subjects": "Subjects holds references to the objects the role applies to.",
|
||||||
"roleRef": "RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error.",
|
"roleRef": "RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error.",
|
||||||
@ -59,7 +59,7 @@ func (ClusterRoleBinding) SwaggerDoc() map[string]string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
var map_ClusterRoleBindingList = map[string]string{
|
var map_ClusterRoleBindingList = map[string]string{
|
||||||
"": "ClusterRoleBindingList is a collection of ClusterRoleBindings",
|
"": "ClusterRoleBindingList is a collection of ClusterRoleBindings. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBindingList, and will no longer be served in v1.20.",
|
||||||
"metadata": "Standard object's metadata.",
|
"metadata": "Standard object's metadata.",
|
||||||
"items": "Items is a list of ClusterRoleBindings",
|
"items": "Items is a list of ClusterRoleBindings",
|
||||||
}
|
}
|
||||||
@ -69,7 +69,7 @@ func (ClusterRoleBindingList) SwaggerDoc() map[string]string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
var map_ClusterRoleList = map[string]string{
|
var map_ClusterRoleList = map[string]string{
|
||||||
"": "ClusterRoleList is a collection of ClusterRoles",
|
"": "ClusterRoleList is a collection of ClusterRoles. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoles, and will no longer be served in v1.20.",
|
||||||
"metadata": "Standard object's metadata.",
|
"metadata": "Standard object's metadata.",
|
||||||
"items": "Items is a list of ClusterRoles",
|
"items": "Items is a list of ClusterRoles",
|
||||||
}
|
}
|
||||||
@ -92,7 +92,7 @@ func (PolicyRule) SwaggerDoc() map[string]string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
var map_Role = map[string]string{
|
var map_Role = map[string]string{
|
||||||
"": "Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding.",
|
"": "Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 Role, and will no longer be served in v1.20.",
|
||||||
"metadata": "Standard object's metadata.",
|
"metadata": "Standard object's metadata.",
|
||||||
"rules": "Rules holds all the PolicyRules for this Role",
|
"rules": "Rules holds all the PolicyRules for this Role",
|
||||||
}
|
}
|
||||||
@ -102,7 +102,7 @@ func (Role) SwaggerDoc() map[string]string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
var map_RoleBinding = map[string]string{
|
var map_RoleBinding = map[string]string{
|
||||||
"": "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.",
|
"": "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. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBinding, and will no longer be served in v1.20.",
|
||||||
"metadata": "Standard object's metadata.",
|
"metadata": "Standard object's metadata.",
|
||||||
"subjects": "Subjects holds references to the objects the role applies to.",
|
"subjects": "Subjects holds references to the objects the role applies to.",
|
||||||
"roleRef": "RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error.",
|
"roleRef": "RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error.",
|
||||||
@ -113,7 +113,7 @@ func (RoleBinding) SwaggerDoc() map[string]string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
var map_RoleBindingList = map[string]string{
|
var map_RoleBindingList = map[string]string{
|
||||||
"": "RoleBindingList is a collection of RoleBindings",
|
"": "RoleBindingList is a collection of RoleBindings Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBindingList, and will no longer be served in v1.20.",
|
||||||
"metadata": "Standard object's metadata.",
|
"metadata": "Standard object's metadata.",
|
||||||
"items": "Items is a list of RoleBindings",
|
"items": "Items is a list of RoleBindings",
|
||||||
}
|
}
|
||||||
@ -123,7 +123,7 @@ func (RoleBindingList) SwaggerDoc() map[string]string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
var map_RoleList = map[string]string{
|
var map_RoleList = map[string]string{
|
||||||
"": "RoleList is a collection of Roles",
|
"": "RoleList is a collection of Roles Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleList, and will no longer be served in v1.20.",
|
||||||
"metadata": "Standard object's metadata.",
|
"metadata": "Standard object's metadata.",
|
||||||
"items": "Items is a list of Roles",
|
"items": "Items is a list of Roles",
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user