Update the template files k-v map, use '1.x' instead of '1.x.y', since they all share the same template.
Add the templates for kubernetes 1.8, the difference of 1.8 is that the kube-api's auth mode is set to "Node,RBAC", the Node permission should be set explicitly, doc ref here
Some changes: