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.
Manage user roles through the MOSK management API¶
You can manage IAM user role bindings through the MOSK management API. For the API reference of the IAM custom resources, see iam-api. You can also manage user roles using the MOSK management console.
Note
User management for the Mirantis OpenStack for Kubernetes m:os roles is not
yet available through API or web UI. Therefore, continue managing these
roles using Keycloak.
You can use the following objects depending on the way you want the role to be assigned to the user:
IAMGlobalRoleBindingfor global role bindingsAny IAM role can be used in
IAMGlobalRoleBindingand will be applied globally, not limited to a specific project or cluster. For example, theglobal-adminrole.
IAMRoleBindingfor project role bindingsAny role except the
global-adminone apply. For example, using theoperatoranduserIAM roles inIAMRoleBindingof theexampleproject corresponds to assigning ofm:kaas:example@operator/userin Keycloak. You can also use these IAM roles inIAMGlobalRoleBinding. In this case, the roles corresponding to every project will be assigned to a user in Keycloak.
IAMClusterRoleBindingfor cluster role bindingsOnly the
cluster-adminandstacklight-adminroles apply toIAMClusterRoleBinding. Creation of such objects corresponds to the assignment ofm:k8s:namespace:cluster@cluster-admin/stacklight-adminin Keycloak. You can also bind these roles to eitherIAMGlobalRoleBindingorIAMRoleBinding. In this case, the roles corresponding to all clusters and in all projects or one particular project will be assigned to a user.
This section describes available IAM roles with use cases and the
MOSK management API IAM*RoleBinding mapping with
Keycloak.