Add support for nodeSelector and tolerations

This commit is contained in:
Atha Kouroussis
2021-03-31 17:59:18 -03:00
parent 210ac2c419
commit be68adbf01
5 changed files with 42 additions and 0 deletions

View File

@@ -192,6 +192,14 @@ spec:
valueFrom:
fieldRef:
fieldPath: status.podIP
{% endif %}
{% if tower_node_selector %}
nodeSelector:
{{ tower_node_selector | indent(width=8) }}
{% endif %}
{% if tower_tolerations %}
tolerations:
{{ tower_tolerations | indent(width=8) }}
{% endif %}
volumes:
{% if tower_ingress_type | lower == 'route' and tower_route_tls_termination_mechanism | lower == 'passthrough' %}