mirror of
https://github.com/rancher/rke.git
synced 2025-09-04 08:24:28 +00:00
rancher pass serviceoptions and addon templates to rke
This commit is contained in:
committed by
Alena Prokharchyk
parent
c191ed6202
commit
116b47b025
@@ -5,7 +5,7 @@ import (
|
||||
"github.com/rancher/rke/templates"
|
||||
)
|
||||
|
||||
func GetKubeDNSManifest(KubeDNSConfig interface{}) (string, error) {
|
||||
func GetKubeDNSManifest(KubeDNSConfig interface{}, data map[string]interface{}) (string, error) {
|
||||
|
||||
return templates.CompileTemplateFromMap(templates.GetDefaultVersionedTemplate(rkeData.KubeDNS), KubeDNSConfig)
|
||||
return templates.CompileTemplateFromMap(templates.GetDefaultVersionedTemplate(rkeData.KubeDNS, data), KubeDNSConfig)
|
||||
}
|
||||
|
Reference in New Issue
Block a user