1
0
mirror of https://github.com/rancher/rke.git synced 2025-07-04 02:57:52 +00:00
rke/addons/coredns.go

11 lines
352 B
Go
Raw Normal View History

2018-07-22 09:36:21 +00:00
package addons
import (
rkeData "github.com/rancher/kontainer-driver-metadata/rke/templates"
"github.com/rancher/rke/templates"
)
2018-07-22 09:36:21 +00:00
func GetCoreDNSManifest(CoreDNSConfig interface{}, data map[string]interface{}) (string, error) {
return templates.CompileTemplateFromMap(templates.GetDefaultVersionedTemplate(rkeData.CoreDNS, data), CoreDNSConfig)
2018-07-22 09:36:21 +00:00
}