Open rbaumgar opened 3 years ago
I also encountered this while using a private repository and therefore added a service account to the pipeline-run.yaml
. But this will replace the pipeline service account which is somehow not mentioned in the yaml but is needed.
So there are two solutions for that if this error occurs in context of cloning a private repo at the beginning.
pipeline-run.yaml
serviceAccountNames:
- taskName: clone-repository
serviceAccountName: github-clone-bot
output:
solution update task s2i-java-11, step build, line 177 with securityContect: privileged: true
see https://access.redhat.com/solutions/5163281 Environment: OpenShift 4.7.3, OpenShift Pipelines 1.2.3