kubeadm: optimize tests in pki_helpers_tests.go
kubeadm: optimize tests in pki_helpers_tests.go

Reduce the number of calls to algorithm.GenerateKey()
but try not to reduce coverage.

nckturner/kubernetes,thockin/kubernetes,jessfraz/kubernetes,carlory/kubernetes,matthyx/kubernetes,coolsvap/kubernetes,fabriziopandini/kubernetes,jessfraz/kubernetes,cofyc/kubernetes,kitt1987/kubernetes,weiwei04/kubernetes,cofyc/kubernetes,gnufied/kubernetes,saad-ali/kubernetes,kubernetes/kubernetes,nak3/kubernetes,deads2k/kubernetes,aledbf/kubernetes,tpepper/kubernetes,sanjeevm0/kubernetes,alejandroEsc/kubernetes,dlorenc/kubernetes,deads2k/kubernetes,zhangmingld/kubernetes,pires/kubernetes,Acidburn0zzz/kubernetes,idvoretskyi/kubernetes,k82/kubernetes,roberthbailey/kubernetes,yujuhong/kubernetes,jdef/kubernetes,linux-on-ibm-z/kubernetes,csrwng/kubernetes,jsafrane/kubernetes,iameli/kubernetes,matthyx/kubernetes,tpepper/kubernetes,verult/kubernetes,monopole/kubernetes,chestack/kubernetes,ingvagabund/kubernetes,enj/kubernetes,joelsmith/kubernetes,GulajavaMinistudio/kubernetes,coolsvap/kubernetes,humblec/kubernetes,jackfrancis/kubernetes,sanjeevm0/kubernetes,cblecker/kubernetes,Clarifai/kubernetes,olivierlemasle/kubernetes,humblec/kubernetes,GulajavaMinistudio/kubernetes,fanzhangio/kubernetes,cblecker/kubernetes,verult/kubernetes,chestack/kubernetes,idvoretskyi/kubernetes,joelsmith/kubernetes,dlorenc/kubernetes,jackfrancis/kubernetes,xychu/kubernetes,soltysh/kubernetes,dereknex/kubernetes,zhangmingld/kubernetes,verult/kubernetes,weiwei04/kubernetes,wongma7/kubernetes,dereknex/kubernetes,olivierlemasle/kubernetes,humblec/kubernetes,mosoft521/kubernetes,PiotrProkop/kubernetes,roberthbailey/kubernetes,x13n/kubernetes,ingvagabund/kubernetes,chrislovecnm/kubernetes,wongma7/kubernetes,PI-Victor/kubernetes,dlorenc/kubernetes,dereknex/kubernetes,jdef/kubernetes,mkumatag/kubernetes,alejandroEsc/kubernetes,chrislovecnm/kubernetes,mfojtik/kubernetes,idvoretskyi/kubernetes,warmchang/kubernetes,thockin/kubernetes,carlory/kubernetes,ping035627/kubernetes,enj/kubernetes,cofyc/kubernetes,fabriziopandini/kubernetes,mkumatag/kubernetes,stevesloka/kubernetes,tpepper/kubernetes,kitt1987/kubernetes,cofyc/kubernetes,jackfrancis/kubernetes,nak3/kubernetes,lojies/kubernetes,cofyc/kubernetes,jessfraz/kubernetes,micahhausler/kubernetes,fanzhangio/kubernetes,mYmNeo/kubernetes,mahak/kubernetes,zhouhaibing089/kubernetes,mYmNeo/kubernetes,mikedanese/kubernetes,yujuhong/kubernetes,zhangmingld/kubernetes,jingxu97/kubernetes,chrislovecnm/kubernetes,ping035627/kubernetes,humblec/kubernetes,k82cn/kubernetes,rnaveiras/kubernetes,mosoft521/kubernetes,tengqm/kubernetes,mahak/kubernetes,MikeSpreitzer/kubernetes,idvoretskyi/kubernetes,mkumatag/kubernetes,tengqm/kubernetes,x13n/kubernetes,xlgao-zju/kubernetes,brendandburns/kubernetes,feiskyer/kubernetes,kpgriffith/kubernetes,verb/kubernetes,xychu/kubernetes,saad-ali/kubernetes,k82cn/kubernetes,coolsvap/kubernetes,fabriziopandini/kubernetes,k82/kubernetes,cblecker/kubernetes,pires/kubernetes,zhouhaibing089/kubernetes,nikhita/kubernetes,iterion/kubernetes,chrislovecnm/kubernetes,jingxu97/kubernetes,mengqiy/kubernetes,rafax/kubernetes,thockin/kubernetes,krmayankk/kubernetes,warmchang/kubernetes,joelsmith/kubernetes,andrewrynhard/kubernetes,stevesloka/kubernetes,andrewrynhard/kubernetes,stevesloka/kubernetes,GulajavaMinistudio/kubernetes,cblecker/kubernetes,verb/kubernetes,ravilr/kubernetes,weiwei04/kubernetes,chestack/kubernetes,nikhita/kubernetes,Acidburn0zzz/kubernetes,gnufied/kubernetes,openshift/kubernetes,ingvagabund/kubernetes,dims/kubernetes,BenTheElder/kubernetes,Clarifai/kubernetes,zhouhaibing089/kubernetes,nckturner/kubernetes,micahhausler/kubernetes,kitt1987/kubernetes,iameli/kubernetes,rrati/kubernetes,brendandburns/kubernetes,hex108/kubernetes,hex108/kubernetes,dims/kubernetes,coolsvap/kubernetes,lojies/kubernetes,soltysh/kubernetes,rrati/kubernetes,mahak/kubernetes,carlory/kubernetes,jdef/kubernetes,li-ang/kubernetes,k82/kubernetes,mosoft521/kubernetes,deads2k/kubernetes,iterion/kubernetes,zhangmingld/kubernetes,cblecker/kubernetes,pires/kubernetes,zhangmingld/kubernetes,PI-Victor/kubernetes,kevin-wangzefeng/kubernetes,roberthbailey/kubernetes,k82cn/kubernetes,jsafrane/kubernetes,zhouhaibing089/kubernetes,jdef/kubernetes,sdminonne/kubernetes,li-ang/kubernetes,saad-ali/kubernetes,PiotrProkop/kubernetes,aledbf/kubernetes,fabriziopandini/kubernetes,k82cn/kubernetes,monopole/kubernetes,BenTheElder/kubernetes,warmchang/kubernetes,sanjeevm0/kubernetes,li-ang/kubernetes,idvoretskyi/kubernetes,PiotrProkop/kubernetes,feiskyer/kubernetes,openshift/kubernetes,micahhausler/kubernetes,cmluciano/kubernetes,saad-ali/kubernetes,pires/kubernetes,brendandburns/kubernetes,x13n/kubernetes,kubernetes/kubernetes,idvoretskyi/kubernetes,dims/kubernetes,soltysh/kubernetes,gnufied/kubernetes,zhangmingld/kubernetes,wongma7/kubernetes,brendandburns/kubernetes,liggitt/kubernetes,verb/kubernetes,matthyx/kubernetes,cmluciano/kubernetes,olivierlemasle/kubernetes,dlorenc/kubernetes,dims/kubernetes,spzala/kubernetes,xychu/kubernetes,mfojtik/kubernetes,nikhita/kubernetes,linux-on-ibm-z/kubernetes,xychu/kubernetes,tpepper/kubernetes,wongma7/kubernetes,fanzhangio/kubernetes,nak3/kubernetes,openshift/kubernetes,xlgao-zju/kubernetes,fabriziopandini/kubernetes,mikebrow/kubernetes,cmluciano/kubernetes,aledbf/kubernetes,nak3/kubernetes,verult/kubernetes,liggitt/kubernetes,weiwei04/kubernetes,jdef/kubernetes,warmchang/kubernetes,Clarifai/kubernetes,nikhita/kubernetes,sanjeevm0/kubernetes,csrwng/kubernetes,mfojtik/kubernetes,verb/kubernetes,ravilr/kubernetes,nckturner/kubernetes,openshift/kubernetes,alejandroEsc/kubernetes,PiotrProkop/kubernetes,fanzhangio/kubernetes,bparees/kubernetes,thockin/kubernetes,nckturner/kubernetes,spzala/kubernetes,liggitt/kubernetes,carlory/kubernetes,Clarifai/kubernetes,mengqiy/kubernetes,saad-ali/kubernetes,ii/kubernetes,jessfraz/kubernetes,wongma7/kubernetes,xlgao-zju/kubernetes,rnaveiras/kubernetes,sdminonne/kubernetes,ping035627/kubernetes,shyamjvs/kubernetes,shyamjvs/kubernetes,cmluciano/kubernetes,kevin-wangzefeng/kubernetes,jdef/kubernetes,coolsvap/kubernetes,matthyx/kubernetes,PI-Victor/kubernetes,verult/kubernetes,andrewrynhard/kubernetes,rnaveiras/kubernetes,Clarifai/kubernetes,mengqiy/kubernetes,mosoft521/kubernetes,Acidburn0zzz/kubernetes,mikebrow/kubernetes,joelsmith/kubernetes,deads2k/kubernetes,mikebrow/kubernetes,fanzhangio/kubernetes,spzala/kubernetes,iterion/kubernetes,joelsmith/kubernetes,ingvagabund/kubernetes,ping035627/kubernetes,sanjeevm0/kubernetes,rrati/kubernetes,xlgao-zju/kubernetes,GulajavaMinistudio/kubernetes,jsafrane/kubernetes,lojies/kubernetes,xychu/kubernetes,brendandburns/kubernetes,kubernetes/kubernetes,sdminonne/kubernetes,csrwng/kubernetes,yujuhong/kubernetes,dixudx/kubernetes,BenTheElder/kubernetes,andrewrynhard/kubernetes,chrislovecnm/kubernetes,rnaveiras/kubernetes,PI-Victor/kubernetes,shyamjvs/kubernetes,rrati/kubernetes,lojies/kubernetes,soltysh/kubernetes,shyamjvs/kubernetes,kitt1987/kubernetes,mikedanese/kubernetes,ii/kubernetes,ii/kubernetes,rafax/kubernetes,nak3/kubernetes,roberthbailey/kubernetes,pires/kubernetes,micahhausler/kubernetes,jessfraz/kubernetes,sdminonne/kubernetes,mYmNeo/kubernetes,kpgriffith/kubernetes,hex108/kubernetes,mkumatag/kubernetes,roberthbailey/kubernetes,jagosan/kubernetes,rnaveiras/kubernetes,Clarifai/kubernetes,GulajavaMinistudio/kubernetes,ingvagabund/kubernetes,dixudx/kubernetes,mfojtik/kubernetes,csrwng/kubernetes,krmayankk/kubernetes,x13n/kubernetes,bparees/kubernetes,kevin-wangzefeng/kubernetes,kitt1987/kubernetes,mikebrow/kubernetes,rrati/kubernetes,Acidburn0zzz/kubernetes,mikebrow/kubernetes,MikeSpreitzer/kubernetes,mosoft521/kubernetes,jsafrane/kubernetes,k82cn/kubernetes,mahak/kubernetes,monopole/kubernetes,x13n/kubernetes,olivierlemasle/kubernetes,jingxu97/kubernetes,tpepper/kubernetes,rafax/kubernetes,verult/kubernetes,weiwei04/kubernetes,gnufied/kubernetes,linux-on-ibm-z/kubernetes,xlgao-zju/kubernetes,feiskyer/kubernetes,tpepper/kubernetes,carlory/kubernetes,openshift/kubernetes,ingvagabund/kubernetes,bparees/kubernetes,yujuhong/kubernetes,olivierlemasle/kubernetes,kubernetes/kubernetes,warmchang/kubernetes,joelsmith/kubernetes,yujuhong/kubernetes,kpgriffith/kubernetes,Acidburn0zzz/kubernetes,dlorenc/kubernetes,andrewrynhard/kubernetes,chestack/kubernetes,xychu/kubernetes,feiskyer/kubernetes,PI-Victor/kubernetes,dereknex/kubernetes,sanjeevm0/kubernetes,cmluciano/kubernetes,alejandroEsc/kubernetes,kitt1987/kubernetes,deads2k/kubernetes,zhouhaibing089/kubernetes,hex108/kubernetes,kpgriffith/kubernetes,jingxu97/kubernetes,hex108/kubernetes,aledbf/kubernetes,jsafrane/kubernetes,hex108/kubernetes,lojies/kubernetes,ravilr/kubernetes,mikedanese/kubernetes,shyamjvs/kubernetes,ii/kubernetes,andrewrynhard/kubernetes,spzala/kubernetes,BenTheElder/kubernetes,fanzhangio/kubernetes,tengqm/kubernetes,MikeSpreitzer/kubernetes,dixudx/kubernetes,mengqiy/kubernetes,kevin-wangzefeng/kubernetes,jagosan/kubernetes,cmluciano/kubernetes,feiskyer/kubernetes,kubernetes/kubernetes,rafax/kubernetes,stevesloka/kubernetes,weiwei04/kubernetes,iameli/kubernetes,mahak/kubernetes,bparees/kubernetes,dims/kubernetes,MikeSpreitzer/kubernetes,micahhausler/kubernetes,enj/kubernetes,dlorenc/kubernetes,brendandburns/kubernetes,sdminonne/kubernetes,jingxu97/kubernetes,krmayankk/kubernetes,iterion/kubernetes,kevin-wangzefeng/kubernetes,liggitt/kubernetes,ravilr/kubernetes,aledbf/kubernetes,ii/kubernetes,dereknex/kubernetes,tengqm/kubernetes,dixudx/kubernetes,x13n/kubernetes,cofyc/kubernetes,xlgao-zju/kubernetes,li-ang/kubernetes,mfojtik/kubernetes,monopole/kubernetes,jackfrancis/kubernetes,linux-on-ibm-z/kubernetes,krmayankk/kubernetes,PiotrProkop/kubernetes,verb/kubernetes,enj/kubernetes,nikhita/kubernetes,mengqiy/kubernetes,gnufied/kubernetes,iterion/kubernetes,iterion/kubernetes,chrislovecnm/kubernetes,MikeSpreitzer/kubernetes,pires/kubernetes,jagosan/kubernetes,nak3/kubernetes,tengqm/kubernetes,dereknex/kubernetes,enj/kubernetes,yujuhong/kubernetes,mkumatag/kubernetes,saad-ali/kubernetes,mikedanese/kubernetes,jackfrancis/kubernetes,matthyx/kubernetes,linux-on-ibm-z/kubernetes,k82/kubernetes,kpgriffith/kubernetes,iameli/kubernetes,ping035627/kubernetes,mfojtik/kubernetes,mYmNeo/kubernetes,li-ang/kubernetes,humblec/kubernetes,nckturner/kubernetes,Acidburn0zzz/kubernetes,coolsvap/kubernetes,thockin/kubernetes,krmayankk/kubernetes,alejandroEsc/kubernetes,spzala/kubernetes,bparees/kubernetes,chestack/kubernetes,dixudx/kubernetes,stevesloka/kubernetes,stevesloka/kubernetes,csrwng/kubernetes,kpgriffith/kubernetes,soltysh/kubernetes,jagosan/kubernetes,mikedanese/kubernetes,BenTheElder/kubernetes,jagosan/kubernetes,liggitt/kubernetes,monopole/kubernetes,mYmNeo/kubernetes,mYmNeo/kubernetes,PI-Victor/kubernetes,ravilr/kubernetes,k82/kubernetes,iameli/kubernetes,krmayankk/kubernetes