diff --git a/src/mas/devops/templates/pipelinerun-backup.yml.j2 b/src/mas/devops/templates/pipelinerun-backup.yml.j2 index 7c9bb94a..433e43f6 100644 --- a/src/mas/devops/templates/pipelinerun-backup.yml.j2 +++ b/src/mas/devops/templates/pipelinerun-backup.yml.j2 @@ -38,6 +38,11 @@ spec: value: "{{ include_sls }}" {% endif %} + {% if include_mongo is defined and include_mongo != "" %} + - name: include_mongo + value: "{{ include_mongo }}" + {% endif %} + # MongoDB Configuration {% if mongodb_namespace is defined and mongodb_namespace != "" %} - name: mongodb_namespace diff --git a/src/mas/devops/templates/pipelinerun-restore.yml.j2 b/src/mas/devops/templates/pipelinerun-restore.yml.j2 index 5a17786f..679f6b5c 100644 --- a/src/mas/devops/templates/pipelinerun-restore.yml.j2 +++ b/src/mas/devops/templates/pipelinerun-restore.yml.j2 @@ -36,6 +36,10 @@ spec: value: "{{ restore_version }}" # Component Flags + {% if include_mongo is defined and include_mongo != "" %} + - name: include_mongo + value: "{{ include_mongo }}" + {% endif %} {% if include_sls is defined and include_sls != "" %} - name: include_sls value: "{{ include_sls }}"