Repository: kubernetes-sigs/security-profiles-operator
Pull request #1127 (2022-08-29 09:52:10)

Update Kubernetes in CI to v1.25.0


#### What type of PR is this?


/kind cleanup


#### What this PR does / why we need it:
None
#### Which issue(s) this PR fixes:

<!--
*Automatically closes linked issue when PR is merged.
Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`.

Fixes #

or

None
-->
None
#### Does this PR have test?
None
<!--
If tests aren't applicable just write N/A.
-->

#### Special notes for your reviewer:
None
#### Does this PR introduce a user-facing change?

<!--
If no, just write "NONE" in the release-note block below.
If yes, a release note is required:
Enter your extended release note in the block below. If the PR requires additional action from users switching to the new release, include the string "action required".

For more information on release notes see: https://git.k8s.io/community/contributors/guide/release-notes.md
-->

```release-note
None
```


k8s-ci-robot: [APPROVALNOTIFIER] This PR is **APPROVED**

This pull-request has been approved by: *<a href="https://github.com/kubernetes-sigs/security-profiles-operator/pull/1127#" title="Author self-approved">saschagrunert</a>*

The full list of commands accepted by this bot can be found [here](https://go.k8s.io/bot-commands?repo=kubernetes-sigs%2Fsecurity-profiles-operator).

The pull request process is described [here](https://git.k8s.io/community/contributors/guide/owners.md#the-code-review-process)

<details >
Needs approval from an approver in each of these files:

- ~~[OWNERS](https://github.com/kubernetes-sigs/security-profiles-operator/blob/main/OWNERS)~~ [saschagrunert]

Approvers can indicate their approval by writing `/approve` in a comment
Approvers can cancel approval by writing `/approve cancel` in a comment
</details>
<!-- META={"approvers":[]} -->
k8s-ci-robot: [APPROVALNOTIFIER] This PR is **APPROVED**

This pull-request has been approved by: *<a href="https://github.com/kubernetes-sigs/security-profiles-operator/pull/1127#pullrequestreview-1088699634" title="LGTM">jhrozek</a>*, *<a href="https://github.com/kubernetes-sigs/security-profiles-operator/pull/1127#" title="Author self-approved">saschagrunert</a>*

The full list of commands accepted by this bot can be found [here](https://go.k8s.io/bot-commands?repo=kubernetes-sigs%2Fsecurity-profiles-operator).

The pull request process is described [here](https://git.k8s.io/community/contributors/guide/owners.md#the-code-review-process)

<details >
Needs approval from an approver in each of these files:

- ~~[OWNERS](https://github.com/kubernetes-sigs/security-profiles-operator/blob/main/OWNERS)~~ [jhrozek,saschagrunert]

Approvers can indicate their approval by writing `/approve` in a comment
Approvers can cancel approval by writing `/approve cancel` in a comment
</details>
<!-- META={"approvers":[]} -->
k8s-ci-robot: New changes are detected. LGTM label has been removed.
k8s-ci-robot: [APPROVALNOTIFIER] This PR is **APPROVED**

This pull-request has been approved by: *<a href="https://github.com/kubernetes-sigs/security-profiles-operator/pull/1127#pullrequestreview-1096009530" title="LGTM">JAORMX</a>*, *<a href="https://github.com/kubernetes-sigs/security-profiles-operator/pull/1127#pullrequestreview-1088699634" title="LGTM">jhrozek</a>*, *<a href="https://github.com/kubernetes-sigs/security-profiles-operator/pull/1127#" title="Author self-approved">saschagrunert</a>*

The full list of commands accepted by this bot can be found [here](https://go.k8s.io/bot-commands?repo=kubernetes-sigs%2Fsecurity-profiles-operator).

The pull request process is described [here](https://git.k8s.io/community/contributors/guide/owners.md#the-code-review-process)

<details >
Needs approval from an approver in each of these files:

- ~~[OWNERS](https://github.com/kubernetes-sigs/security-profiles-operator/blob/main/OWNERS)~~ [JAORMX,jhrozek,saschagrunert]

Approvers can indicate their approval by writing `/approve` in a comment
Approvers can cancel approval by writing `/approve cancel` in a comment
</details>
<!-- META={"approvers":[]} -->

Patch:
diff --git a/Dockerfile.build-image b/Dockerfile.build-image
index 435556a0a..5c7ac3f04 100644
--- a/Dockerfile.build-image
+++ b/Dockerfile.build-image
@@ -13,7 +13,7 @@
 # limitations under the License.
 
 # hash below relates to tag: bullseye-v1.4.0
-FROM k8s.gcr.io/build-image/debian-base@sha256:9a4b40b8837c4b3e4e45716baea6e1461b7c51a3f723aeaf52e8acdcd1aa40b2
+FROM k8s.gcr.io/build-image/debian-base@sha256:e6e8c911b1566556ae105d3600df04c600241f43b06d22c73592ebb446d60c49
 WORKDIR /work
 
 RUN apt-get update && apt-get install -y wget xz-utils libapparmor-dev
diff --git a/dependencies.yaml b/dependencies.yaml
index e9795521b..73ba52056 100644
--- a/dependencies.yaml
+++ b/dependencies.yaml
@@ -84,7 +84,7 @@ dependencies:
       match: QEMUVERSION
 
   - name: e2e-kubernetes
-    version: 1.24.3
+    version: 1.25.0
     refPaths:
     - path: hack/ci/install-kubernetes.sh
       match: VERSION
@@ -106,7 +106,7 @@ dependencies:
       match: node
 
   - name: debian-base
-    version: sha256:9a4b40b8837c4b3e4e45716baea6e1461b7c51a3f723aeaf52e8acdcd1aa40b2
+    version: sha256:e6e8c911b1566556ae105d3600df04c600241f43b06d22c73592ebb446d60c49
     refPaths:
     - path: Dockerfile.build-image
       match: k8s.gcr.io/build-image/debian-base
diff --git a/hack/ci/Vagrantfile-ubuntu b/hack/ci/Vagrantfile-ubuntu
index 358d1d7b8..b3c2158d8 100644
--- a/hack/ci/Vagrantfile-ubuntu
+++ b/hack/ci/Vagrantfile-ubuntu
@@ -33,7 +33,7 @@ Vagrant.configure("2") do |config|
       curl -sSfL https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add -
       echo "deb http://apt.kubernetes.io/ kubernetes-xenial main" > /etc/apt/sources.list.d/kubernetes.list
       apt-get update
-      KUBERNETES_VERSION=1.24.3-00
+      KUBERNETES_VERSION=1.25.0-00
       apt-get install -y \
         build-essential \
         kubelet=$KUBERNETES_VERSION \
@@ -69,7 +69,6 @@ Vagrant.configure("2") do |config|
 
       # Configure cluster
       export KUBECONFIG=/etc/kubernetes/admin.conf
-      kubectl taint nodes --all node-role.kubernetes.io/master-
       kubectl taint nodes --all node-role.kubernetes.io/control-plane-
     SHELL
   end
diff --git a/hack/ci/install-kubernetes.sh b/hack/ci/install-kubernetes.sh
index a58f0d7f1..1c44f0b5c 100755
--- a/hack/ci/install-kubernetes.sh
+++ b/hack/ci/install-kubernetes.sh
@@ -19,7 +19,7 @@ ENVFILE=$(dirname "${BASH_SOURCE[0]}")/env-fedora.sh
 . "$ENVFILE"
 
 K8SPATH="$GOPATH/src/k8s.io"
-VERSION=v1.24.3
+VERSION=v1.25.0
 
 download-kubernetes() {
     export KUBERNETES_RELEASE=$VERSION


Test patch:
diff --git a/test/suite_test.go b/test/suite_test.go
index f051cf48d..ff176755d 100644
--- a/test/suite_test.go
+++ b/test/suite_test.go
@@ -600,7 +600,6 @@ func (e *e2e) kubectlRun(args ...string) string {
 	return e.kubectl(
 		append([]string{
 			"run",
-			"--timeout=5m",
 			"--pod-running-timeout=5m",
 			"--rm",
 			"-i",