update name of default postgres label selector for backup role

This commit is contained in:
Christian M. Adams
2021-06-01 17:12:23 -04:00
parent 679af90d71
commit da75e4b400

View File

@@ -24,7 +24,7 @@
- block:
- name: Delete pod to reload a resource configuration
set_fact:
postgres_label_selector: "app.kubernetes.io/name={{ deployment_name }}-postgres"
postgres_label_selector: "app.kubernetes.io/instance=postgres-{{ deployment_name }}"
when: postgres_label_selector is not defined
- name: Get the postgres pod information