Jenkins pods are going to CrashLoopBackoff status due to permission denied error in RHOCP4

Solution Verified - Updated -

Issue

  • Jenkins pods are going to CrashLoopBackoff status due to permission denied error while accessing Jenkins related files.
  • Jenkins pods are reporting error loading config file "/var/lib/jenkins/.kube/config": open /var/lib/jenkins/.kube/config: permission denied.

Environment

  • Red Hat OpenShift Container Platform 4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content