mirror of
https://github.com/rancher/rke.git
synced 2025-11-03 02:30:03 +00:00
9 lines
214 B
Go
9 lines
214 B
Go
|
|
package addons
|
||
|
|
|
||
|
|
import "github.com/rancher/rke/templates"
|
||
|
|
|
||
|
|
func GetCoreDNSManifest(CoreDNSConfig interface{}) (string, error) {
|
||
|
|
|
||
|
|
return templates.CompileTemplateFromMap(templates.CoreDNSTemplate, CoreDNSConfig)
|
||
|
|
}
|