AVI: Difference between revisions

Content added Content deleted
Line 174: Line 174:
== OpenShift Service Account for Avi Authentication ==
== OpenShift Service Account for Avi Authentication ==


Create a Service Account for Avi
Create a Service Account for Avi:


nano sa.json
Step 1. Service Account Definition of Avi Service Account (sa.json)


{
{
"apiVersion": "v1",
"apiVersion": "v1",
"kind": "ServiceAccount",
"kind": "ServiceAccount",
"metadata": {
"metadata": {
"name": "avi"
"name": "avi"
}
}
}
}


oc create -f sa.json
Step 2. Create a Service Account

Use the OpenShift client using the above definition sa.json file.

>oc create -f sa.json


= Using Ansible =
= Using Ansible =