Put the non-existent key into the error message #41573

ttripp opened this Issue Feb 16, 2017 · 0 comments


None yet

1 participant

ttripp commented Feb 16, 2017

Kubernetes version (use kubectl version):
Server Version: version.Info{Major:"1", Minor:"5", GitVersion:"v1.5.2", GitCommit:"08e099554f3c31f6e6f07b448ab3ed78d0520507", GitTreeState:"clean", BuildDate:"2017-01-12T04:52:34Z", GoVersion:"go1.7.4", Compiler:"gc", Platform:"linux/amd64"}

Linux 4.8.0-37-generic #39-Ubuntu SMP Thu Jan 26 02:27:07 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

What happened:
When a key doesn't exist in a configmap, it produces an error:

references non-existent config key

Adding the missing key would help with debugging.

What you expected to happen:
It should show the key

How to reproduce it (as minimally and precisely as possible):

Reference a key in a configmap that doesn't exist.

Anything else we need to know:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment