Unable to create a pod after updating the environment variables used for ConfigMap in the webapp-color.yaml file.
I even deleted the pod and tried recreating it. But it’s not getting created.
Help needed please.
Hi @baigwajida,
According to the error, that field doesn’t exist.
Please put some space in the name
field.
It should look like this: -
- envFrom:
- configMapRef:
name: webapp-config-map
Refer this page: -
1 Like
You can verify relevant fields with help of the kubectl explain
command.
https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#explain
Regards,