Skip to content

Commit d6896c8

Browse files
authored
Fix e2e on k8s-1.34 (#96)
* cluster: Use 127.0.0.1 instead localhost On some setups cluster-sync docker push fails with localhost as seen on other repos. Signed-off-by: Or Shoval <oshoval@redhat.com> * e2e: Fix k8s-1.34 On k8s-1.34 we get message: 'Back-off pulling image "ubuntu": ErrImagePull: short name mode is enforcing, but image name ubuntu:latest returns ambiguous list' reason: ImagePullBackOff Signed-off-by: Or Shoval <oshoval@redhat.com> --------- Signed-off-by: Or Shoval <oshoval@redhat.com>
1 parent e85ac88 commit d6896c8

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

cluster/cluster.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
export KUBEVIRT_PROVIDER=${KUBEVIRT_PROVIDER:-'k8s-1.33'}
15+
export KUBEVIRT_PROVIDER=${KUBEVIRT_PROVIDER:-'k8s-1.34'}
1616
export KUBEVIRTCI_TAG=${KUBEVIRTCI_TAG:-2509181951-8264c60a}
1717

1818
KUBEVIRTCI_REPO='https://github.com/kubevirt/kubevirtci.git'

cluster/sync.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ if [[ "$KUBEVIRT_PROVIDER" == external ]]; then
2929
config_dir=./config/external
3030
else
3131
registry_port=$(./cluster/cli.sh ports registry | tr -d '\r')
32-
push_registry=localhost:$registry_port
32+
push_registry=127.0.0.1:$registry_port
3333
manifest_registry=registry:5000
3434
config_dir=./config/test
3535
fi

hack/common.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ KUBEVIRT_DIR="$(
2323
VENDOR_DIR=$KUBEVIRT_DIR/vendor
2424

2525

26-
KUBEVIRT_PROVIDER=${KUBEVIRT_PROVIDER:-k8s-1.33}
26+
KUBEVIRT_PROVIDER=${KUBEVIRT_PROVIDER:-k8s-1.34}
2727
KUBEVIRT_NUM_NODES=${KUBEVIRT_NUM_NODES:-1}
2828
KUBEVIRT_MEMORY_SIZE=${KUBEVIRT_MEMORY_SIZE:-5120M}
2929
export KUBEVIRT_FLANNEL=true

tests/utils.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ func PodSpec(name string, resourceRequirements v1.ResourceList) *v1.Pod {
136136
Containers: []v1.Container{
137137
{
138138
Name: name,
139-
Image: "ubuntu",
139+
Image: "docker.io/library/ubuntu:latest",
140140
Resources: v1.ResourceRequirements{
141141
Limits: resourceRequirements,
142142
Requests: resourceRequirements,

0 commit comments

Comments
 (0)