Merge "[DOC] Update OOM Quick Start Guide documentation section"
[oom.git] / kubernetes / common / etcd / templates / service.yaml
index 692faa9..04fc93a 100644 (file)
@@ -1,3 +1,4 @@
+{{/*
 # Copyright 2019 Intel Corporation Inc
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
@@ -11,6 +12,7 @@
 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 # See the License for the specific language governing permissions and
 # limitations under the License.
+*/}}
 
 apiVersion: v1
 kind: Service
@@ -21,7 +23,7 @@ metadata:
   name: {{ include "common.servicename" .  }}
   labels:
     heritage: "{{ .Release.Service  }}"
-    release: "{{ .Release.Name  }}"
+    release: "{{ include "common.release" .  }}"
     chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
     app: {{ include "common.name" . }}
 spec:
@@ -33,5 +35,5 @@ spec:
   clusterIP: None
   selector:
     app: {{ include "common.name" . }}
-    release: "{{ .Release.Name }}"
+    release: "{{ include "common.release" . }}"