mirror of
https://github.com/rancher/rke.git
synced 2025-09-25 14:48:06 +00:00
Correct metrics YAML variable name
This commit is contained in:
committed by
Alena Prokharchyk
parent
4f0a191e44
commit
4bb01e8f6b
@@ -209,11 +209,11 @@ func (c *Cluster) deployMetricServer(ctx context.Context) error {
|
||||
RBACConfig: c.Authorization.Mode,
|
||||
Options: c.Monitoring.Options,
|
||||
}
|
||||
kubeDNSYaml, err := addons.GetMetricsServerManifest(MetricsServerConfig)
|
||||
metricsYaml, err := addons.GetMetricsServerManifest(MetricsServerConfig)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
if err := c.doAddonDeploy(ctx, kubeDNSYaml, MetricsServerAddonResourceName, false); err != nil {
|
||||
if err := c.doAddonDeploy(ctx, metricsYaml, MetricsServerAddonResourceName, false); err != nil {
|
||||
return err
|
||||
}
|
||||
log.Infof(ctx, "[addons] KubeDNS deployed successfully..")
|
||||
|
Reference in New Issue
Block a user