IAMRole resource¶
IAMRole is the read-only cluster-level object that can have global,
namespace, or cluster scope. It contains the following fields:
apiVersionAPI version of the object that is
iam.mirantis.com/v1alpha1.
kindObject type that is
IAMRole.
metadataObject metadata that contains the following field:
nameRole name. Possible values are:
global-admin,cluster-admin,operator,bm-pool-operator,user,member,stacklight-admin,management-admin.For details on user role assignment, see Manage user roles through the MOSK management API.
Note
The
management-adminrole is available since Container Cloud 2.25.0 (Cluster releases 17.0.0, 16.0.0, 14.1.0).
descriptionRole description.
scopeRole scope.
Configuration example:
apiVersion: iam.mirantis.com/v1alpha1
kind: IAMRole
metadata:
name: global-admin
description: Gives permission to manage IAM role bindings in the MOSK deployment.
scope: global