Browse Source

Add registry checks to v3.10 upgrade

Signed-off-by: Gladkov Alexey <agladkov@redhat.com>
Gladkov Alexey 7 years ago
parent
commit
60f4217d3b

+ 11 - 0
playbooks/common/openshift-cluster/upgrades/v3_10/upgrade_control_plane.yml

@@ -56,3 +56,14 @@
   - import_role:
       name: openshift_web_console
       tasks_from: remove_old_asset_config
+
+# This is a one time migration. No need to save it in the 3.11.
+# https://bugzilla.redhat.com/show_bug.cgi?id=1565736
+- hosts: oo_first_master
+  tasks:
+  - import_role:
+      name: openshift_hosted
+      tasks_from: registry_service_account.yml
+  - import_role:
+      name: openshift_hosted
+      tasks_from: remove_legacy_env_variables.yml