update filter to jinja 3.x format

This commit is contained in:
Jeremy White
2022-08-24 14:56:08 -05:00
parent 9f017d03e6
commit a81be586db
4 changed files with 13 additions and 13 deletions

View File

@@ -22,7 +22,7 @@ spec:
readOnly: false
{% if restore_resource_requirements is defined %}
resources:
{{ restore_resource_requirements | to_nice_yaml(indent=2) | indent(width=6, indentfirst=False) }}
{{ restore_resource_requirements | to_nice_yaml(indent=2) | indent(width=6, first=False) }}
{%- endif %}
volumes:
- name: {{ ansible_operator_meta.name }}-backup