Add status conditions to namespaces

This commit is contained in:
Jan Wozniak
2019-05-14 16:20:50 +02:00
parent acf5411774
commit 94a5e8c3dc
6 changed files with 271 additions and 7 deletions

View File

@@ -145,7 +145,7 @@ func (nm *NamespaceController) worker() {
} else {
// rather than wait for a full resync, re-add the namespace to the queue to be processed
nm.queue.AddRateLimited(key)
utilruntime.HandleError(err)
utilruntime.HandleError(fmt.Errorf("deletion of namespace %v failed: %v", key, err))
}
return false
}