chartmuseum / charts

ChartMuseum Project Helm Charts
https://artifacthub.io/packages/search?repo=chartmuseum
54 stars 57 forks source link

Basic Authentication not working #45

Open Ramki33 opened 2 years ago

Ramki33 commented 2 years ago

Hi ,

we are using package Version: Chartmuseum helm chart version: 3.7.1 Chartmuseum image version: 0.13.1

we tested Basic Authentication as given in this page by creating secreate https://github.com/chartmuseum/charts/tree/main/src/chartmuseum#authentication

kubectl create secret generic chartmuseum-secret --from-literal="basic-auth-user=curator" --from-literal="basic-auth-pass=mypassword"

We see following 2 problems : when we open https://chartmuseum.apps.XXXX.com/api/charts from browser

  1. 1st time browser ask for user/pass but on 2nd time even when browser is closed and re-open its not asking for user/pass .. looks session remember user /pass for longer duration

  2. We changed the pass , but still browser able to connect and show the data with old pass !!

    Let us know how to fix this issue

Regards Ramki

Ramki33 commented 2 years ago

HI , Any one had seen this issue and solved . let me know