Skip to main content

java.lang.IllegalStateException: ConfigMap is not a supported kind in the deployment spec

  • July 28, 2022
  • 0 replies
  • 18 views

Rishi
StreamSets Employee
Forum|alt.badge.img

Kubernetes Deployment fails with the below error

Ack Error for Event '64627d8f-ccc8-494e-bbd3-e9750f361a68:dpmsupport'. Reason : java.lang.IllegalStateException: ConfigMap is not a supported kind in the deployment spec

Control-agent (Provisioning agent ) cannot create config-maps or secrets. The only resources control agent can create are deployments, services, ingress and hpa.

If you want to use these resources then you need to create this separately and call it in deployment manifest.