Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/mint/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 3.3.4
version: 3.3.5
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
Expand Down
17 changes: 17 additions & 0 deletions charts/mint/templates/ensemble-manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,23 @@ spec:
selector:
app: {{ include "mint.prefix" . }}-ensemble-manager
---
apiVersion: v1
kind: Service
metadata:
name: {{ include "mint.prefix" . }}-ensemble-manager-files
namespace: {{ .Release.Namespace }}
labels:
{{- include "helm.labels" . | nindent 4 }}
spec:
type: {{ .Values.service.type }}
ports:
- name: "http"
port: 80
targetPort: 80
protocol: TCP
selector:
app: {{ include "mint.prefix" . }}-ensemble-manager
---
apiVersion: apps/v1
kind: Deployment
metadata:
Expand Down
9 changes: 8 additions & 1 deletion charts/mint/templates/ingress-ensemble-manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,13 @@ spec:
- host: {{ .host | quote }}
http:
paths:
- path: /data/
pathType: Prefix
backend:
service:
name: {{ $fullName }}-ensemble-manager-files
port:
number: 80
{{- range .paths }}
- path: {{ .path }}
{{- if and .pathType (semverCompare ">=1.18-0" $.Capabilities.KubeVersion.GitVersion) }}
Expand All @@ -56,4 +63,4 @@ spec:
{{- end }}
{{- end }}
{{- end }}
{{- end }}
{{- end }}
Loading