Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
theosanderson authored Feb 26, 2024
1 parent f6886ce commit 43100eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kubernetes/loculus/templates/lapis-ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ kind: Ingress
metadata:
name: lapis-ingress
annotations:
traefik.ingress.kubernetes.io/router.middlewares: "{{- $first := true }}{{- range $key, $_ := $.Values.instances }}{{ if $first }}{{ $first = false }}{{ else }},{{ end }}strip-{{ $key }}-prefix@kubernetescrd{{- end }}"
traefik.ingress.kubernetes.io/router.middlewares: "{{- $first := true }}{{- range $key, $_ := $.Values.instances }}{{ if $first }}{{ $first = false }}{{ else }},{{ end }}{{ $.Release.Namespace }}-strip-{{ $key }}-prefix@kubernetescrd{{- end }}"
spec:
rules:
- host: {{ if eq $.Values.environment "server" }}{{ $lapisHost }}{{ end }}
Expand Down Expand Up @@ -40,4 +40,4 @@ spec:
stripPrefix:
prefixes:
- /{{ $key }}/
{{- end }}
{{- end }}

0 comments on commit 43100eb

Please sign in to comment.