How to fix error: invalid configuration in Kubernetes | DevErrors