mirror of
https://github.com/ansible/awx-operator.git
synced 2026-05-08 14:22:49 +00:00
backup: Ensure colon are preserved in awx spec
Due to the way the command is run, the field with a colon in it will generate a broken yaml serialization. This commit aims to keep it accurate.
This commit is contained in:
@@ -21,4 +21,4 @@
|
|||||||
namespace: "{{ backup_pvc_namespace }}"
|
namespace: "{{ backup_pvc_namespace }}"
|
||||||
pod: "{{ meta.name }}-db-management"
|
pod: "{{ meta.name }}-db-management"
|
||||||
command: >-
|
command: >-
|
||||||
bash -c "echo '{{ awx_spec }}' > {{ backup_dir }}/awx_object"
|
bash -c 'echo "$0" > {{ backup_dir }}/awx_object' {{ awx_spec | quote }}
|
||||||
|
|||||||
Reference in New Issue
Block a user