fix: 🐛 rootless buildah in build-image task for OpenShift SCC #161
No reviewers
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/OpenSpec
Kind/Security
Kind/Testing
Priority/Critical
Priority/High
Priority/Low
Priority/Medium
RFC - Request For Comments
Reviewed/Confirmed
Reviewed/Duplicate
Reviewed/Invalid
Reviewed/Won't Fix
Status/Abandoned
Status/Blocked
Status/Need More Info
hermes-attempted
hermes-needs-clarification
hermes-ready
hermes-review
hermes-wip
human-required
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
agentic-forges/forgejo-mcp!161
Loading…
Reference in a new issue
No description provided.
Delete branch "refs/pull/161/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
build-image.yamlsetssecurityContext.privileged: true. ThepipelineServiceAccount inop1st-pipelineshas onlycontainer-buildSCC bound, which explicitly rejectsprivileged: true. PipelineRunrelease-tools-on-tag-publish-v1-0-1failed atbuild-imagewithPodAdmissionFailed.Fix
securityContext.privileged: truerunAsUser: 1000/runAsGroup: 1000— accepted bycontainer-buildSCC--isolation=chroottobuildah bud— rootless isolation mode that works without kernel namespaces, sufficient forchrootsyscall whichcontainer-buildpermits--storage-driver=vfs(default) — no overlay kernel module neededISOLATIONparam (defaultchroot) for future override if a cluster grants stronger SCCsCloses forgejo-mcp-aps
op1st Pipelines as Code/on-pull-request-tq5ck is running.
Starting Pipelinerun on-pull-request-tq5ck in namespace op1st-pipelines
You can monitor the execution using the op1st Pipelines as Code PipelineRun viewer or through the command line by
using the tkn CLI with the following command:
tkn pr logs -n op1st-pipelines on-pull-request-tq5ck -fop1st Pipelines as Code/code-scans-8kpcg is running.
Starting Pipelinerun code-scans-8kpcg in namespace op1st-pipelines
You can monitor the execution using the op1st Pipelines as Code PipelineRun viewer or through the command line by
using the tkn CLI with the following command:
tkn pr logs -n op1st-pipelines code-scans-8kpcg -fop1st Pipelines as Code/code-scans-8kpcg
Task Statuses:
fetch-source
gitleaks-version
Failure snippet:
task fetch-source has the status "TaskRunCancelled":op1st Pipelines as Code/on-pull-request-tq5ck
Task Statuses:
fetch-source
build-and-test
Failure snippet:
task build-and-test has the status "TaskRunCancelled":