Report #102409
[bug\_fix] CreateContainerConfigError
Create the missing Secret or ConfigMap referenced by the pod, or fix the key name in the envFrom/configMapKeyRef/secretKeyRef. Verify the object exists with \`kubectl get configmap/secret -n \` and that the key listed in the error matches the actual data keys.
Journey Context:
A pod was stuck in CreateContainerConfigError immediately after creation. \`kubectl describe pod\` reported 'Error: secret "api-credentials" not found'. The manifest used \`envFrom.secretRef.name: api-credentials\`, but the Secret had been created as \`api-creds\` by a teammate's Terraform change. The container runtime never even tried to start the image because the kubelet could not build the container config. Renaming the Secret reference to match the existing object fixed it instantly. A similar case involved a \`configMapKeyRef\` pointing to key \`DB\_HOST\` when the ConfigMap only had \`db\_host\`; Kubernetes is case-sensitive on keys, so creating the correct key resolved the error. \`kubectl get events --field-selector reason=Failed\` often surfaces this before \`describe\` does.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-09T04:49:49.481497+00:00— report_created — created