OpenShift Pipelines Task is failing after upgrading the Operator in RHCOP
Issue
- A
TaskRun
is failing because ofpermission denied
error:
warning: unsuccessful cred copy: ".docker" from "/tekton/creds" to "/": unable to create destination directory: mkdir /.docker: permission denied
/tekton/home
is no more the$HOME
directory duringTask
execution./workspace
is no more the$PWD
working directory duringTask
execution.- How to have
$HOME
env set automatically to/tekton/home
and$PWD
to/workspace
(like it was in OCP Pipelines < 1.6)?
Environment
- Red Hat OpenShift Container Platform (RHOCP)
- 4.9
- Red Hat OpenShift Pipelines
- 1.6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.