File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change @@ -143,3 +143,43 @@ CRs that can use the workflow section:
143
143
* :ref: `tobiko-custom-resource `
144
144
145
145
* :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
You can’t perform that action at this time.
0 commit comments