How to create a service account in Minishift

0 votes

Hi Guys,

I am trying to launch one pod for GitLab in Minishift. But it is asking for a service account. How can I create a service account?

Aug 19, 2020 in DevOps Tools by akhtar
• 38,230 points
541 views

1 answer to this question.

0 votes

Hi@akhtar,

Some application requires service account for their internal use. Gitlab is one of those programs. You can use the below command to create a service account.

$ oc create sa mysvc
serviceaccount/mysvc created
$ oc get sa
NAME       SECRETS   AGE
builder    2         1d
default    2         1d
deployer   2         1d
mysvc      2         11s

answered Aug 19, 2020 by MD
• 95,440 points

Related Questions In DevOps Tools

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,230 points
648 views
0 votes
1 answer

How to create a group in Minishift?

Hi@akhtar, To create a group in Minishift, you ...READ MORE

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

How to create a secret from a file in Minishift?

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

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

How to add a service account to the deployment in OpenShift?

Hi@akhtar, Some environment is dependent on a service ...READ MORE

answered Oct 3, 2020 in DevOps Tools by MD
• 95,440 points
2,620 views
+1 vote
1 answer
0 votes
3 answers

Error while joining cluster with node

Hi Kalgi after following above steps it ...READ MORE

answered Jan 17, 2019 in Others by anonymous
14,525 views
+4 votes
1 answer

Installing Web UI (Dashboard):kubernetes-dashboard on main Ubuntu 16.04.6 LTS (Xenial Xerus) server

Follow these steps: $ kubeadm reset $ kubeadm init ...READ MORE

answered Apr 12, 2019 in Kubernetes by Kalgi
• 52,360 points

reshown Apr 12, 2019 by Kalgi 5,978 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,440 points
352 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,440 points
871 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