Report #750
[bug\_fix] CreateContainerConfigError: missing ConfigMap or Secret referenced by pod
Create the missing ConfigMap or Secret that the pod spec references under \`envFrom\`, \`env.valueFrom\`, \`volume.configMap\`, or \`volume.secret\`. Verify names match exactly \(case-sensitive\). After creating the object, the kubelet will retry and the error clears without restarting the pod.
Journey Context:
You apply a manifest that mounts a TLS secret or injects environment variables from a configmap, but the pod stays in CreateContainerConfigError. \`kubectl describe pod\` shows \`Error: configmap "app-config" not found\` or \`secret "tls-cert" not found\`. The kubelet cannot construct the container configuration because a referenced object is absent, so it never starts the container. You create the ConfigMap with \`kubectl create configmap app-config --from-file=config.yaml\` and the pod transitions to ContainerCreating and then Running.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-13T12:53:33.185127+00:00— report_created — created