Repository: kubernetes-sigs/security-profiles-operator
Pull request #2124 (2024-02-14 07:58:13)

Update crun to 1.14.1


#### What type of PR is this?


/kind documentation


#### What this PR does / why we need it:
Use the latest crun in CI.
#### 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/2124#" 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":[]} -->
codecov-commenter: ## [Codecov](https://app.codecov.io/gh/kubernetes-sigs/security-profiles-operator/pull/2124?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kubernetes-sigs) Report
> Merging [#2124](https://app.codecov.io/gh/kubernetes-sigs/security-profiles-operator/pull/2124?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kubernetes-sigs) (6acfbc5) into [main](https://app.codecov.io/gh/kubernetes-sigs/security-profiles-operator/commit/11d77f49d652b2b077eaeb9a0ef9eff5f24b6a8d?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kubernetes-sigs) (11d77f4) will **decrease** coverage by `4.72%`.
> Report is 40 commits behind head on main.
> The diff coverage is `0.00%`.

<details><summary>Additional details and impacted files</summary>


```diff
@@            Coverage Diff             @@
##             main    #2124      +/-   ##
==========================================
- Coverage   45.50%   40.78%   -4.72%     
==========================================
  Files          79       98      +19     
  Lines        7782    14913    +7131     
==========================================
+ Hits         3541     6082    +2541     
- Misses       4099     8402    +4303     
- Partials      142      429     +287     
```

</details>
saschagrunert: @kubernetes-sigs/security-profiles-operator-maintainers PTAL 

Patch:
diff --git a/dependencies.yaml b/dependencies.yaml
index 70ed6e42e..e9f8b78a4 100644
--- a/dependencies.yaml
+++ b/dependencies.yaml
@@ -154,7 +154,7 @@ dependencies:
       match: VERSION
 
   - name: crun
-    version: v1.14
+    version: v1.14.1
     refPaths:
     - path: examples/baseprofile-crun.yaml
       match: name
diff --git a/examples/baseprofile-crun.yaml b/examples/baseprofile-crun.yaml
index 2fbc0aa91..4c4db61ef 100644
--- a/examples/baseprofile-crun.yaml
+++ b/examples/baseprofile-crun.yaml
@@ -2,7 +2,7 @@
 apiVersion: security-profiles-operator.x-k8s.io/v1beta1
 kind: SeccompProfile
 metadata:
-  name: crun-v1.14
+  name: crun-v1.14.1
 spec:
   defaultAction: SCMP_ACT_ERRNO
   architectures:
@@ -25,6 +25,7 @@ spec:
         - fchdir
         - fchown
         - fstatfs
+        - getcwd
         - getegid
         - geteuid
         - getgid


Test patch:
diff --git a/test/tc_base_profiles_test.go b/test/tc_base_profiles_test.go
index 7925e890d..8c757923c 100644
--- a/test/tc_base_profiles_test.go
+++ b/test/tc_base_profiles_test.go
@@ -25,7 +25,7 @@ import (
 
 const (
 	baseProfileNameRunc = "runc-v1.1.12"
-	baseProfileNameCrun = "crun-v1.14"
+	baseProfileNameCrun = "crun-v1.14.1"
 )
 
 func (e *e2e) testCaseBaseProfile([]string) {