sensu / uchiwa-chef

Other
33 stars 40 forks source link

Support Disabling uchiwa auth #59

Open nishiki opened 6 years ago

nishiki commented 6 years ago

Hi, I use an oauth2 proxy in front of uchiwa to identify my users, i don't need a second authentication layer. My problem is the uchiwa cookbook forces me to use uchiwa authentication. While i could do a recipe who unsets theses attributes that would be a hack.

Perhaps you could remove default['uchiwa']['settings']['user'] = 'admin' and default['uchiwa']['settings']['pass'] = 'supersecret' in attributes/default.rb ?

Regards

majormoses commented 5 years ago

could you not set it to nil? I think the cookbook checks if its nil

majormoses commented 5 years ago

I lied it does not support it: https://github.com/sensu/uchiwa-chef/pull/57