From 4e804d113647dd2c7aa512ee9f9b210c2ee26095 Mon Sep 17 00:00:00 2001 From: April Rieger Date: Mon, 8 Jul 2024 09:41:09 -0700 Subject: [PATCH] Update the dns to reflect the clients alias of openpublishing.princeton.edu --- Dockerfile | 6 +++--- chart/princeton-manifold/templates/configmap-env.yaml | 6 +++--- ops/production-deploy.tmpl.yaml | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7004957e40..c70f18c33f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -43,9 +43,9 @@ RUN cat /dev/null > /opt/manifold/client/dist/manifold/ssr/ssr.config.js # NOTE: These are production values. They get overwritten locally. They are required to # be in the image because `yarn run build` uses them to populate browser.config.js. # @see client/script/build-browser-config.js -ENV CLIENT_BROWSER_API_CABLE_URL="https://princeton-manifold-production.softserv.cloud/cable" -ENV CLIENT_BROWSER_API_URL="https://princeton-manifold-production.softserv.cloud" -ENV DOMAIN="princeton-manifold-production.softserv.cloud" +ENV CLIENT_BROWSER_API_CABLE_URL="https://openpublishing.princeton.edu/cable" +ENV CLIENT_BROWSER_API_URL="https://openpublishing.princeton.edu" +ENV DOMAIN="openpublishing.princeton.edu" ENV SSL_ENABLED="true" RUN yarn run build diff --git a/chart/princeton-manifold/templates/configmap-env.yaml b/chart/princeton-manifold/templates/configmap-env.yaml index f05595e7e5..c14b90954c 100644 --- a/chart/princeton-manifold/templates/configmap-env.yaml +++ b/chart/princeton-manifold/templates/configmap-env.yaml @@ -12,13 +12,13 @@ data: API_CABLE_SOCKET: /manifold_sockets/manifold-cable API_PORT: "3020" API_SOCKET: /manifold_sockets/manifold-api - CLIENT_BROWSER_API_CABLE_URL: https://princeton-manifold-production.softserv.cloud/cable - CLIENT_BROWSER_API_URL: https://princeton-manifold-production.softserv.cloud + CLIENT_BROWSER_API_CABLE_URL: https://openpublishing.princeton.edu/cable + CLIENT_BROWSER_API_URL: https://openpublishing.princeton.edu CLIENT_SERVER_API_URL: http://princeton-manifold-production-api:3020 CLIENT_SERVER_PORT: "3010" CLIENT_SERVER_PROXIES: "true" CLIENT_SERVER_SOCKET: /manifold_sockets/manifold-client - DOMAIN: princeton-manifold-production.softserv.cloud + DOMAIN: openpublishing.princeton.edu ELASTICSEARCH_URL: http://princeton-manifold-production-es:9200 NODE_ENV: production RAILS_DB_HOST: princeton-manifold-production-postgresql diff --git a/ops/production-deploy.tmpl.yaml b/ops/production-deploy.tmpl.yaml index 2a1ef8d9ef..b2722a7eec 100644 --- a/ops/production-deploy.tmpl.yaml +++ b/ops/production-deploy.tmpl.yaml @@ -24,7 +24,7 @@ readinessProbe: ingress: enabled: true hosts: - - host: princeton-manifold-production.softserv.cloud + - host: openpublishing.princeton.edu paths: - path: / pathType: ImplementationSpecific @@ -34,7 +34,7 @@ ingress: cert-manager.io/cluster-issuer: "letsencrypt-prod" tls: - hosts: - - princeton-manifold-production.softserv.cloud + - openpublishing.princeton.edu secretName: production-princeton-manifold-tls redis: