Skip to content

Commit ea4ae47

Browse files
committed
update pr
1 parent d684bb1 commit ea4ae47

1 file changed

Lines changed: 19 additions & 23 deletions

File tree

src/mas/devops/templates/pipelinerun-backup.yml.j2

Lines changed: 19 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -114,31 +114,27 @@ spec:
114114
- name: backup_manage_db
115115
value: "{{ backup_manage_db }}"
116116
{% endif %}
117-
{% if mas_app_id is defined and mas_app_id != "" %}
118-
- name: mas_app_id
119-
value: "{{ mas_app_id }}"
120-
{% endif %}
121-
{% if mas_workspace_id is defined and mas_workspace_id != "" %}
122-
- name: mas_workspace_id
123-
value: "{{ mas_workspace_id }}"
117+
{% if manage_workspace_id is defined and manage_workspace_id != "" %}
118+
- name: manage_workspace_id
119+
value: "{{ manage_workspace_id }}"
124120
{% endif %}
125121

126-
# Db2 Backup Configuration
127-
{% if db2_namespace is defined and db2_namespace != "" %}
128-
- name: db2_namespace
129-
value: "{{ db2_namespace }}"
130-
{% endif %}
131-
{% if db2_instance_name is defined and db2_instance_name != "" %}
132-
- name: db2_instance_name
133-
value: "{{ db2_instance_name }}"
134-
{% endif %}
135-
{% if backup_type is defined and backup_type != "" %}
136-
- name: backup_type
137-
value: "{{ backup_type }}"
138-
{% endif %}
139-
{% if backup_vendor is defined and backup_vendor != "" %}
140-
- name: backup_vendor
141-
value: "{{ backup_vendor }}"
122+
# Manage Db2 Backup Configuration
123+
{% if manage_db2_namespace is defined and manage_db2_namespace != "" %}
124+
- name: manage_db2_namespace
125+
value: "{{ manage_db2_namespace }}"
126+
{% endif %}
127+
{% if manage_db2_instance_name is defined and manage_db2_instance_name != "" %}
128+
- name: manage_db2_instance_name
129+
value: "{{ manage_db2_instance_name }}"
130+
{% endif %}
131+
{% if manage_db2_backup_type is defined and manage_db2_backup_type != "" %}
132+
- name: manage_db2_backup_type
133+
value: "{{ manage_db2_backup_type }}"
134+
{% endif %}
135+
{% if manage_db2_backup_vendor is defined and manage_db2_backup_vendor != "" %}
136+
- name: manage_db2_backup_vendor
137+
value: "{{ manage_db2_backup_vendor }}"
142138
{% endif %}
143139
{% if backup_s3_endpoint is defined and backup_s3_endpoint != "" %}
144140
- name: backup_s3_endpoint

0 commit comments

Comments
 (0)