Skip to content

Commit

Permalink
fix: correct label selector to find task pod (#1573)
Browse files Browse the repository at this point in the history
  • Loading branch information
kurokobo committed Oct 3, 2023
1 parent 16a2b59 commit a7cfbe2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/backup/tasks/postgres.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
kind: Pod
namespace: '{{ ansible_operator_meta.namespace }}'
label_selectors:
- "app.kubernetes.io/name={{ ansible_operator_meta.name }}-task"
- "app.kubernetes.io/name={{ deployment_name }}-task"
- "app.kubernetes.io/managed-by={{ deployment_type }}-operator"
- "app.kubernetes.io/component={{ deployment_type }}"
field_selectors:
Expand Down

0 comments on commit a7cfbe2

Please sign in to comment.