func defaultDNSsForEtcdServer(e *v1alpha1.EtcdCluster) []string {
	as := helpers.NameForAccessService(e)
	hs := helpers.NameForHeadlessService(e)
	return []string{
		fmt.Sprintf("%s.%s.svc.%s", as, e.Namespace, helpers.ClusterDomain(e)),
		fmt.Sprintf("%s.%s.svc.%s", hs, e.Namespace, helpers.ClusterDomain(e)),
		fmt.Sprintf("*.%s.%s.svc.%s", hs, e.Namespace, helpers.ClusterDomain(e)),
	}
}
// defaultDNSsForEtcdServer return the dns name list which should be signed in etcd cluster's server certificate
defaultDNSsForEtcdServer return the dns name list which should be signed in etcd cluster's server certificate
// defaultDNSsForEtcdServer return the dns name list which should be signed in etcd cluster ' s server certificate
func defaultDNSsForEtcdServer(e *v1alpha1.EtcdCluster) []string {
	as := helpers.NameForAccessService(e)
	hs := helpers.NameForHeadlessService(e)
	return []string{
		fmt.Sprintf("%s.%s.svc.%s", as, e.Namespace, helpers.ClusterDomain(e)),
		fmt.Sprintf("%s.%s.svc.%s", hs, e.Namespace, helpers.ClusterDomain(e)),
		fmt.Sprintf("*.%s.%s.svc.%s", hs, e.Namespace, helpers.ClusterDomain(e)),
	}
}
func defaultDNSsForEtcdServer ( e * v1alpha1 . EtcdCluster ) [ ] string { as := helpers . NameForAccessService ( e ) hs := helpers . NameForHeadlessService ( e ) return [ ] string { fmt . Sprintf ( " " , as , e . Namespace , helpers . ClusterDomain ( e ) ) , fmt . Sprintf ( " " , hs , e . Namespace , helpers . ClusterDomain ( e ) ) , fmt . Sprintf ( " " , hs , e . Namespace , helpers . ClusterDomain ( e ) ) , } }
defaultDNSsForEtcdServer return the dns name list which should be signed in etcd cluster's server certificate
defaultDNSsForEtcdServer return the dns name list which should be signed in etcd cluster ' s server certificate