migration: fixes to manifest migration script
migration: fixes to manifest migration script

Thorough permission checks. Require cluster-reader role to be able to
get imagestreams/layers and list projects in all the namespaces.

Robust guessing of integrated docker registry url.

Signed-off-by: Michal Minář <ea3139ea422390c9a8bd6d7fb9ba423400fabbd1@redhat.com>

rhamilto/origin,rajatchopra/origin,raffaelespazzoli/origin,childsb/origin,mrogers950/origin,abutcher/origin,hroyrh/origin,ramr/origin,openshift/origin,liggitt/origin,mdshuai/origin,miminar/origin,pravisankar/origin,imcsk8/origin,rhcarvalho/origin,dgoodwin/origin,imcsk8/origin,aveshagarwal/origin,sferich888/origin,childsb/origin,ryanj/origin,rajatchopra/origin,deads2k/origin,sallyom/origin,pweil-/origin,nhr/origin,aveshagarwal/origin,sdminonne/origin,rhcarvalho/origin,matthyx/origin,abutcher/origin,rajatchopra/origin,ironcladlou/origin,matthyx/origin,jwhonce/origin,pmorie/origin,xiuwang/origin,dcbw/origin,juanvallejo/origin,ravisantoshgudimetla/origin,liggitt/origin,akram/origin,nhr/origin,elyscape/origin,ryanj/origin,dinhxuanvu/origin,dgoodwin/origin,markllama/origin,dgoodwin/origin,tnozicka/origin,rhcarvalho/origin,mahak/origin,luciddreamz/origin,childsb/origin,hroyrh/origin,PI-Victor/origin,legionus/origin,kargakis/origin,dinhxuanvu/origin,ingvagabund/origin,xiuwang/origin,dinhxuanvu/origin,tnozicka/origin,mrogers950/origin,dcbw/origin,mfojtik/origin,pravisankar/origin,csrwng/origin,php-coder/origin,JacobTanenbaum/origin,abutcher/origin,ingvagabund/origin,php-coder/origin,jwhonce/origin,miminar/origin,ironcladlou/origin,aveshagarwal/origin,liggitt/origin,goern/origin,kargakis/origin,sallyom/origin,mdshuai/origin,wjiangjay/origin,goern/origin,php-coder/origin,csrwng/origin,hferentschik/origin,luciddreamz/origin,luciddreamz/origin,juanvallejo/origin,gabemontero/origin,ramr/origin,mfojtik/origin,PI-Victor/origin,imcsk8/origin,linzhaoming/origin,sdminonne/origin,sg00dwin/origin,jwhonce/origin,deads2k/origin,linzhaoming/origin,goern/origin,nak3/origin,abutcher/origin,soltysh/origin,ravisantoshgudimetla/origin,mdshuai/origin,sg00dwin/origin,rhcarvalho/origin,mrogers950/origin,luciddreamz/origin,miminar/origin,gabemontero/origin,rrati/origin,ramr/origin,elyscape/origin,liangxia/origin,ryanj/origin,ingvagabund/origin,mahak/origin,pweil-/origin,ravisantoshgudimetla/origin,kargakis/origin,enj/origin,coreydaley/origin,sg00dwin/origin,Miciah/origin,tnozicka/origin,tnozicka/origin,kargakis/origin,luciddreamz/origin,rhcarvalho/origin,JacobTanenbaum/origin,rrati/origin,dcbw/origin,dgoodwin/origin,php-coder/origin,dinhxuanvu/origin,jeremyeder/origin,legionus/origin,sjug/origin,maxamillion/origin,rrati/origin,matthyx/origin,jeremyeder/origin,PI-Victor/origin,elyscape/origin,kargakis/origin,wjiangjay/origin,tnozicka/origin,coreydaley/origin,rootfs/origin,juanvallejo/origin,dinhxuanvu/origin,dobbymoodge/origin,maxamillion/origin,JacobTanenbaum/origin,php-coder/origin,elyscape/origin,bparees/origin,sg00dwin/origin,markllama/origin,abutcher/origin,liangxia/origin,enj/origin,mahak/origin,mkumatag/origin,markllama/origin,linzhaoming/origin,ryanj/origin,imcsk8/origin,csrwng/origin,akram/origin,danmcp/origin,linzhaoming/origin,rootfs/origin,wjiangjay/origin,anpingli/origin,sferich888/origin,gabemontero/origin,hferentschik/origin,pmorie/origin,dobbymoodge/origin,ryanj/origin,mdshuai/origin,spadgett/origin,soltysh/origin,juanvallejo/origin,jsafrane/origin,childsb/origin,maxamillion/origin,jeremyeder/origin,PI-Victor/origin,mdshuai/origin,miminar/origin,spadgett/origin,wjiangjay/origin,jeremyeder/origin,jim-minter/origin,matthyx/origin,dobbymoodge/origin,aveshagarwal/origin,mkumatag/origin,danmcp/origin,rootfs/origin,rrati/origin,nhr/origin,matthyx/origin,liangxia/origin,anpingli/origin,bparees/origin,liangxia/origin,dgoodwin/origin,pecameron/origin,nhr/origin,liggitt/origin,ramr/origin,enj/origin,jeremyeder/origin,soltysh/origin,dobbymoodge/origin,maxamillion/origin,sjug/origin,ryanj/origin,pravisankar/origin,sallyom/origin,dobbymoodge/origin,miminar/origin,liangxia/origin,legionus/origin,openshift/origin,mrogers950/origin,jwhonce/origin,mkumatag/origin,pmorie/origin,anpingli/origin,Miciah/origin,raffaelespazzoli/origin,rhamilto/origin,rhamilto/origin,childsb/origin,Miciah/origin,rajatchopra/origin,rajatchopra/origin,elyscape/origin,hferentschik/origin,legionus/origin,akram/origin,imcsk8/origin,markllama/origin,aveshagarwal/origin,dcbw/origin,liggitt/origin,dcbw/origin,mrogers950/origin,sdminonne/origin,rhamilto/origin,danmcp/origin,mdshuai/origin,pravisankar/origin,nak3/origin,luciddreamz/origin,tnozicka/origin,ravisantoshgudimetla/origin,imcsk8/origin,spadgett/origin,hferentschik/origin,goern/origin,juanvallejo/origin,jim-minter/origin,spadgett/origin,pmorie/origin,sferich888/origin,dobbymoodge/origin,PI-Victor/origin,ramr/origin,spadgett/origin,nak3/origin,pecameron/origin,rootfs/origin,markllama/origin,deads2k/origin,hroyrh/origin,PI-Victor/origin,liggitt/origin,wjiangjay/origin,danmcp/origin,jwhonce/origin,raffaelespazzoli/origin,legionus/origin,maxamillion/origin,sjug/origin,php-coder/origin,ravisantoshgudimetla/origin,jsafrane/origin,pravisankar/origin,xiuwang/origin,childsb/origin,wjiangjay/origin,raffaelespazzoli/origin,miminar/origin,rajatchopra/origin,rootfs/origin,mfojtik/origin,rrati/origin,jwhonce/origin,kargakis/origin,juanvallejo/origin,ironcladlou/origin,mrogers950/origin,pweil-/origin,hferentschik/origin,hferentschik/origin,openshift/origin,jim-minter/origin,liangxia/origin,pecameron/origin,bparees/origin,jsafrane/origin,nhr/origin,rhamilto/origin,pmorie/origin,markllama/origin,coreydaley/origin,linzhaoming/origin