Build pod failing after upgrading cluster from v4.5 to v4.6
Issue
-
Before upgrade, the
BuildConfigsetting was able to clone source code from a privateGitLab. -
But after upgrading the cluster, it was throwing the message:
error: failed to fetch requested repository "http://xxx/gitlab/project/xxx" with provided credentials
- In the pod description the below message was seen:
State: Terminated
Reason: Error
Message: Cloning "http://apps.example.com/code.git" ...
error: failed to fetch requested repository "http://apps.example.com/code.git" with provided credentials
Environment
- Red Hat OpenShift Container Platform [OCP]
- Red Hat OpenShift Dedicated [OSD]
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.