diff --git a/charts/mint/templates/ensemble-manager.yaml b/charts/mint/templates/ensemble-manager.yaml index bb9b4e9..10146be 100644 --- a/charts/mint/templates/ensemble-manager.yaml +++ b/charts/mint/templates/ensemble-manager.yaml @@ -13,16 +13,7 @@ spec: - name: "http" port: 80 targetPort: 3000 - {{ if eq .Values.service.type "NodePort" }} - nodePort: {{ include "helm.ensemble_manager_node_port" . }} - {{ end }} protocol: TCP - - name: "datacatalog" - port: 8080 - targetPort: 80 - {{ if eq .Values.service.type "NodePort" }} - nodePort: {{ include "helm.ensemble_manager_data_node_port" . }} - {{ end }} selector: app: {{ include "mint.prefix" . }}-ensemble-manager --- @@ -72,6 +63,9 @@ spec: resources: {{- toYaml .resources | nindent 12 }} {{- end }} + ports: + - containerPort: 3000 + name: api env: - name: TMPDIR value: /home/node/app/data/temp @@ -92,6 +86,8 @@ spec: {{- with .Values.components.ensemble_manager }} image: "nginx" imagePullPolicy: {{ .image.pullPolicy }} + ports: + - containerPort: 80 resources: {{- toYaml .resources | nindent 12 }} {{- end }} diff --git a/charts/mint/templates/ingress-ensemble-manager.yaml b/charts/mint/templates/ingress-ensemble-manager.yaml index f5cd2e1..a01f795 100644 --- a/charts/mint/templates/ingress-ensemble-manager.yaml +++ b/charts/mint/templates/ingress-ensemble-manager.yaml @@ -39,13 +39,6 @@ spec: - host: {{ .host | quote }} http: paths: - - path: /data/ - pathType: ImplementationSpecific - backend: - service: - name: {{ $fullName }}-ensemble-manager - port: - number: 8080 {{- range .paths }} - path: {{ .path }} {{- if and .pathType (semverCompare ">=1.18-0" $.Capabilities.KubeVersion.GitVersion) }}