jazzshu opened a new issue, #585:
URL: https://github.com/apache/pulsar-manager/issues/585

   I've deployed pulsar-manager in my kubernetes environment accessible through 
an Ingress. Problem is that only one user at a time is allowed to access the 
Admin UI. Therefore I wanted to experiment with Casdoor SSO to see if it would 
solve the issue.
   
   I deployed Casdoor on a separate namespace using the Helm chart, created 
Organization and Application. 
   
   I was able to set these config for the backend by injecting them in the 
Configmap of the pulsar manager app. 
   
   But for the frontend, how am I supposed to inject these values if they're 
hardcoded? Isn't it possible to parametrize these values? I don't want to build 
a custom Docker image just for this. 
   
   This is what I'm referring to: 
https://github.com/apache/pulsar-manager/tree/master#step4-configure-front-end-code
   
   This part is hardcoded in the frontend code:
   
   ```js
   const config = {
     serverUrl: "http://localhost:7001";,
     clientId: "6ba06c1e1a30929fdda7",
     organizationName: "pulsar",
     appName: "app-plusar",
     redirectPath: "/#callback",
   };
   ```
   
   I need to change serverUrl, clientId, organizationName and appName. Why am I 
not allowed to do this through env variables?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to