mirror of
https://github.com/rancher/rke.git
synced 2025-07-04 19:17:16 +00:00
11 lines
317 B
Go
11 lines
317 B
Go
package addons
|
|
|
|
import (
|
|
rkeData "github.com/rancher/kontainer-driver-metadata/rke/templates"
|
|
"github.com/rancher/rke/templates"
|
|
)
|
|
|
|
func GetCoreDNSManifest(CoreDNSConfig interface{}) (string, error) {
|
|
return templates.CompileTemplateFromMap(templates.GetDefaultVersionedTemplate(rkeData.CoreDNS), CoreDNSConfig)
|
|
}
|