How to add a service account to the deployment in OpenShift

0 votes

Hi Guys,

I have launched one app in Openshift. I want to add one service account to the deployment. How can I do that?

Oct 3, 2020 in DevOps Tools by akhtar
• 38,230 points
2,674 views

1 answer to this question.

0 votes

Hi@akhtar,

Some environment is dependent on a service account. You can attach a service account to your deployment using the below command.

$ oc set serviceaccount dc mydc account
answered Oct 3, 2020 by MD
• 95,440 points

Related Questions In DevOps Tools

0 votes
1 answer

How to create a service account in Minishift?

Hi@akhtar, Some application requires service account for their ...READ MORE

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

How to get the current status of a local repository in Git?

Using 'git status' command in the repository ...READ MORE

answered Nov 26, 2019 in DevOps Tools by Sirajul
• 59,230 points
594 views
0 votes
1 answer

How to create a new project in OpenShift?

Hi@akhtar, A Kubernetes namespace provides a mechanism to ...READ MORE

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

How to add edit role to a user in Minishift?

Hi@akhtar, You can give different roles to different ...READ MORE

answered Aug 18, 2020 in DevOps Tools by MD
• 95,440 points
510 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
3,503 views
+2 votes
1 answer
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,440 points
377 views
0 votes
1 answer

How to add display name in the OpenShift project?

Hi@akhtar, You can add a display name or ...READ MORE

answered Aug 18, 2020 in DevOps Tools by MD
• 95,440 points
1,126 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