Add a template printer to kubecfg.

Fixes #206
Recommend converting to switch statement.