Skip to content

Commit 65c78a1

Browse files
Merge pull request #300 from kstrenkova/extramounts-documentation
Add documentation for ExtraMounts parameter
2 parents dbdceb7 + 854d41c commit 65c78a1

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

docs/source/crds.rst

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,3 +143,43 @@ CRs that can use the workflow section:
143143
* :ref:`tobiko-custom-resource`
144144

145145
* :ref:`ansibletest-custom-resource`
146+
147+
ExtraMounts parameter
148+
=====================
149+
To correctly use the :code:`ExtraMounts` parameter, follow these steps:
150+
151+
1. Set the :code:`propagation` field
152+
153+
Set this field based on the test scope (e.g., Tempest, Tobiko) to
154+
control where the mount is applied.
155+
156+
2. Set the :code:`volumes` field
157+
158+
Define the list of volume sources to be mounted. The name assigned
159+
here is later referenced in the :code:`mounts` field.
160+
161+
3. Set the :code:`mounts` field
162+
163+
Specify where each volume should be mounted in the Pod. Each entry
164+
should include the name of a volume from the :code:`volumes` field
165+
and the target mount path.
166+
167+
Example of using the :code:`ExtraMounts` parameter:
168+
169+
.. code-block:: yaml
170+
171+
extraMounts:
172+
- name: v1
173+
region: r1
174+
extraVol:
175+
- propagation:
176+
- Tempest
177+
extraVolType: Ceph
178+
volumes:
179+
- name: ceph
180+
secret:
181+
secretName: <existing-secret>
182+
mounts:
183+
- name: ceph
184+
mountPath: "/etc/ceph"
185+
readOnly: true

0 commit comments

Comments
 (0)