rahuldstk opened a new issue, #467:
URL: https://github.com/apache/pulsar-helm-chart/issues/467

   i have used pulsar-3.3.0  in my Kubernetes cluster and all the pods are 
running included the pulsar-manager-0.  i changed the service type to 
LoadBalancer of the service: pulsar-pulsar-manager.
    in the yaml :
   ` admin:
       ui_username: "pulsar"
       ui_password: "pulsarpassword" # leave empty for random password
       db_username: "pulsar"
       db_password: "pulsarpasswordDB" # leave empty for random password`
   i have given. but when i try to login using the UI with the above 
credentials , i am not able to login and its saying "The username or password 
is incorrect".
   
   in yaml there is a command: kubectl get secret -l component=pulsar-manager 
-o=jsonpath="{.items[0].data.UI_PASSWORD}" | base64 --decode
   but this is not returning anything but throwing an error saying: 
   error: error executing jsonpath "{.items[0].data.UI_PASSWORD}": Error 
executing template: array index out of bounds: index 0, length 0. Printing more 
information for debugging the template:
           template was:
                   {.items[0].data.UI_PASSWORD}
           object given to jsonpath engine was:
                   map[string]interface {}{"apiVersion":"v1", 
"items":[]interface {}{}, "kind":"List", "metadata":map[string]interface 
{}{"resourceVersion":"", "selfLink":""}}
   
   
   **To Reproduce**
   Steps to reproduce the behavior:
   1. login to cluster.
   2. git clone -b pulsar-3.3.0 https://github.com/apache/pulsar-helm-chart.git
   3.  go to pulsar-helm-chart folder
   4.  ./scripts/pulsar/prepare_helm_release.sh -n pulsar -k pulsar //pulsar is 
a namespace already created.
   5. helm install --set initialize=true pulsar apache/pulsar -n pulsar 
-f./charts/pulsar/values.yaml
   6. in services, find pulsar-pulsar-manager service and make its type as 
LoadBalancer which will give a IP
   7.  open this IP and we can see admin pulsar UI login page
   8. use the credentials we gave in pulsar yaml and click login
   
   **Expected behavior**
   should be allowed to login and see the UI with namespace and tenants options.
   
   
   **Desktop 
    - windows
   
   
   


-- 
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: commits-unsubscr...@pulsar.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to