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 2, 2020 in DevOps Tools by akhtar
• 38,170 points
133 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 2, 2020 by MD
• 95,160 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,160 points
97 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,050 points
132 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,160 points
213 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,160 points
79 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 26, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
1,063 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 2, 2020 in DevOps Tools by MD
• 95,160 points
48 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,160 points
98 views