Przeglądaj źródła

Updating image for registry_console

ewolinetz 7 lat temu
rodzic
commit
14ade9ce09

+ 1 - 1
playbooks/common/openshift-cluster/upgrades/post_control_plane.yml

@@ -9,7 +9,7 @@
                          replace ( '${version}', openshift_image_tag ) }}"
     router_image: "{{ openshift.master.registry_url | replace( '${component}', 'haproxy-router' ) |
                       replace ( '${version}', openshift_image_tag ) }}"
-    registry_console_image: "{{ openshift.master.registry_url | replace ( '${component}', 'registry-console') |
+    registry_console_image: "{{ openshift.master.registry_url | regex_replace ( '(origin|ose)-\\${component}', 'registry-console') |
                                 replace ( '${version}', 'v' ~ openshift.common.short_version ) }}"
 
   pre_tasks: