Deployment and configmaps

IDK why but I keep messing up when injecting configmaps or secrets into deployment or pods

There are a couple of source worth looking over that will help you here. This particular page covers the bases (as they say in baseball): mounting secrets as volumes, and exposing them as environment variables in a couple of ways. Study that page, and know how to find it quickly during a lab or exam.