Question

Calm task to add RBAC in K8S

  • 15 December 2020
  • 2 replies
  • 221 views

Hello,

How to set RBAC on K8S with Calm, I created a new cluster Kubernetes and I want to add rbac permission for some users with task ...is it possible?

 

thanks a lot

Cecilia


2 replies

Userlevel 6
Badge +5

Hi Cecilia,

 

Configure role mapping in PC as you do normally with or without Kubernetes using Active Directory.

Then create the roles and role bindings in your Kubernetes cluster accordingly and reference the AD users/groups.

https://kubernetes.io/docs/reference/access-authn-authz/rbac/

 

Take a look at this too Providing RBAC for your Karbon Kubernetes Clusters

 

Let me know if that’s helpful.

Hi Alona, 

thanks for the answer, but I would like to create a blueprint (calm) with K8S and rbac settings, I created a cluster Karbon and I set RBAC permission with kubeconfig or kubectl and everything works well, but if I want to create a blueprint to orchestrate this in automatic, how can I do?

 

Thanks a lot

Cecilia 

Reply