Install Uninstall Script
[it/dep.git] / nonrtric / helm / a1simulator / templates / service.yaml
index 3bc1399..4bcde79 100644 (file)
@@ -18,9 +18,9 @@ kind: Service
 apiVersion: v1
 metadata:
   name: {{ .Values.a1simulator.instanceName }}
-  namespace: nonrtric
+  namespace: {{ include "common.namespace.nonrtric" . }}
   labels:
-    app: nonrtric-{{ include "common.name.a1simulator" . }}
+    app: {{ include "common.namespace.nonrtric" . }}-{{ include "common.name.a1simulator" . }}
     chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
     release: {{ .Release.Name }}
     heritage: {{ .Release.Service }}
@@ -31,6 +31,6 @@ spec:
     port: {{ include "common.serviceport.a1simulator.http" . }}
     targetPort: {{ include "common.serviceport.a1simulator.http" . }}
   selector:
-    app: nonrtric-{{ include "common.name.a1simulator" . }}
+    app: {{ include "common.namespace.nonrtric" . }}-{{ include "common.name.a1simulator" . }}
     release: {{ .Release.Name }}
   type: ClusterIP