mirror of https://github.com/k3s-io/k3s
Merge pull request #30964 from m1093782566/m109-master-density
Automatic merge from submit-queue [e2e test] Fix e2e test pause image hard code Use `framework.GetPauseImageName(f.Client)` instead of hard code(such as `"gcr.io/google_containers/pause-amd64:3.0"`) to represent pause image name. Related issus is #30967pull/6/head
commit
6b333d1f82
|
@ -461,7 +461,7 @@ func CreateNodeSelectorPods(f *framework.Framework, id string, replicas int, nod
|
|||
Name: "node-selector",
|
||||
Namespace: f.Namespace.Name,
|
||||
Timeout: defaultTimeout,
|
||||
Image: "gcr.io/google_containers/pause-amd64:3.0",
|
||||
Image: framework.GetPauseImageName(f.Client),
|
||||
Replicas: replicas,
|
||||
HostPorts: map[string]int{"port1": 4321},
|
||||
NodeSelector: map[string]string{"cluster-autoscaling-test.special-node": "true"},
|
||||
|
|
|
@ -691,7 +691,7 @@ var _ = framework.KubeDescribe("Density", func() {
|
|||
}
|
||||
RCName = "density" + strconv.Itoa(totalPods) + "-" + strconv.Itoa(i) + "-" + uuid
|
||||
RCConfigs[i] = framework.RCConfig{Client: c,
|
||||
Image: "gcr.io/google_containers/pause-amd64:3.0",
|
||||
Image: framework.GetPauseImageName(f.Client),
|
||||
Name: RCName,
|
||||
Namespace: ns,
|
||||
Labels: map[string]string{"type": "densityPod"},
|
||||
|
|
Loading…
Reference in New Issue