Correction, replace tower_node_selector by tower_postgres_selector

This commit is contained in:
Ernesto Pérez
2021-04-14 09:56:06 +02:00
parent 0ab33a17df
commit 1cc47f7570

View File

@@ -60,11 +60,11 @@ spec:
- name: postgres
mountPath: '{{ tower_postgres_data_path | dirname }}'
subPath: '{{ tower_postgres_data_path | dirname | basename }}'
{% if tower_node_selector %}
{% if tower_postgres_selector %}
nodeSelector:
{{ tower_node_selector | indent(width=8) }}
{{ tower_postgres_selector | indent(width=8) }}
{% endif %}
{% if tower_tolerations %}
{% if tower_postgres_tolerations %}
tolerations:
{{ tower_tolerations | indent(width=8) }}
{% endif %}