Skip to content
8 changes: 4 additions & 4 deletions charts/controlplane/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -290,19 +290,19 @@ default

{{- define "unionai.sharedService" -}}
{{- if and (hasKey .config "sharedService") }}
{{ .config.sharedService }}
{{ toYaml .config.sharedService }}
{{- else if and (hasKey .Values "sharedService") }}
{{ .Values.sharedService }}
{{ toYaml .Values.sharedService }}
{{- else }}
{}
{{- end }}
{{- end }}

{{- define "unionai.sync" -}}
{{- if and (hasKey .config "sync") }}
{{ .config.sync }}
{{ toYaml .config.sync }}
{{- else if and (hasKey .Values "sync") }}
{{ .Values.sync }}
{{ toYaml .Values.sync }}
{{- else }}
{}
{{- end }}
Expand Down
9 changes: 6 additions & 3 deletions charts/controlplane/templates/cacheservice/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,12 @@ spec:
imagePullPolicy: "{{ .Values.flyte.cacheservice.image.pullPolicy }}"
name: cacheservice
ports:
- containerPort: 8088
- containerPort: 8089
- containerPort: {{ index .Values.flyte.configmap.cacheserviceServer.cacheservice "profiler-port" }}
- name: http
containerPort: 8088
- name: grpc
containerPort: 8089
- name: http-metrics
containerPort: {{ index .Values.flyte.configmap.cacheserviceServer.cacheservice "profiler-port" }}
securityContext:
allowPrivilegeEscalation: false
capabilities:
Expand Down
4 changes: 2 additions & 2 deletions charts/controlplane/templates/cacheservice/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ spec:
- name: http
port: 88
protocol: TCP
targetPort: 8088
targetPort: http
- name: grpc
port: 89
protocol: TCP
targetPort: 8089
targetPort: grpc
- name: http-metrics
protocol: TCP
port: 10254
Expand Down
4 changes: 2 additions & 2 deletions charts/controlplane/templates/common/_dataproxy-ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ spec:
service:
name: dataproxy
port:
number: 80
name: grpc
- path: /data
pathType: Prefix
backend:
service:
name: dataproxy
port:
number: 80
name: grpc
{{- end }}
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ defaultBackend:
service:
name: flyteconsole
port:
number: 80
name: http
{{- end}}

{{- define "protectedConsoleHttpRoutes" -}}
Expand All @@ -13,92 +13,92 @@ defaultBackend:
service:
name: flyteconsole
port:
number: 80
name: http
# NOTE: If you change this, you must update the BASE_URL value in flyteconsole.yaml
- path: /console
pathType: ImplementationSpecific
backend:
service:
name: flyteconsole
port:
number: 80
name: http
- path: /console/*
pathType: ImplementationSpecific
backend:
service:
name: flyteconsole
port:
number: 80
name: http
- path: /dashboard
pathType: ImplementationSpecific
backend:
service:
name: flyteconsole
port:
number: 80
name: http
- path: /dashboard/*
pathType: ImplementationSpecific
backend:
service:
name: flyteconsole
port:
number: 80
name: http
- path: /resources
pathType: ImplementationSpecific
backend:
service:
name: flyteconsole
port:
number: 80
name: http
- path: /resources/*
pathType: ImplementationSpecific
backend:
service:
name: flyteconsole
port:
number: 80
name: http
- path: /cost
pathType: ImplementationSpecific
backend:
service:
name: flyteconsole
port:
number: 80
name: http
- path: /cost/*
pathType: ImplementationSpecific
backend:
service:
name: flyteconsole
port:
number: 80
name: http
- path: /loading
pathType: ImplementationSpecific
backend:
service:
name: flyteconsole
port:
number: 80
name: http
- path: /loading/*
pathType: ImplementationSpecific
backend:
service:
name: flyteconsole
port:
number: 80
name: http
- path: /v2
pathType: ImplementationSpecific
backend:
service:
name: {{ include "console.fullname" . }}
port:
number: 80
name: http
- path: /v2/*
pathType: ImplementationSpecific
backend:
service:
name: {{ include "console.fullname" . }}
port:
number: 80
name: http
{{- end }}


Expand Down
Loading