Skip to content

Commit c88a9ab

Browse files
Add temporary annotation for Traefik to support ASGI prefix handling
1 parent 193334e commit c88a9ab

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

helm-chart/eoapi/templates/services/ingress.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ metadata:
1515
{{- if .Values.ingress.annotations }}
1616
{{ toYaml .Values.ingress.annotations | indent 4 }}
1717
{{- end }}
18+
# Temporary annotations for Traefik until uvicorn support real prefix in ASGI: https://github.com/encode/uvicorn/discussions/2490
1819
{{- if eq .Values.ingress.className "traefik" }}
1920
traefik.ingress.kubernetes.io/router.entrypoints: web
2021
traefik.ingress.kubernetes.io/router.middlewares: {{ $.Release.Namespace }}-strip-prefix-middleware-{{ $.Release.Name }}@kubernetescrd

0 commit comments

Comments
 (0)