Skip to content

Commit 99b2880

Browse files
committed
fix(helm): remove unused NEXT_PUBLIC_SOCKET_URL from realtime sections
The realtime service never reads NEXT_PUBLIC_SOCKET_URL — its env schema only includes BETTER_AUTH_URL, NEXT_PUBLIC_APP_URL, ALLOWED_ORIGINS, BETTER_AUTH_SECRET, INTERNAL_API_SECRET, DATABASE_URL, and REDIS_URL. Remove the dead config from all helm values files and the values schema.
1 parent 5420245 commit 99b2880

11 files changed

Lines changed: 0 additions & 15 deletions

helm/sim/examples/values-aws.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ realtime:
8484
env:
8585
NEXT_PUBLIC_APP_URL: "https://simstudio.acme.com"
8686
BETTER_AUTH_URL: "https://simstudio.acme.com"
87-
NEXT_PUBLIC_SOCKET_URL: "https://simstudio-ws.acme.com"
8887
BETTER_AUTH_SECRET: "your-secure-production-auth-secret-here"
8988
ALLOWED_ORIGINS: "https://simstudio.acme.com"
9089
NODE_ENV: "production"

helm/sim/examples/values-azure.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@ realtime:
9393
env:
9494
NEXT_PUBLIC_APP_URL: "https://simstudio.acme.com"
9595
BETTER_AUTH_URL: "https://simstudio.acme.com"
96-
NEXT_PUBLIC_SOCKET_URL: "https://simstudio-ws.acme.com"
9796
BETTER_AUTH_SECRET: "your-secure-production-auth-secret-here"
9897
ALLOWED_ORIGINS: "https://simstudio.acme.com"
9998
NODE_ENV: "production"

helm/sim/examples/values-development.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ realtime:
5353
env:
5454
NEXT_PUBLIC_APP_URL: "http://localhost:3000"
5555
BETTER_AUTH_URL: "http://localhost:3000"
56-
NEXT_PUBLIC_SOCKET_URL: "http://localhost:3002"
5756
BETTER_AUTH_SECRET: "dev-32-char-auth-secret-not-secure-dev"
5857
ALLOWED_ORIGINS: "http://localhost:3000"
5958

helm/sim/examples/values-existing-secret.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ realtime:
2323
env:
2424
NEXT_PUBLIC_APP_URL: "https://sim.example.com"
2525
BETTER_AUTH_URL: "https://sim.example.com"
26-
NEXT_PUBLIC_SOCKET_URL: "wss://sim-ws.example.com"
2726
ALLOWED_ORIGINS: "https://sim.example.com"
2827
NODE_ENV: "production"
2928

helm/sim/examples/values-external-db.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ realtime:
5555
env:
5656
NEXT_PUBLIC_APP_URL: "https://simstudio.acme.com"
5757
BETTER_AUTH_URL: "https://simstudio.acme.com"
58-
NEXT_PUBLIC_SOCKET_URL: "https://simstudio-ws.acme.com"
5958
BETTER_AUTH_SECRET: "" # Must match main app secret - set via --set flag
6059
ALLOWED_ORIGINS: "https://simstudio.acme.com"
6160
NODE_ENV: "production"

helm/sim/examples/values-external-secrets.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ realtime:
3737
env:
3838
NEXT_PUBLIC_APP_URL: "https://sim.example.com"
3939
BETTER_AUTH_URL: "https://sim.example.com"
40-
NEXT_PUBLIC_SOCKET_URL: "wss://sim-ws.example.com"
4140
ALLOWED_ORIGINS: "https://sim.example.com"
4241
NODE_ENV: "production"
4342

helm/sim/examples/values-gcp.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ realtime:
7070
env:
7171
NEXT_PUBLIC_APP_URL: "https://simstudio.acme.com"
7272
BETTER_AUTH_URL: "https://simstudio.acme.com"
73-
NEXT_PUBLIC_SOCKET_URL: "https://simstudio-ws.acme.com"
7473
BETTER_AUTH_SECRET: "your-secure-production-auth-secret-here"
7574
ALLOWED_ORIGINS: "https://simstudio.acme.com"
7675
NODE_ENV: "production"

helm/sim/examples/values-production.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ realtime:
6464
env:
6565
NEXT_PUBLIC_APP_URL: "https://sim.acme.ai"
6666
BETTER_AUTH_URL: "https://sim.acme.ai"
67-
NEXT_PUBLIC_SOCKET_URL: "https://sim-ws.acme.ai"
6867
BETTER_AUTH_SECRET: "your-production-auth-secret-here"
6968
ALLOWED_ORIGINS: "https://sim.acme.ai"
7069

helm/sim/examples/values-whitelabeled.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ realtime:
4747
env:
4848
NEXT_PUBLIC_APP_URL: "https://sim.acme.ai"
4949
BETTER_AUTH_URL: "https://sim.acme.ai"
50-
NEXT_PUBLIC_SOCKET_URL: "https://sim-ws.acme.ai"
5150
BETTER_AUTH_SECRET: "your-production-auth-secret-here"
5251
ALLOWED_ORIGINS: "https://sim.acme.ai"
5352

helm/sim/values.schema.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -382,11 +382,6 @@
382382
"format": "uri",
383383
"description": "Authentication service URL"
384384
},
385-
"NEXT_PUBLIC_SOCKET_URL": {
386-
"type": "string",
387-
"format": "uri",
388-
"description": "Public socket URL"
389-
},
390385
"ALLOWED_ORIGINS": {
391386
"type": "string",
392387
"description": "CORS allowed origins"

0 commit comments

Comments
 (0)