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
2 changed files with 5 additions and 0 deletions
  1. +2
    -0
      charts/shipyard/templates/tests/test-shipyard-api.yaml
  2. +3
    -0
      charts/shipyard/values.yaml

+ 2
- 0
charts/shipyard/templates/tests/test-shipyard-api.yaml View File

@ -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
- 0
charts/shipyard/values.yaml View File

@ -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