mirror of
https://github.com/rancher/rke.git
synced 2025-09-03 16:04:26 +00:00
Restart cluster agent pod in rotate certs
This commit is contained in:
committed by
Craig Jellick
parent
32e1071041
commit
d3d107a09a
@@ -33,6 +33,7 @@ const (
|
||||
KubeDNSAutoscalerAppName = "kube-dns-autoscaler"
|
||||
CoreDNSAutoscalerAppName = "coredns-autoscaler"
|
||||
KubeAPIAuthAppName = "kube-api-auth"
|
||||
CattleClusterAgentAppName = "cattle-cluster-agent"
|
||||
|
||||
CoreDNSProvider = "coredns"
|
||||
KubeDNSProvider = "kube-dns"
|
||||
|
@@ -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)
|
||||
|
Reference in New Issue
Block a user