Skip to content

Comments

fix the trailing whitespace from the image name#37

Open
mmahut wants to merge 1 commit intosclorg:masterfrom
mmahut:master
Open

fix the trailing whitespace from the image name#37
mmahut wants to merge 1 commit intosclorg:masterfrom
mmahut:master

Conversation

@mmahut
Copy link

@mmahut mmahut commented Feb 16, 2026

Deployment of nginx-example on Red Hat Sandbox Openshift (4.20.14) was failing to admit pods with:

Pod "nginx-example-675cc5bc44-78dpt" is invalid:
spec.containers[0].image: Invalid value: " ": must not have leading or trailing whitespace

Looks like the image field in the deployment file contained a trailing whitespace, which Kubernetes rejects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant