Every time the Cronjobs runs, it fails in state
Crashloop and throws error below, when adding the file as
VOLUME in the cronjob configuration.
error: could not read file /opt/AD-OCP-Yamlfiles/ocp-ldap.yaml: open /opt/AD-OCP-Yamlfiles/ocp-ldap.yaml: no such file or directory
Then after adding the file as ConfigMap, it throws error:
container_linux.go:247: starting container process caused "exec: \"oc\": executable file not found in $PATH"
Red Hat OpenShift Container Platform 3.X
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.