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

Merge pull request #2763 from kinarashah/kdmup

add extra args for 1.22
This commit is contained in:
Kinara Shah
2021-12-03 17:58:47 -08:00
committed by GitHub

View File

@@ -381,6 +381,8 @@ func (c *Cluster) BuildKubeControllerProcess(host *hosts.Host, serviceOptions v3
if matchedRange {
Binds = util.RemoveZFromBinds(Binds)
CommandArgs["authentication-kubeconfig"] = CommandArgs["kubeconfig"]
CommandArgs["authorization-kubeconfig"] = CommandArgs["kubeconfig"]
}
for arg, value := range c.Services.KubeController.ExtraArgs {
@@ -818,6 +820,8 @@ func (c *Cluster) BuildSchedulerProcess(host *hosts.Host, serviceOptions v3.Kube
if matchedRange {
Binds = util.RemoveZFromBinds(Binds)
CommandArgs["authentication-kubeconfig"] = CommandArgs["kubeconfig"]
CommandArgs["authorization-kubeconfig"] = CommandArgs["kubeconfig"]
}
Binds = append(Binds, c.Services.Scheduler.ExtraBinds...)