Allow global admins to view deleted namespace logs

Signed-off-by: huanggze <loganhuang@yunify.com>
This commit is contained in:
huanggze
2020-07-28 11:55:17 +08:00
parent 659316da9a
commit 70d0d5fe18
7 changed files with 177 additions and 70 deletions

View File

@@ -51,7 +51,7 @@ type SearchFilter struct {
// To prevent disclosing archived logs of a reopened namespace,
// NamespaceFilter records the namespace creation time.
// Any query to this namespace must begin after its creation.
NamespaceFilter map[string]time.Time
NamespaceFilter map[string]*time.Time
WorkloadSearch []string
WorkloadFilter []string
PodSearch []string