Merge pull request #297 from rooftopcellist/pg-labels

Make postgres sts labels consistent with k8s recommendations & pulp-operator
This commit is contained in:
Christian Adams
2021-05-18 10:37:46 -04:00
committed by GitHub
3 changed files with 19 additions and 11 deletions

View File

@@ -18,7 +18,7 @@
- name: Default label selector to custom resource generated postgres
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