Skip to content

Commit f07883b

Browse files
authored
do not apply updated mirror manifests to cluster if operators should not be installed (#244)
1 parent 7204790 commit f07883b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

playbooks/tasks/deploy_plugin.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@
156156
KUBECONFIG: "{{ workingDir }}/ocp-cluster/auth/kubeconfig"
157157
when:
158158
- plugin.mirror | default('none') == 'plugin'
159+
- plugin.installOperators | default(true)
159160
- disconnected | default(true) | bool
160161
- r_plugin_mirror is defined
161162
- r_plugin_mirror is success
@@ -179,6 +180,7 @@
179180
| list | length >= (r_catalog_sources.resources | length)
180181
when:
181182
- plugin.mirror | default('none') == 'plugin'
183+
- plugin.installOperators | default(true)
182184
- disconnected | default(true) | bool
183185
- r_plugin_mirror is defined
184186
- r_plugin_mirror is success

0 commit comments

Comments
 (0)