mirror of
https://github.com/rancher/rke.git
synced 2025-08-31 22:46:25 +00:00
Add k8s 1.15
This commit is contained in:
committed by
Alena Prokharchyk
parent
fb11fc3317
commit
9985bc8bae
@@ -245,7 +245,7 @@ func (c *Cluster) doWeaveDeploy(ctx context.Context) error {
|
||||
func (c *Cluster) getNetworkPluginManifest(pluginConfig map[string]interface{}) (string, error) {
|
||||
switch c.Network.Plugin {
|
||||
case FlannelNetworkPlugin:
|
||||
return templates.CompileTemplateFromMap(templates.FlannelTemplate, pluginConfig)
|
||||
return templates.CompileTemplateFromMap(templates.GetVersionedTemplates(FlannelNetworkPlugin, c.Version), pluginConfig)
|
||||
case CalicoNetworkPlugin:
|
||||
return templates.CompileTemplateFromMap(templates.GetVersionedTemplates(CalicoNetworkPlugin, c.Version), pluginConfig)
|
||||
case CanalNetworkPlugin:
|
||||
|
Reference in New Issue
Block a user