1
0
mirror of https://github.com/rancher/rke.git synced 2025-09-02 07:24:20 +00:00
Files
rke/addons/coredns.go

11 lines
352 B
Go
Raw Normal View History

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