canonical / dex-auth-operator

Operator for Dex Auth
Apache License 2.0
3 stars 14 forks source link

refactor: generate dex-auth configuration outside of update_layer() #157

Closed DnPlas closed 11 months ago

DnPlas commented 11 months ago

Generate dex-auth configuration outside of update_layer() will allow us to have error handling when checking for certain conditions of the configurations without cluttering too much the update_layer() method.

This commit also adds unit tests for the helper method that's used for generating the aforementioned configuration.