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

Default services images

This commit is contained in:
galal-hussein
2018-01-06 02:14:30 +02:00
parent 1dd5b92313
commit 4f0f52b15e

View File

@@ -165,6 +165,12 @@ func (c *Cluster) setClusterServicesDefaults() {
&c.Services.Kubelet.ClusterDomain: DefaultClusterDomain,
&c.Services.Kubelet.InfraContainerImage: DefaultInfraContainerImage,
&c.Authentication.Strategy: DefaultAuthStrategy,
&c.Services.KubeAPI.Image: DefaultK8sImage,
&c.Services.Scheduler.Image: DefaultK8sImage,
&c.Services.KubeController.Image: DefaultK8sImage,
&c.Services.Kubelet.Image: DefaultK8sImage,
&c.Services.Kubeproxy.Image: DefaultK8sImage,
&c.Services.Etcd.Image: DefaultEtcdImage,
}
for k, v := range serviceConfigDefaultsMap {
setDefaultIfEmpty(k, v)