Skip to content

Commit 3adf0c5

Browse files
author
Rayford Johnson
committed
Add template if/else for startingCSV:
1 parent dd86d25 commit 3adf0c5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

roles/mig_controller_prereqs/templates/mig-operator-subscription.yml.j2

+5
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,8 @@ spec:
1010
source: installed-custom-openshift-migration
1111
sourceNamespace: {{ mig_migration_namespace }}
1212
startingCSV: mig-operator.{{ mig_operator_tag }}
13+
{% if mig_operator_tag == 'release-v1' %}
14+
startingCSV: mig-operator.v1.0.0
15+
{% else %}
16+
startingCSV: mig-operator.{{ mig_operator_tag }}
17+
{% endif %}

0 commit comments

Comments
 (0)