Skip to content

Commit a88527e

Browse files
Rename extraMounts to extraConfigmapsMounts
We introduced extraConfigmapsMounts parameter for the Tempest CR that has the same behaviour as extraMounts parameter in AnsibleTest CR. Let's keep the naming consistent and rename the extraMounts to extraConfigmapsMounts in the AnsibleTest CR. This follows changes from the second commit of openstack-k8s-operators/test-operator#192
1 parent f30d12a commit a88527e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

roles/test_operator/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ Execute tests via the [test-operator](https://openstack-k8s-operators.github.io/
128128
* `cifmw_test_operator_ansibletest_openstack_config_secret`: (String) The name of the Secret containing the secure.yaml. Default value: "openstack-config-secret"
129129
* `cifmw_test_operator_ansibletest_debug`: (Bool) Run ansible playbook with -vvvv. Default value: `false`
130130
* `cifmw_test_operator_ansibletest_workflow`: (List) A parameter that contains a workflow definition. Default value: `[]`
131-
* `cifmw_test_operator_ansibletest_extra_mounts`: (List) Extra configmaps for mounting in the pod. Default value: `[]`
131+
* `cifmw_test_operator_ansibletest_extra_configmaps_mounts`: (List) Extra configmaps for mounting in the pod. Default value: `[]`
132132
* `cifmw_test_operator_ansibletest_config`: Definition of AnsibleTest CRD instance that is passed to the test-operator (see [the test-operator documentation](https://openstack-k8s-operators.github.io/test-operator/crds.html)). Default value:
133133
```
134134
apiVersion: test.openstack.org/v1beta1
@@ -138,7 +138,7 @@ Execute tests via the [test-operator](https://openstack-k8s-operators.github.io/
138138
namespace: "{{ cifmw_test_operator_namespace }}"
139139
spec:
140140
containerImage: "{{ cifmw_test_operator_ansibletest_image }}:{{ cifmw_test_operator_ansibletest_image_tag }}"
141-
extraMounts: "{{ cifmw_test_operator_ansibletest_extra_mounts }}"
141+
extraConfigmapsMounts: "{{ cifmw_test_operator_ansibletest_extra_configmaps_mounts }}"
142142
storageClass: "{{ cifmw_test_operator_storage_class }}"
143143
computeSSHKeySecretName: "{{ cifmw_test_operator_ansibletest_compute_ssh_key_secret_name }}"
144144
workloadSSHKeySecretName: "{{ cifmw_test_operator_ansibletest_workload_ssh_key_secret_name }}"

roles/test_operator/defaults/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ cifmw_test_operator_ansibletest_openstack_config_map: "openstack-config"
175175
cifmw_test_operator_ansibletest_openstack_config_secret: "openstack-config-secret"
176176
cifmw_test_operator_ansibletest_debug: false
177177
cifmw_test_operator_ansibletest_workflow: []
178-
cifmw_test_operator_ansibletest_extra_mounts: []
178+
cifmw_test_operator_ansibletest_extra_configmaps_mounts: []
179179
cifmw_test_operator_ansibletest_config:
180180
apiVersion: test.openstack.org/v1beta1
181181
kind: AnsibleTest
@@ -184,7 +184,7 @@ cifmw_test_operator_ansibletest_config:
184184
namespace: "{{ cifmw_test_operator_namespace }}"
185185
spec:
186186
containerImage: "{{ cifmw_test_operator_ansibletest_image }}:{{ cifmw_test_operator_ansibletest_image_tag }}"
187-
extraMounts: "{{ cifmw_test_operator_ansibletest_extra_mounts }}"
187+
extraConfigmapsMounts: "{{ cifmw_test_operator_ansibletest_extra_configmaps_mounts }}"
188188
storageClass: "{{ cifmw_test_operator_storage_class }}"
189189
privileged: "{{ cifmw_test_operator_privileged }}"
190190
computeSSHKeySecretName: "{{ cifmw_test_operator_ansibletest_compute_ssh_key_secret_name }}"

0 commit comments

Comments
 (0)