From 1cc47f75703431f2b9fa456d56b19c4994b68d18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ernesto=20P=C3=A9rez?= Date: Wed, 14 Apr 2021 09:56:06 +0200 Subject: [PATCH] Correction, replace tower_node_selector by tower_postgres_selector --- roles/installer/templates/tower_postgres.yaml.j2 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/roles/installer/templates/tower_postgres.yaml.j2 b/roles/installer/templates/tower_postgres.yaml.j2 index cf7fc232..02885b16 100644 --- a/roles/installer/templates/tower_postgres.yaml.j2 +++ b/roles/installer/templates/tower_postgres.yaml.j2 @@ -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 %}