Error when deploying Jenkins in OCP 4 fails with " cp: cannot create regular file /var/lib/jenkins/config.xml: Permission denied"
Issue
Creating a persistence Jenkins instance from Jenkins operator, the pod cannot create a regular file under /var/lib/jenkins/
with an error message:
Permission denied.
Environment
- Red Hat OpenShift Container Platform (RHOCP)
- 4.6
- Jenkins Operator 0.7.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.