Browse Source

Merge "Add node selector to test pod"

changes/02/666402/3
Zuul 2 years ago
committed by Gerrit Code Review
parent
commit
700a9135b8
  1. 2
      charts/shipyard/templates/tests/test-shipyard-api.yaml
  2. 3
      charts/shipyard/values.yaml

2
charts/shipyard/templates/tests/test-shipyard-api.yaml

@ -30,6 +30,8 @@ metadata:
{{ tuple $envAll "shipyard" "api-test" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }}
spec:
restartPolicy: Never
nodeSelector:
{{ .Values.labels.test.node_selector_key }}: {{ .Values.labels.test.node_selector_value }}
containers:
- name: "{{ .Release.Name }}-shipyard-api-test"
env:

3
charts/shipyard/values.yaml

@ -25,6 +25,9 @@ labels:
airflow:
node_selector_key: ucp-control-plane
node_selector_value: enabled
test:
node_selector_key: ucp-control-plane
node_selector_value: enabled
images:
tags:

Loading…
Cancel
Save