mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-11-01 14:22:17 +00:00
Update the nginx image from hub.docker.com
This commit is contained in:
@@ -51,7 +51,7 @@ func (DeploymentUpgradeTest) Name() string { return "[sig-apps] deployment-upgra
|
||||
// Setup creates a deployment and makes sure it has a new and an old replicaset running.
|
||||
func (t *DeploymentUpgradeTest) Setup(f *framework.Framework) {
|
||||
c := f.ClientSet
|
||||
nginxImage := imageutils.GetE2EImage(imageutils.NginxSlim)
|
||||
nginxImage := imageutils.GetE2EImage(imageutils.Nginx)
|
||||
|
||||
ns := f.Namespace.Name
|
||||
deploymentClient := c.AppsV1().Deployments(ns)
|
||||
|
||||
@@ -50,7 +50,7 @@ func (ReplicaSetUpgradeTest) Name() string { return "[sig-apps] replicaset-upgra
|
||||
func (r *ReplicaSetUpgradeTest) Setup(f *framework.Framework) {
|
||||
c := f.ClientSet
|
||||
ns := f.Namespace.Name
|
||||
nginxImage := imageutils.GetE2EImage(imageutils.NginxSlim)
|
||||
nginxImage := imageutils.GetE2EImage(imageutils.Nginx)
|
||||
|
||||
By(fmt.Sprintf("Creating replicaset %s in namespace %s", rsName, ns))
|
||||
replicaSet := framework.NewReplicaSet(rsName, ns, 1, map[string]string{"test": "upgrade"}, "nginx", nginxImage)
|
||||
|
||||
Reference in New Issue
Block a user