Pod in version "v1" cannot be handled as a Pod

Hi
i’m having this issue while updating an existing pod, i have added the configmap:
containers:
envFrom:
- configMapRef:
name: webapp-config-map
image: kodekloud/webapp-color

Any help please :smiley:
Thanks

Please post the entire YAML for the pod

in a code block

or it will lose the formatting.

It’s okey, i’ve fixed the issue, it was just an indentation error
Thank you :slight_smile:

Often it is :wink:

Know how to interpret error messages from kubectl. I bet it gave more information than just

Pod in version “v1” cannot be handled as a Pod