Closed MUzairS15 closed 2 weeks ago
When used with docker, it just skips the protforward logic and directly opens the browser at endpoint
as specified in mesheryctl context.
// @Jougan-0 You can quickly update, to add a warning message stating the flag is for when meshery is deployed on kubernetes platform
before continuing to open the browser.
Notes for Reviewers
This PR fixes #
mesheryctl system start
command is run using theMESHERY_SERVER_CALLBACK_URL
env var, the variable is not set inside the container.port-forward
flag, a random port is chosen on the host device, and traffic is then directed to the server within the Pod. This presents challenges in specifying a custom value forMESHERY_SERVER_CALLBACK_URL
, as this value must be provided at server startup. The PR ensures that whatever value is assigned to the environment variable, theport-forward
will correctly forward to the corresponding value of the environment variable<host:port>
.Signed commits