You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The buildah task has privileged: true set in its pod securityContext
That can be replaced by
securityContext:
capabilities:
add:
- SETFCAP
and the build will work without needing privileged which sometimes is not allowed in the cluster.
Tested in k8s 1.30 running crio 1.30
The text was updated successfully, but these errors were encountered:
jsalatiel
changed the title
[buildah] Replace privileged: true by adding SETFCAP cap
[buildah] Remove privileged: true by adding SETFCAP cap
Aug 21, 2024
The buildah task has
privileged: true
set in its pod securityContextThat can be replaced by
and the build will work without needing privileged which sometimes is not allowed in the cluster.
Tested in k8s 1.30 running crio 1.30
The text was updated successfully, but these errors were encountered: