Skip to content

Commit

Permalink
[test-operator] Expose extraConfigmapsMounts param
Browse files Browse the repository at this point in the history
This PR in test-operator [1] introduced extraConfigmapsMounts param
for the Tempest CR. Let's expose this new parameter in the test-operator
role.

[1] openstack-k8s-operators/test-operator#126
  • Loading branch information
lpiwowar authored and openshift-merge-bot[bot] committed Jul 19, 2024
1 parent 983d7f2 commit c43e4b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions roles/test_operator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ Execute tests via the [test-operator](https://openstack-k8s-operators.github.io/
* `cifmw_test_operator_tempest_extra_images`: (List) A list of images that should be uploaded to OpenStack before the tests are executed. The value is passed to extraImages parameter in the [Tempest CR](https://openstack-k8s-operators.github.io/test-operator/crds.html#tempest-custom-resource). Default value: `[]`
* `cifmw_test_operator_tempest_network_attachments`: (List) List of network attachment definitions to attach to the tempest pods spawned by test-operator. Default value: `[]`.
* `cifmw_test_operator_tempest_extra_rpms`: (List) . A list of URLs that point to RPMs that should be installed before the execution of tempest. Note that this parameter has no effect when `cifmw_test_operator_tempest_external_plugin` is used. Default value: `[]`
* `cifmw_test_operator_tempest_extra_configmaps_mounts`: (List) A list of configmaps that should be mounted into the tempest test pods. Default value: `[]`
* `cifmw_test_operator_tempest_config`: (Object) Definition of Tempest CRD instance that is passed to the test-operator (see [the test-operator documentation](https://openstack-k8s-operators.github.io/test-operator/crds.html#tempest-custom-resource)). Default value:
```
apiVersion: test.openstack.org/v1beta1
Expand Down
1 change: 1 addition & 0 deletions roles/test_operator/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ cifmw_test_operator_tempest_config:
networkAttachments: "{{ cifmw_test_operator_tempest_network_attachments }}"
tolerations: "{{ cifmw_test_operator_tolerations | default(omit) }}"
nodeSelector: "{{ cifmw_test_operator_node_selector | default(omit) }}"
extraConfigmapsMounts: "{{ cifmw_test_operator_tempest_extra_configmaps_mounts | default(omit) }}"
tempestRun:
includeList: |
{{ cifmw_test_operator_tempest_include_list | default('') }}
Expand Down

0 comments on commit c43e4b6

Please sign in to comment.