pods crashing after provisioning -openshift
I have cloned the oracle goldengate git repository on my local laptop and post that build a docker image for Goldengate 23.4. Using that image when i try to spin up a pod in openshift. It fails with below error
oc logs goldengate-oracle-xxxxxxxx-b99fd5895-vdvcz
chown: changing ownership of '/u02': Operation not permitted
chown: changing ownership of '/u03': Operation not permitted
the chown is part of an ENTRYPOINT [ "/usr/local/bin/deployment-main.sh" ] which is getting failed bcz 'root' access is disabled on pods.
The commands that are getting executed as root user in docker desktop where as in pods it doesn't allows you to login as root and creates some random userid.