Skip to content

Commit

Permalink
Add tolerations and nodeSelector to test-operator-controller-manager
Browse files Browse the repository at this point in the history
In previous PR [1], tolerations and nodeSelector parameters were added
to the test_operator role in order to configure tempest and tobiko pods.
This new PR adds the option to apply those parameters to the
test-operator-controller-manager pod as well.

[1] openstack-k8s-operators#1716
  • Loading branch information
eduolivares committed May 16, 2024
1 parent efda855 commit 238e327
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions roles/test_operator/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@
name: test-operator
source: test-operator-catalog
sourceNamespace: "{{ cifmw_test_operator_namespace }}"
config:
tolerations: "{{ cifmw_test_operator_tolerations | default(omit) }}"
nodeSelector: "{{ cifmw_test_operator_node_selector | default(omit) }}"
when: not cifmw_test_operator_dry_run | bool

- name: Wait until the test-operator csv is present
Expand Down

0 comments on commit 238e327

Please sign in to comment.