ckad icon indicating copy to clipboard operation
ckad copied to clipboard

configMapRef db-access not found

Open robertmcnees opened this issue 3 years ago • 6 comments

The yml in module 1 section 4 be-deploy.yml and db-deploy.yml both make reference to a configMapRef that isn't in my environment or specified in the files given.
Have I missed where this is defined? I am getting Error: configmap "db-access" not found on the store-db pod and the store-backend initContainer never completes.

robertmcnees avatar Aug 30 '22 18:08 robertmcnees

I get this as well, anyway you can see that the db-admin is up, so both containers started (or at least tried) simultaneously

dorlugasigal avatar Jan 16 '23 09:01 dorlugasigal

Just stumbled upon this as well. This is an error in the task, I think.

chrisxfire avatar Jan 28 '23 23:01 chrisxfire

Same error for me too. Woop wah.

ash3rr avatar Mar 23 '23 19:03 ash3rr

Thanks @nigelpoulton, it works as expected. Out of curiosity, during the exam, will the instructions give us the kubectl apply -f db-configmap.yml command or will we have to describe the pod, see the Error: configmap "db-access" not found error message and then search for the ConfigMap?

PS: I guess the back end is never supposed to run. I created the postgres service for the check-db to be able to resolve the postgres host and then ended up with ErrImageNeverPull status. Did I miss a step?

andreasbotsikas avatar Jun 06 '23 04:06 andreasbotsikas