IBM / ibm-garage-tekton-tasks

Contains a set of generic Tekton Tasks for use with Tekton Pipelines
Apache License 2.0
34 stars 60 forks source link

make git repo write for other steps to be able to use #137

Closed csantanapr closed 3 years ago

csantanapr commented 3 years ago

In openshift OCP47 the buildah task requires privilege without it can't build the image

oc adm policy add-scc-to-user privileged -z pipeline

then this would allow containers to run as root(0) the git-clone task uses the alpine image quay.io/ibmgaragecloud/alpine-git this image is the one from dockerhub and runs as root(0) the problem is the next step/container runs as devops(10001) user and it doesn't have write access to the files created in /source

Fixes #135 Fixes #131

csantanapr commented 3 years ago

cc @triceam