Skip to content

Commit

Permalink
During backup and restore, first check if azure_connection_string is …
Browse files Browse the repository at this point in the history
…defined

* Update azure_secret.yaml.j2 to first check if azure_connection_string is defined
  • Loading branch information
coolhome authored Apr 29, 2024
1 parent 35d8e5c commit 6ccfafd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion roles/backup/templates/azure_secret.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ azure_account_name: {{ azure_account_name }}
azure_account_key: {{ azure_account_key }}
azure_container: {{ azure_container }}
azure_container_path: {{ azure_container_path }}
{% if azure_connection_string %}
{% if azure_connection_string is defined %}
azure_connection_string: {{ azure_connection_string }}
{% endif %}
2 changes: 1 addition & 1 deletion roles/restore/templates/azure_secret.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ stringData:
azure-account-key: '{{ azure_account_key }}'
azure-container: '{{ azure_container }}'
azure-container-path: '{{ azure_container_path }}'
{% if azure_connection_string %}
{% if azure_connection_string is defined %}
azure-connection-string: '{{ azure_connection_string }}'
{% endif %}

0 comments on commit 6ccfafd

Please sign in to comment.