diff --git a/deployment/overlays/test/deployment.yaml b/deployment/overlays/test/deployment.yaml index 741c62271..8a26854aa 100644 --- a/deployment/overlays/test/deployment.yaml +++ b/deployment/overlays/test/deployment.yaml @@ -14,5 +14,13 @@ spec: containers: - name: treetracker-web-map-client env: - - name: NODE_ENV - value: test + - name: NEXT_PUBLIC_API + value: https://test-k8s.treetracker.org/query + - name: NEXT_PUBLIC_TILE_SERVER_URL + value: https://{s}.treetracker.org/tiles/ + - name: NEXT_PUBLIC_TILE_SERVER_SUBDOMAINS + value: test-k8s + - name: NEXT_PUBLIC_TILE_SERVER_WEBMAP_API + value: https://test-k8s.treetracker.org/webmap/ + - name: NEXT_PUBLIC_COUNTRY_LEADER_BOARD_DISABLED + value: 'false' diff --git a/deployment/overlays/test/kustomization.yaml b/deployment/overlays/test/kustomization.yaml index 278f61487..e20e9a48b 100644 --- a/deployment/overlays/test/kustomization.yaml +++ b/deployment/overlays/test/kustomization.yaml @@ -2,4 +2,5 @@ bases: - ../../base patchesStrategicMerge: - deployment.yaml + - mapping.yaml # - database-connection-sealed-secret.yaml diff --git a/deployment/overlays/test/mapping.yaml b/deployment/overlays/test/mapping.yaml new file mode 100644 index 000000000..4a7009c09 --- /dev/null +++ b/deployment/overlays/test/mapping.yaml @@ -0,0 +1,7 @@ +apiVersion: getambassador.io/v2 +kind: Mapping +metadata: + name: treetracker-web-map-client-beta-be-api + namespace: webmap +spec: + host: beta-test.treetracker.org