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:
committed by
Alena Prokharchyk
parent
c229a0637d
commit
4cbca1e90a
8
addons/coredns.go
Normal file
8
addons/coredns.go
Normal 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)
|
||||
}
|
Reference in New Issue
Block a user