mirror of
https://github.com/ansible/awx-operator.git
synced 2026-03-27 22:03:11 +00:00
Update secrets.yml We need to specify a container in environments that use sidecar injection, like in the case of istio service mesh. If the container is not specified, and a side car is injected so there are multiple containers running in the pod, this task will fail because a container was not specified in a pod with multiple containers.
9 lines
301 B
YAML
9 lines
301 B
YAML
---
|
|
- name: Cleanup backup associated with this option if enabled
|
|
k8s_exec:
|
|
namespace: "{{ backup_pvc_namespace }}"
|
|
pod: "{{ ansible_operator_meta.name }}-db-management"
|
|
container: "{{ ansible_operator_meta.name }}-db-management"
|
|
command: >-
|
|
bash -c 'rm -rf {{ backup_dir }}'
|