1
0
mirror of https://github.com/rancher/rke.git synced 2025-07-05 11:37:48 +00:00
rke/addons/coredns.go

9 lines
214 B
Go
Raw Normal View History

2018-07-22 09:36:21 +00:00
package addons
import "github.com/rancher/rke/templates"
func GetCoreDNSManifest(CoreDNSConfig interface{}) (string, error) {
return templates.CompileTemplateFromMap(templates.CoreDNSTemplate, CoreDNSConfig)
}