Mervin Andres:
Hi guys, question, is there an imparative way on granting permission from existing user on creating deployments?
Tej_Singh_Rana:
Hello, @Mervin Andres
Can you please tell me existing user means?
I thought from host system user/groups. If it’s specific from k8s user then ignore it.
Tej_Singh_Rana:
> is there an imparative way on granting permission from existing user on creating deployment?
Yes, it’s possible in imperative way. We have to create a role and rolebinding for that.
kubectl create role <role-name> --help
kubectl create rolebinding <rolebinding-name> --help
Reference:
https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#-em-role-em-