mirror of
https://github.com/lukaszraczylo/kubemirror.git
synced 2026-07-04 15:45:15 +00:00
Add lazy watcher, improving resource usage; update website.
This commit is contained in:
@@ -67,6 +67,7 @@ func TestIsDeniedResourceType(t *testing.T) {
|
||||
{name: "Lease", kind: "Lease", want: true},
|
||||
{name: "Namespace", kind: "Namespace", want: true},
|
||||
{name: "ClusterRole", kind: "ClusterRole", want: true},
|
||||
{name: "Certificate", kind: "Certificate", want: true}, // cert-manager resources are denied
|
||||
|
||||
// Should NOT be denied
|
||||
{name: "Secret", kind: "Secret", want: false},
|
||||
@@ -76,7 +77,6 @@ func TestIsDeniedResourceType(t *testing.T) {
|
||||
{name: "Deployment", kind: "Deployment", want: false},
|
||||
{name: "StatefulSet", kind: "StatefulSet", want: false},
|
||||
{name: "Middleware", kind: "Middleware", want: false},
|
||||
{name: "Certificate", kind: "Certificate", want: false},
|
||||
}
|
||||
|
||||
for _, tt := range tests {
|
||||
|
||||
Reference in New Issue
Block a user