RoleTemplate
RoleTemplate holds configuration for a template that is used to create kubernetes Roles and ClusterRoles (in the rbac.authorization.k8s.io group) for a cluster or project.
| Field / Type | Description |
|---|---|
administrative | Administrative if false, and context is set to cluster this RoleTemplate will not grant access to "CatalogTemplates" and "CatalogTemplateVersions" for any project in the cluster. Default is false. |
apiVersion | 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 |
builtin | Builtin if true specifies that this RoleTemplate was created by Rancher and is immutable. Default to false. |
clusterCreatorDefault | ClusterCreatorDefault if true, a binding with this RoleTemplate will be created for a users when they create a new cluster. ClusterCreatorDefault is only evaluated if the context of the RoleTemplate is set to cluster. Default to false. |
context | Context describes if the roleTemplate applies to clusters or projects. Valid values are "project", "cluster" or "".
|
description | Description holds text that describes the resource. |
displayName | DisplayName is the human-readable name displayed in the UI for this resource. |
external | External if true specifies that rules for this RoleTemplate should be gathered from a ClusterRole with the matching name. If set to true the Rules on the template will not be evaluated. External's value is only evaluated if the RoleTemplate's context is set to "cluster" Default to false. |
hidden | Hidden if true informs the Rancher UI not to display this RoleTemplate. Default to false. |
kind | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds |
locked | Locked if true, new bindings will not be able to use this RoleTemplate. Default to false. |
metadata | No description provided. |
projectCreatorDefault | ProjectCreatorDefault if true, a binding with this RoleTemplate will be created for a user when they create a new project. ProjectCreatorDefault is only evaluated if the context of the RoleTemplate is set to project. Default to false. |
RoleTemplateNames list of RoleTemplate names that this RoleTemplate will inherit. This RoleTemplate will grant all rules defined in an inherited RoleTemplate. Inherited RoleTemplates must already exist. | |
Rules hold all the PolicyRules for this RoleTemplate. |