Browse Source

Merge pull request #8706 from vrutkovs/skip-registry-router-upgrade

Upgrade router and registry only when these are managed
OpenShift Merge Robot 6 years ago
parent
commit
b44e7366cd
1 changed files with 2 additions and 0 deletions
  1. 2 0
      playbooks/openshift-hosted/private/upgrade.yml

+ 2 - 0
playbooks/openshift-hosted/private/upgrade.yml

@@ -9,6 +9,8 @@
   - import_role:
       name: openshift_hosted
       tasks_from: upgrade_routers.yml
+    when: openshift_hosted_manage_router | default(True) | bool
   - import_role:
       name: openshift_hosted
       tasks_from: upgrade_registry.yml
+    when: openshift_hosted_manage_registry | default(True) | bool