Skip to content

Commit

Permalink
fix: issue when password is in a survey of WF node and schedule (redh…
Browse files Browse the repository at this point in the history
…at-cop#922)

* fix: issue when password is in survey of WF node

* fix: encrypted for schedules

* fix: proper changelog

---------

Co-authored-by: Przemyslaw Kalitowski <przemyslaw@kalitowski.com>
  • Loading branch information
przemkalit and Przemyslaw Kalitowski authored Oct 3, 2024
1 parent 504f316 commit 3fb60c1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion roles/filetree_create/templates/current_schedules.j2
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ controller_schedules:
{% endif %}
{% if current_schedules_asset_value.extra_data is defined %}
extra_data:
{{ current_schedules_asset_value.extra_data | from_yaml | to_nice_yaml(indent=2) | indent(width=6, first=False) | replace("'{{", "!unsafe \'{{") }}
{{ current_schedules_asset_value.extra_data | from_yaml | to_nice_yaml(indent=2) | indent(width=6, first=False) | replace("'{{", "!unsafe \'{{") | replace("$encrypted$", "") }}
{%- endif -%}
{% if query_credentials | length > 0 %}
credentials:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ controller_workflows:
all_parents_must_converge: "{{ node.all_parents_must_converge }}"
{% if node.extra_data is defined and node.extra_data | length > 0 %}
extra_data:
{{ node.extra_data | to_nice_yaml | indent(10) | replace("'{{", "!unsafe \'{{") }}
{{ node.extra_data | to_nice_yaml | indent(10) | replace("'{{", "!unsafe \'{{") }} | replace("$encrypted$", "")
{%- endif %}
{% if node.success_nodes is defined and node.success_nodes | length > 0 %}
success_nodes:
Expand Down

0 comments on commit 3fb60c1

Please sign in to comment.