permitio / opal-helm-chart

You know, for Kubernetes
Apache License 2.0
21 stars 22 forks source link

Opal_client to use external link for "OPAL_SERVER_URL" #63

Open atanu-debnath opened 1 month ago

atanu-debnath commented 1 month ago

Is it possible to update the ENV variable of "OPAL_SERVER_URL" with an external url like below

Client end ENV variable: OPAL_SERVER_URL: https://opal-server.example.com

As when I am trying to connect with an external url with https or http protocol it gives an error message

Error message:

INFO | Trying server - wss://opal-server.example.com/ws ERROR | RPC Error

atanu-debnath commented 1 month ago

In Kubernetes by default it picks the internal service and port number.

OPAL_SERVER_URL: http://opal-server:7002

but what if we need to have a scenario like this "OPAL_SERVER_URL: https://opal-server.example.com/"

Will it work ?