kind: Service
apiVersion: v1
metadata:
- name: {{ include "common.name.enrichmentservice" . }}
+ name: {{ include "common.name.informationservice" . }}
namespace: {{ include "common.namespace.nonrtric" . }}
labels:
- app: {{ include "common.namespace.nonrtric" . }}-{{ include "common.name.enrichmentservice" . }}
+ app: {{ include "common.namespace.nonrtric" . }}-{{ include "common.name.informationservice" . }}
chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
spec:
ports:
- {{if eq .Values.enrichmentservice.service.allowHttp true -}}
- - name: {{ index .Values.enrichmentservice.service.httpName }}
- port: {{ .Values.enrichmentservice.service.internalPort1 }}
- targetPort: {{ .Values.enrichmentservice.service.targetPort1 }}
+ {{if eq .Values.informationservice.service.allowHttp true -}}
+ - name: {{ index .Values.informationservice.service.httpName }}
+ port: {{ .Values.informationservice.service.internalPort1 }}
+ targetPort: {{ .Values.informationservice.service.targetPort1 }}
protocol: TCP
{{- end }}
- - name: {{ index .Values.enrichmentservice.service.httpsName }}
- port: {{ .Values.enrichmentservice.service.internalPort2 }}
- targetPort: {{ .Values.enrichmentservice.service.targetPort2 }}
+ - name: {{ index .Values.informationservice.service.httpsName }}
+ port: {{ .Values.informationservice.service.internalPort2 }}
+ targetPort: {{ .Values.informationservice.service.targetPort2 }}
protocol: TCP
selector:
- app: {{ include "common.namespace.nonrtric" . }}-{{ include "common.name.enrichmentservice" . }}
+ app: {{ include "common.namespace.nonrtric" . }}-{{ include "common.name.informationservice" . }}
release: {{ .Release.Name }}
type: ClusterIP