update webapp

This commit is contained in:
Tom Hodson 2025-04-15 13:50:01 +00:00
parent c3556ce6fa
commit 251bec14fc
3 changed files with 10 additions and 1 deletions

View File

@ -24,6 +24,8 @@ spec:
secretKeyRef:
name: api-key
key: API_KEY
- name: API_URL
value: "https://{{ .Values.ingress.hostname }}/api/v1/stac/climate-dt/"
ports:
- containerPort: {{ .Values.stacServer.servicePort }}
---

View File

@ -1,3 +1,2 @@
# kubectl rollout restart deployment/redis
kubectl -n qubed rollout restart deployment/web-query-builder
kubectl -n qubed rollout restart deployment/stac-server

View File

@ -74,6 +74,14 @@ else:
timeout=1,
).json()
)
qubes["od"] = Qube.from_json(
requests.get(
"https://github.com/ecmwf/qubed/raw/refs/heads/main/tests/example_qubes/od.json",
timeout=1,
).json()
)
qubes["climate-dt"] = qubes["climate-dt"] | qubes["extremes-dt"] | qubes["od"]
mars_language = yaml.safe_load(
requests.get(
"https://github.com/ecmwf/qubed/raw/refs/heads/main/config/climate-dt/language.yaml",