Skip to content

Commit 0e766de

Browse files
author
Sanjay Prabhakar
committed
add s3_endpoint_url to backup and restore pipelinerun
1 parent 7198af6 commit 0e766de

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,10 @@ spec:
9898
- name: s3_region
9999
value: "{{ s3_region }}"
100100
{% endif %}
101+
{% if s3_endpoint_url is defined and s3_endpoint_url != "" %}
102+
- name: s3_endpoint_url
103+
value: "{{ s3_endpoint_url }}"
104+
{% endif %}
101105
{% if artifactory_url is defined and artifactory_url != "" %}
102106
- name: artifactory_url
103107
value: "{{ artifactory_url }}"

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,10 @@ spec:
177177
- name: s3_region
178178
value: "{{ s3_region }}"
179179
{% endif %}
180+
{% if s3_endpoint_url is defined and s3_endpoint_url != "" %}
181+
- name: s3_endpoint_url
182+
value: "{{ s3_endpoint_url }}"
183+
{% endif %}
180184
{% if artifactory_url is defined and artifactory_url != "" %}
181185
- name: artifactory_url
182186
value: "{{ artifactory_url }}"

0 commit comments

Comments
 (0)