aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/consul
diff options
context:
space:
mode:
authorKiran Kamineni <kiran.k.kamineni@intel.com>2018-07-10 10:32:00 -0700
committerKiran Kamineni <kiran.k.kamineni@intel.com>2018-07-10 17:47:52 +0000
commit444f749beb97004beae57da122484818f6cbe88a (patch)
treed789638f381c2e3f59f95559fb1e9258f849caf8 /kubernetes/consul
parentdfadfeb71f183943ece2b1641a2d51bcf6219ab6 (diff)
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>
Diffstat (limited to 'kubernetes/consul')
-rw-r--r--kubernetes/consul/charts/consul-server/templates/service.yaml1
1 files changed, 1 insertions, 0 deletions
diff --git a/kubernetes/consul/charts/consul-server/templates/service.yaml b/kubernetes/consul/charts/consul-server/templates/service.yaml
index c0f8726826..0b16cf6920 100644
--- a/kubernetes/consul/charts/consul-server/templates/service.yaml
+++ b/kubernetes/consul/charts/consul-server/templates/service.yaml
@@ -38,6 +38,7 @@ spec:
release: {{ .Release.Name }}
clusterIP: None
---
+apiVersion: v1
kind: Service
metadata:
name: {{ include "common.servicename" . }}-ui