Skip to content

Commit

Permalink
fix: Setup test env for beta channel
Browse files Browse the repository at this point in the history
  • Loading branch information
emmanue committed Oct 28, 2023
1 parent 17358bc commit 13eef9c
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
12 changes: 10 additions & 2 deletions deployment/overlays/test/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
1 change: 1 addition & 0 deletions deployment/overlays/test/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ bases:
- ../../base
patchesStrategicMerge:
- deployment.yaml
- mapping.yaml
# - database-connection-sealed-secret.yaml
7 changes: 7 additions & 0 deletions deployment/overlays/test/mapping.yaml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 13eef9c

Please sign in to comment.