fix bug can not delete notification secret
Signed-off-by: wanjunlei <wanjunlei@yunify.com>
This commit is contained in:
@@ -111,6 +111,7 @@ func TestOperator_Create(t *testing.T) {
|
||||
Name: "test",
|
||||
Namespace: constants.NotificationSecretNamespace,
|
||||
Labels: map[string]string{
|
||||
"type": "global",
|
||||
constants.NotificationManagedLabel: "true",
|
||||
},
|
||||
},
|
||||
@@ -119,6 +120,7 @@ func TestOperator_Create(t *testing.T) {
|
||||
ObjectMeta: metav1.ObjectMeta{
|
||||
Name: "test",
|
||||
Labels: map[string]string{
|
||||
"type": "global",
|
||||
constants.NotificationManagedLabel: "true",
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user