commit | 444f749beb97004beae57da122484818f6cbe88a | [log] [tgz] |
---|---|---|
author | Kiran Kamineni <kiran.k.kamineni@intel.com> | Tue Jul 10 10:32:00 2018 -0700 |
committer | Kiran Kamineni <kiran.k.kamineni@intel.com> | Tue Jul 10 17:47:52 2018 +0000 |
tree | d789638f381c2e3f59f95559fb1e9258f849caf8 | |
parent | dfadfeb71f183943ece2b1641a2d51bcf6219ab6 [diff] [blame] |
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