1
0
mirror of https://github.com/rancher/rke.git synced 2025-09-08 18:39:40 +00:00

Add CoreDNS as addon

This commit is contained in:
Sebastiaan van Steenis
2018-07-22 11:36:21 +02:00
committed by Alena Prokharchyk
parent c229a0637d
commit 4cbca1e90a
7 changed files with 423 additions and 33 deletions

8
addons/coredns.go Normal file
View File

@@ -0,0 +1,8 @@
package addons
import "github.com/rancher/rke/templates"
func GetCoreDNSManifest(CoreDNSConfig interface{}) (string, error) {
return templates.CompileTemplateFromMap(templates.CoreDNSTemplate, CoreDNSConfig)
}