Merge pull request #354 from rooftopcellist/fix-postgres-pod-label

Update name of default postgres label selector for backup role
This commit is contained in:
Yanis Guenane
2021-06-02 11:36:15 +02:00
committed by GitHub

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