Merge "[CONSUL] Add limits to consul chart."
[oom.git] / kubernetes / pomba / charts / pomba-networkdiscovery / templates / service.yaml
index 913a2d8..a846fe3 100644 (file)
@@ -1,3 +1,4 @@
+{{/*
 # Copyright © 2018 Amdocs\r
 #\r
 # Licensed under the Apache License, Version 2.0 (the "License");\r
@@ -11,6 +12,7 @@
 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
 # See the License for the specific language governing permissions and\r
 # limitations under the License.\r
+*/}}
 \r
 apiVersion: v1\r
 kind: Service\r
@@ -20,7 +22,7 @@ metadata:
   labels:\r
     app: {{ include "common.name" . }}\r
     chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}\r
-    release: {{ .Release.Name }}\r
+    release: {{ include "common.release" . }}\r
     heritage: {{ .Release.Service }}\r
 spec:\r
   type: {{ .Values.service.type }}\r
@@ -37,4 +39,4 @@ spec:
     {{- end}}\r
   selector:\r
     app: {{ include "common.name" . }}\r
-    release: {{ .Release.Name }}\r
+    release: {{ include "common.release" . }}\r