GlobalRoleGlobalRole is the Schema for the GlobalRoles API. Provides a Rancher v2 Global Role resource. This can be used to create Global Role for Rancher v2 and retrieve their information.
TypeMR
Providerprovider-rancher2
Grouprancher.rancher2.m.contrib.crossplane.io
Scopenamespaced
Versionv1

1apiVersion: rancher.rancher2.m.contrib.crossplane.io/v1

2kind: GlobalRole

kind
string
metadata
object
spec
object

GlobalRoleSpec defines the desired state of GlobalRole

forProvider
required
object

(No description available)

array

Names of role templates whose permissions are granted by this global role in every cluster besides the local cluster (list) Names of role templates whose permissions are granted by this global role in every cluster besides the local cluster

labels
object
name
string
rules
array

Global role policy rules (list) Global role policy rules

array

Policy rule api groups (list) Policy rule api groups

array

Policy rule non resource urls (list) Policy rule non resource urls

array

Policy rule resource names (list) Policy rule resource names

array

Policy rule resources (list) Policy rule resources

verbs
array

Policy rule verbs. bind, create, delete, deletecollection, escalate, get, impersonate, list, manage-namespaces, patch, update, updatepsa, use, view, watch, own and * values are supported (list) Policy rule verbs

object

THIS IS A BETA FIELD. It will be honored unless the Management Policies feature flag is disabled. InitProvider holds the same fields as ForProvider, with the exception of Identifier and other resource reference fields. The fields that are in InitProvider are merged into ForProvider when the resource is created. The same fields are also added to the terraform ignore_changes hook, to avoid updating them after creation. This is useful for fields that are required on creation, but we do not desire to update them after creation, for example because of an external controller is managing them, like an autoscaler.

array

Names of role templates whose permissions are granted by this global role in every cluster besides the local cluster (list) Names of role templates whose permissions are granted by this global role in every cluster besides the local cluster

labels
object
name
string
rules
array

Global role policy rules (list) Global role policy rules

array

Policy rule api groups (list) Policy rule api groups

array

Policy rule non resource urls (list) Policy rule non resource urls

array

Policy rule resource names (list) Policy rule resource names

array

Policy rule resources (list) Policy rule resources

verbs
array

Policy rule verbs. bind, create, delete, deletecollection, escalate, get, impersonate, list, manage-namespaces, patch, update, updatepsa, use, view, watch, own and * values are supported (list) Policy rule verbs

array

THIS IS A BETA FIELD. It is on by default but can be opted out through a Crossplane feature flag. ManagementPolicies specify the array of actions Crossplane is allowed to take on the managed and external resources. See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md

object

ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured.

kind
required
string
name
required
string
object

WriteConnectionSecretToReference specifies the namespace and name of a Secret to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource.

name
required
string
status
object

GlobalRoleStatus defines the observed state of GlobalRole.

object

(No description available)

builtin
boolean
id
string
array

Names of role templates whose permissions are granted by this global role in every cluster besides the local cluster (list) Names of role templates whose permissions are granted by this global role in every cluster besides the local cluster

labels
object
name
string
rules
array

Global role policy rules (list) Global role policy rules

array

Policy rule api groups (list) Policy rule api groups

array

Policy rule non resource urls (list) Policy rule non resource urls

array

Policy rule resource names (list) Policy rule resource names

array

Policy rule resources (list) Policy rule resources

verbs
array

Policy rule verbs. bind, create, delete, deletecollection, escalate, get, impersonate, list, manage-namespaces, patch, update, updatepsa, use, view, watch, own and * values are supported (list) Policy rule verbs

uuid
string
array

Conditions of the resource.

lastTransitionTime
required
string
message
string
reason
required
string
status
required
string
type
required
string