Skip to content
Open
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 mlflow/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ maintainers:
- email: contact@larribas.me
name: Lorenzo Arribas
type: application
version: 1.0.1
version: 1.0.2
appVersion: 1.7.2
1 change: 1 addition & 0 deletions mlflow/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ By default, the ingress controller is disabled. You can, however, instruct the C
| podSecurityContext | object | `{}` | |
| replicaCount | int | `1` | |
| resources | object | `{}` | |
| route.enabled | bool | `false` | Creates an OpenShift route object as an alternative to ingress. |
| securityContext | object | `{}` | |
| service.port | int | `5000` | |
| service.type | string | `"NodePort"` | |
Expand Down
21 changes: 21 additions & 0 deletions mlflow/templates/route.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{{- if .Values.route.enabled -}}
kind: Route
apiVersion: route.openshift.io/v1
metadata:
name: {{ include "mlflow.fullname" . }}
labels:
{{- include "mlflow.selectorLabels" . | nindent 4 }}
spec:
to:
kind: Service
name: {{ include "mlflow.fullname" . }}
weight: 100
port:
targetPort: http
{{- if .Values.route.tls }}
tls:
termination: {{ .Values.route.tls.termination }}
insecureEdgeTerminationPolicy: {{ .Values.route.tls.insecureEdgeTerminationPolicy }}
{{- end }}
wildcardPolicy: None
{{- end }}
6 changes: 6 additions & 0 deletions mlflow/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,12 @@ ingress:
# hosts:
# - chart-example.local

route:
enabled: false
# tls:
# termination: edge
# insecureEdgeTerminationPolicy: Allow

resources: {}
# limits:
# cpu: 100m
Expand Down