func ClusterDNSIP(client kubernetes.Interface) (string, error) {
	resourceClient := client.CoreV1().ConfigMaps(INSTALLER_CONFIG_NAMESPACE)

	obj, err := resourceClient.Get(CLUSTER_CONFIG_RESOURCE, metav1.GetOptions{})
	if err != nil {
		return "", fmt.Errorf("getting %s resource: %v", CLUSTER_CONFIG_RESOURCE, err)
	}

	return installerClusterDNSIP(obj)
}
// ClusterDNSIP returns the cluster dns ip from the installer config.
ClusterDNSIP returns the cluster dns ip from the installer config.
// ClusterDNSIP returns the cluster dns ip from the installer config .
func ClusterDNSIP(client kubernetes.Interface) (string, error) {
	resourceClient := client.CoreV1().ConfigMaps(INSTALLER_CONFIG_NAMESPACE)
	obj, err := resourceClient.Get(CLUSTER_CONFIG_RESOURCE, metav1.GetOptions{})
	if err != nil {
		return "", fmt.Errorf("getting %s resource: %v", CLUSTER_CONFIG_RESOURCE, err)
	}
	return installerClusterDNSIP(obj)
}
func ClusterDNSIP ( client kubernetes . Interface ) ( string , error ) { resourceClient := client . CoreV1 ( ) . ConfigMaps ( INSTALLER_CONFIG_NAMESPACE ) obj , err := resourceClient . Get ( CLUSTER_CONFIG_RESOURCE , metav1 . GetOptions { } ) if err != nil { return " " , fmt . Errorf ( " " , CLUSTER_CONFIG_RESOURCE , err ) } return installerClusterDNSIP ( obj ) }
ClusterDNSIP returns the cluster dns ip from the installer config.
ClusterDNSIP returns the cluster dns ip from the installer config .