mirror of
https://github.com/ansible/awx-operator.git
synced 2026-03-26 21:33:14 +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 }}"
|
||||
pod: "{{ meta.name }}-db-management"
|
||||
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