diff --git a/keystone/templates/pod-rally-test.yaml b/keystone/templates/pod-rally-test.yaml index 49501e98b0..cdc9b88b36 100644 --- a/keystone/templates/pod-rally-test.yaml +++ b/keystone/templates/pod-rally-test.yaml @@ -34,6 +34,8 @@ metadata: {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} spec: restartPolicy: Never + nodeSelector: + {{ .Values.labels.test.node_selector_key }}: {{ .Values.labels.test.node_selector_value }} serviceAccountName: {{ $serviceAccountName }} initContainers: {{ tuple $envAll "tests" $mounts_tests_init | include "helm-toolkit.snippets.kubernetes_entrypoint_init_container" | indent 4 }} diff --git a/keystone/values.yaml b/keystone/values.yaml index b271846b4d..4b05ec3b73 100644 --- a/keystone/values.yaml +++ b/keystone/values.yaml @@ -24,6 +24,9 @@ labels: job: node_selector_key: openstack-control-plane node_selector_value: enabled + test: + node_selector_key: openstack-control-plane + node_selector_value: enabled release_group: null