How to add edit role to a user in Minishift

0 votes

Hi Guys,

I have created one user in the Minishift cluster. I want to give only an edit role to this user. How can I do that?

Aug 18, 2020 in DevOps Tools by akhtar
• 38,260 points
804 views

1 answer to this question.

0 votes

Hi@akhtar,

You can give different roles to different users for management. To give a project level role, you have to use oc policy command. I have attached the command below for your reference.

[docker@minishift ~]$ oc policy add-role-to-user edit nadim -n myproj
role "edit" added: "nadim"
answered Aug 18, 2020 by MD
• 95,460 points

Related Questions In DevOps Tools

0 votes
1 answer

How to assign edit role to a group in Minishift?

Hi@akhtar, Role assigning to a group is a ...READ MORE

answered Aug 19, 2020 in DevOps Tools by MD
• 95,460 points
558 views
0 votes
1 answer

How to add policy to a service account in Minishift?

Hi@akhtar, You can add an SCC to your ...READ MORE

answered Oct 3, 2020 in DevOps Tools by MD
• 95,460 points
596 views
0 votes
1 answer

How to create a secret from literals in Minishift Cluster?

Hi@akhtar, You can create a secret using generic ...READ MORE

answered Aug 18, 2020 in DevOps Tools by MD
• 95,460 points
1,326 views
0 votes
1 answer

How to create a new-app in Minishift?

Hi@MD, You can use oc new-app command in ...READ MORE

answered Aug 18, 2020 in DevOps Tools by akhtar
• 38,260 points
896 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,034 views
+2 votes
1 answer
0 votes
1 answer

How to assign cluster-level role to a user in Minishift?

Hi@akhtar, You can use oc adm policy command ...READ MORE

answered Aug 18, 2020 in DevOps Tools by MD
• 95,460 points
720 views
0 votes
1 answer

How to add user to a group in Minishift?

Hi@akhtar, You can add a user to a ...READ MORE

answered Aug 19, 2020 in DevOps Tools by MD
• 95,460 points
1,531 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP