Integrate appmgr with common template. Add ingress controller entries in the common...
[it/dep.git] / ric-platform / 50-RIC-Platform / helm / a1mediator / templates / service.yaml
index 3321aa6..9f61e86 100644 (file)
@@ -2,9 +2,15 @@
 apiVersion: v1
 kind: Service
 metadata:
-  name: {{ include "a1mediator.fullname" . }}
+  name: {{ include "common.servicename.a1mediator" . }}
   labels:
-{{ include "a1mediator.labels" . | indent 4 }}
+    app.kubernetes.io/name: {{ include "common.fullname.a1mediator" . }}
+    helm.sh/chart: {{ include "common.chart" . }}
+    app.kubernetes.io/instance: {{ .Release.Name }}
+    {{- if .Chart.AppVersion }}
+    app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
+    {{- end }}
+    app.kubernetes.io/managed-by: {{ .Release.Service }}
 
 spec:
   type: {{ .Values.httpservice.type }}