Skip to content

Commit

Permalink
fix: temporal fix ensemble manager data files exposed
Browse files Browse the repository at this point in the history
  • Loading branch information
mosoriob committed Sep 11, 2024
1 parent 807758d commit abdeaef
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 16 deletions.
14 changes: 5 additions & 9 deletions charts/mint/templates/ensemble-manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
---
Expand Down Expand Up @@ -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
Expand All @@ -92,6 +86,8 @@ spec:
{{- with .Values.components.ensemble_manager }}
image: "nginx"
imagePullPolicy: {{ .image.pullPolicy }}
ports:
- containerPort: 80
resources:
{{- toYaml .resources | nindent 12 }}
{{- end }}
Expand Down
7 changes: 0 additions & 7 deletions charts/mint/templates/ingress-ensemble-manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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) }}
Expand Down

0 comments on commit abdeaef

Please sign in to comment.