Skip to content

Commit a3dfbd5

Browse files
authored
🍭 ADD - Route definition (feast-dev#4914)
Signed-off-by: Cansu Kavili <[email protected]>
1 parent 4b19024 commit a3dfbd5

File tree

4 files changed

+25
-2
lines changed

4 files changed

+25
-2
lines changed

infra/charts/feast-feature-server/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: feast-feature-server
33
description: Feast Feature Server in Go or Python
44
type: application
5-
version: 0.42.0
5+
version: 0.42.1
66
keywords:
77
- machine learning
88
- big data

infra/charts/feast-feature-server/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,5 @@ See [here](https://github.com/feast-dev/feast/tree/master/examples/python-helm-d
6060
| service.port | int | `80` | |
6161
| service.type | string | `"ClusterIP"` | |
6262
| serviceAccount.name | string | `""` | |
63-
| tolerations | list | `[]` | |
63+
| tolerations | list | `[]` | |
64+
| route.enabled | bool | `false` | |
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{{- if and (.Values.route.enabled) (eq .Values.feast_mode "ui") }}
2+
---
3+
kind: Route
4+
apiVersion: route.openshift.io/v1
5+
metadata:
6+
name: {{ include "feast-feature-server.fullname" . }}
7+
labels:
8+
{{- include "feast-feature-server.labels" . | nindent 4 }}
9+
spec:
10+
to:
11+
kind: Service
12+
name: {{ include "feast-feature-server.fullname" . }}
13+
port:
14+
targetPort: http
15+
tls:
16+
termination: edge
17+
insecureEdgeTerminationPolicy: Redirect
18+
{{- end}}

infra/charts/feast-feature-server/values.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,3 +74,7 @@ livenessProbe:
7474
readinessProbe:
7575
initialDelaySeconds: 20
7676
periodSeconds: 10
77+
78+
# to create OpenShift Route object for UI
79+
route:
80+
enabled: false

0 commit comments

Comments
 (0)