1
0
mirror of https://github.com/rancher/rke.git synced 2025-09-26 15:34:02 +00:00

Correct metrics YAML variable name

This commit is contained in:
Sebastiaan van Steenis
2018-08-07 18:07:27 +02:00
committed by Alena Prokharchyk
parent 4f0a191e44
commit 4bb01e8f6b

View File

@@ -209,11 +209,11 @@ func (c *Cluster) deployMetricServer(ctx context.Context) error {
RBACConfig: c.Authorization.Mode, RBACConfig: c.Authorization.Mode,
Options: c.Monitoring.Options, Options: c.Monitoring.Options,
} }
kubeDNSYaml, err := addons.GetMetricsServerManifest(MetricsServerConfig) metricsYaml, err := addons.GetMetricsServerManifest(MetricsServerConfig)
if err != nil { if err != nil {
return err return err
} }
if err := c.doAddonDeploy(ctx, kubeDNSYaml, MetricsServerAddonResourceName, false); err != nil { if err := c.doAddonDeploy(ctx, metricsYaml, MetricsServerAddonResourceName, false); err != nil {
return err return err
} }
log.Infof(ctx, "[addons] KubeDNS deployed successfully..") log.Infof(ctx, "[addons] KubeDNS deployed successfully..")