Changed informations provided in openshiftpods driver

Some informations that were in openshiftpods driver
was confusing how to use the driver correctly.

Change-Id: I55461b445407111c358bf02131c8fb7bf2d46c56
This commit is contained in:
Daniel Pawlik 2020-11-12 09:15:52 +01:00
parent 1f0bcdb42d
commit 4e7bed3577

View File

@ -12,9 +12,8 @@ Selecting the openshift pods driver adds the following options to the
:type: list :type: list
The Openshift Pods driver is similar to the Openshift driver, but it The Openshift Pods driver is similar to the Openshift driver, but it
only support pod label to be created in a single project. This enable only supports pod label. This enables using an unprivileged service account
using an unprivileged service account that doesn't requires the that doesn't require the self-provisioner role.
self-provisioner role.
Example: Example:
@ -36,8 +35,7 @@ Selecting the openshift pods driver adds the following options to the
Name of the context configured in ``kube/config``. Name of the context configured in ``kube/config``.
Before using the driver, Nodepool services need a ``kube/config`` file Before using the driver, Nodepool services need a ``kube/config`` file
manually installed with self-provisioner (the service account needs to manually installed.
be able to create projects) context.
Make sure the context is present in ``oc config get-contexts`` command Make sure the context is present in ``oc config get-contexts`` command
output. output.
@ -61,7 +59,7 @@ Selecting the openshift pods driver adds the following options to the
.. attr:: name .. attr:: name
:required: :required:
The project's name that will be used to create the pods. The project's (namespace) name that will be used to create the pods.
.. attr:: node-attributes .. attr:: node-attributes
:type: dict :type: dict