Mirantis Container Cloud (MCC) becomes part of Mirantis OpenStack for Kubernetes (MOSK)!
Starting with MOSK 25.2, the MOSK documentation set covers all product layers, including MOSK management (formerly Container Cloud). This means everything you need is in one place. Some legacy names may remain in the code and documentation and will be updated in future releases. The separate Container Cloud documentation site will be retired, so please update your bookmarks for continued easy access to the latest content.
IAMGlobalRoleBinding resource¶
IAMGlobalRoleBinding is the Cluster (non-namespaced) object that
should be used for global role bindings in all namespaces. This object is
accessible to users with the global-admin IAMRole assigned through the
IAMGlobalRoleBinding object. The object contains the following fields:
apiVersionAPI version of the object that is
iam.mirantis.com/v1alpha1.
kindObject type that is
IAMGlobalRoleBinding.
metadataObject metadata that contains the following field:
nameRole binding name. If the role binding is user-created, user can set any unique name. If a name relates to a binding that is synced by
user-controllerfrom Keycloak, the naming convention is<username>-<rolename>.
roleObject role that contains the following field:
nameRole name.
userObject name that contains the following field:
nameName of the
iamuserobject that the defined role is provided to. Not equal to the user name in Keycloak.
legacyDefines whether the role binding is legacy. Possible values are
trueorfalse.
legacyRoleApplicable when the
legacyfield value istrue. Defines the legacy role name in Keycloak.
externalDefines whether the role is assigned through Keycloak and is synced by
user-controllerwith the MOSK API as theIAMGlobalRoleBindingobject. Possible values aretrueorfalse.
Caution
If you create the IAM*RoleBinding, do not set or modify
the legacy, legacyRole, and external fields unless absolutely
necessary and you understand all implications.
Configuration example:
apiVersion: iam.mirantis.com/v1alpha1
kind: IAMGlobalRoleBinding
metadata:
  name: userone-global-admin
role:
  name: global-admin
user:
  name: userone-f150d839
external: false
legacy: false
legacyRole: “”