kind: Service
metadata:
name: {{ include "common.servicename.appmgr.http" . }}
- namespace: {{ include "common.namespace" . }}
+ namespace: {{ include "common.namespace.platform" . }}
labels:
- app: {{ include "common.namespace" . }}-{{ include "common.name" . }}
+ app: {{ include "common.namespace.platform" . }}-{{ include "common.name.appmgr" . }}
chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
spec:
type: ClusterIP
ports:
- - port: {{ .Values.appmgr.service.http.port }}
+ - port: {{ include "common.serviceport.appmgr.http" . }}
protocol: "TCP"
name: "http"
targetPort: "http"
selector:
- app: {{ include "common.namespace" . }}-{{ include "common.name" . }}
+ app: {{ include "common.namespace.platform" . }}-{{ include "common.name.appmgr" . }}
release: {{ .Release.Name }}