mirror of
https://github.com/rancher/rke.git
synced 2025-06-23 14:07:13 +00:00
12 lines
353 B
Go
12 lines
353 B
Go
package addons
|
|
|
|
import (
|
|
rkeData "github.com/rancher/kontainer-driver-metadata/rke/templates"
|
|
"github.com/rancher/rke/templates"
|
|
)
|
|
|
|
func GetKubeDNSManifest(KubeDNSConfig interface{}, data map[string]interface{}) (string, error) {
|
|
|
|
return templates.CompileTemplateFromMap(templates.GetDefaultVersionedTemplate(rkeData.KubeDNS, data), KubeDNSConfig)
|
|
}
|