rancher v2.8

GlobalRole

GlobalRole defines rules that can be applied to the local cluster and or every downstream cluster.

9 fields
GlobalRole fields and descriptions
Field / TypeDescription
apiVersion
string

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
boolean

Builtin specifies that this GlobalRole was created by Rancher if true. Immutable.

description
string

Description holds text that describes the resource.

displayName
string

DisplayName is the human-readable name displayed in the UI for this resource.

string[]

InheritedClusterRoles are the names of RoleTemplates whose permissions are granted by this GlobalRole in every cluster besides the local cluster. To grant permissions in the local cluster, use the Rules field.

kind
string

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

metadata
object

No description provided.

newUserDefault
boolean

NewUserDefault specifies that all new users created should be bound to this GlobalRole if true.

object[]

Rules holds a list of PolicyRules that are applied to the local cluster only.