internal: update tenant certificates on outpost refresh
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
@ -44,6 +44,7 @@ func (w *Watcher) Start() {
|
||||
}
|
||||
|
||||
func (w *Watcher) Check() {
|
||||
w.log.Info("updating tenant certificates")
|
||||
tenants, _, err := w.client.CoreApi.CoreTenantsListExecute(api.ApiCoreTenantsListRequest{})
|
||||
if err != nil {
|
||||
w.log.WithError(err).Warning("failed to get tenants")
|
||||
|
Reference in New Issue
Block a user