Skip to content

Commit

Permalink
fix lapis urls
Browse files Browse the repository at this point in the history
  • Loading branch information
theosanderson authored Jan 18, 2024
1 parent a193902 commit f439a68
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions kubernetes/loculus/templates/_lapis-urls.tpl
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{{/* generates internal LAPIS urls from given config object */}}
{{ define "loculus.generateInternalLapisUrls"}}
{{ range $key, $_ := .instances }}
{{ range $key, $_ := $.Values.instances }}
"{{ $key -}}": "http://{{ template "loculus.lapisServiceName" $key }}:8080"
{{ end }}
{{ end }}

{{/* generates external LAPIS urls from { config, host } */}}
{{ define "loculus.generateExternalLapisUrls"}}
{{ $host := .host }}
{{ range $key, $_ := .config.instances }}
{{ range $key, $_ := $.Values.instances }}
"{{ $key -}}": "{{ $host }}/{{ $key }}"
{{ end }}
{{ end }}
Expand Down
1 change: 0 additions & 1 deletion kubernetes/loculus/templates/loculus-website-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
) }}
{{- $externalLapisUrlConfig := dict
"host" $lapisHost
"config" $.Values
}}

---
Expand Down

0 comments on commit f439a68

Please sign in to comment.