Open StodaraHodan opened 4 years ago
Newer versions of heketi always require authentication unless you add a command line option to the heketi command at start up. Make sure auth is set up correctly in your configuration and that your clients are passing their auth tokens to the server as well.
With the latest heketi:dev images i get an 401 from the api.
Log of heketi pod:
[negroni] 2020-01-29T15:23:46Z | 401 | 88.364µs | 10.110.48.193:8080 | POST /volumes
I tried this https://github.com/heketi/heketi/issues/1664 but this would only fix heketi-cli access. Downgrade also did not work because database is not compatible anymore.
I tried enabling auth in heketi.json, also didn't work.
tried redeploying heketi with new database but couldn't use volumes as there are already volumes on there.
Any idea on how to get it to work in an kubernetes deployment?