Add apiVersion to service definition

Adding apiVersion to the service definition
for consul-server-ui. This is flagged as an error
when using kubectl apply after generating template
using helm template.

Issue-ID: OOM-1280
Change-Id: Icb7378acbd66b851b6a83bfd8b30373e95cb15fd
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
diff --git a/kubernetes/consul/charts/consul-server/templates/service.yaml b/kubernetes/consul/charts/consul-server/templates/service.yaml
index c0f8726..0b16cf6 100644
--- a/kubernetes/consul/charts/consul-server/templates/service.yaml
+++ b/kubernetes/consul/charts/consul-server/templates/service.yaml
@@ -38,6 +38,7 @@
     release: {{ .Release.Name }}
   clusterIP: None
 ---
+apiVersion: v1
 kind: Service
 metadata:
   name: {{ include "common.servicename" . }}-ui