diff --git a/deployments/configmap.yaml b/deployments/configmap.yaml index 4708a9e..7c3fc82 100644 --- a/deployments/configmap.yaml +++ b/deployments/configmap.yaml @@ -5,5 +5,6 @@ metadata: data: config.json: | { - "ENV": "test" + "ENV": "test", + "ETHJSONRPCURL": "${ETHJSONRPCURL}" } diff --git a/deployments/deployment.yaml b/deployments/deployment.yaml index 12047d8..71da5a6 100644 --- a/deployments/deployment.yaml +++ b/deployments/deployment.yaml @@ -19,7 +19,7 @@ spec: command: - /app/bootstrap.sh - --conf=/app/config/config.json - image: registry.digitalocean.com/francisco/token-gateway:20240521213407 + image: registry.digitalocean.com/francisco/token-gateway:20240521231755 resources: {} ports: - containerPort: 8080 diff --git a/deployments/token-gateway-ingress.yaml b/deployments/token-gateway-ingress.yaml index 32ebc2b..7b4296a 100644 --- a/deployments/token-gateway-ingress.yaml +++ b/deployments/token-gateway-ingress.yaml @@ -8,6 +8,13 @@ spec: - host: cxlinks.us http: paths: + - path: /v1 + pathType: Prefix + backend: + service: + name: coin-gateway-svc + port: + number: 8080 - path: / pathType: Prefix backend: diff --git a/script/dockerbuild.sh b/script/dockerbuild.sh old mode 100644 new mode 100755