I am trying to deploy a Self-Hosted Trigger v3 in Kubernetes. I have successfully deployed the Web App (can access the dashboard) and Coordinator. Only the Kuberntes Provider is not working due to some error. Here are some possible related logs:
Web App
[Jul 22 2024 14:14:10 GMT+0800] trigger-v3-kapitol-prod-86b94bdc8c-kb9lw: Attemping to upgrade connection at url /socket.io/?EIO=4&transport=websocket with headers: {"x-trigger-provider-type":"kubernetes","sec-websocket-version":"13","sec-websocket-key":"X33tdG4T2/xYJb+gYnM0iw==","connection":"Upgrade","upgrade":"websocket","sec-websocket-extensions":"permessage-deflate; client_max_window_bits","host":"trigger-v3-kapitol-prod-service"}
[Jul 22 2024 14:14:10 GMT+0800] trigger-v3-kapitol-prod-86b94bdc8c-kb9lw: Socket.io client connected, upgrading their connection...
[Jul 22 2024 14:14:10 GMT+0800] trigger-v3-kapitol-prod-86b94bdc8c-kb9lw: {"socketId":"xwPQmlnWaIBltAAnAAAD","socketStage":"auth","timestamp":"2024-07-22T06:14:10.346Z","name":"provider","message":"invalid token","level":"error"}
[Jul 22 2024 14:14:10 GMT+0800] trigger-v3-kapitol-prod-86b94bdc8c-kb9lw: {"socketId":"sWsVHejGpjoosJMXAAAE","socketStage":"auth","timestamp":"2024-07-22T06:14:10.347Z","name":"shared-queue","message":"invalid token","level":"error"}
[Jul 22 2024 14:14:10 GMT+0800] trigger-v3-kapitol-prod-86b94bdc8c-kb9lw: {"pattern":"marqs:*sharedQueue","component":"marqs","operation":"rebalanceParentQueues","service":"marqs","timestamp":"2024-07-22T06:14:10.544Z","name":"webapp","message":"Streaming parent queues based on pattern","level":"debug"}
How do I fix the "invalid token" error here? Or what should be the values for the PLATFORM_SECRET which causes the error?
The current setup has the same values for the PLATFORM_SECRET in the web app and the PROVIDER_SECRET in the kubernetes-provider.