1
0
mirror of https://github.com/rancher/rke.git synced 2025-08-31 14:36:32 +00:00

Restart cluster agent pod in rotate certs

This commit is contained in:
galal-hussein
2019-03-19 21:33:21 +02:00
committed by Craig Jellick
parent 32e1071041
commit d3d107a09a
2 changed files with 2 additions and 0 deletions

View File

@@ -495,6 +495,7 @@ func RestartClusterPods(ctx context.Context, kubeCluster *Cluster) error {
fmt.Sprintf("%s=%s", KubeAppLabel, KubeDNSAutoscalerAppName),
fmt.Sprintf("%s=%s", KubeAppLabel, CoreDNSAutoscalerAppName),
fmt.Sprintf("%s=%s", AppLabel, KubeAPIAuthAppName),
fmt.Sprintf("%s=%s", AppLabel, CattleClusterAgentAppName),
}
var errgrp errgroup.Group
labelQueue := util.GetObjectQueue(labelsList)