Error creating: Pod "xxxx" is invalid: [spec.containers[x].image: Invalid value: " " in RHOCP
Issue
- Container within the pod fails from getting created due to the container image value being invalid.
Error creating: Pod "postgresql-example-d74f8b75d-gnjzk" is invalid: [spec.containers[0].image: Invalid value: " postgres:14 ": must not have leading or trailing whitespace, spec.initContainers[0].image: Invalid value: " ": must not have leading or trailing whitespace]
Environment
- Red Hat OpenShift Container Platform (RHOCP) 4
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.