mirror of
https://github.com/lukaszraczylo/kubemirror.git
synced 2026-07-10 21:43:14 +00:00
Fix the last tests
This commit is contained in:
@@ -580,6 +580,9 @@ func TestSourceReconciler_Reconcile_AnnotationChange_AllToAllLabeled(t *testing.
|
|||||||
constants.AnnotationSync: "true",
|
constants.AnnotationSync: "true",
|
||||||
constants.AnnotationTargetNamespaces: "all-labeled", // Changed from "all"
|
constants.AnnotationTargetNamespaces: "all-labeled", // Changed from "all"
|
||||||
},
|
},
|
||||||
|
"finalizers": []interface{}{
|
||||||
|
constants.FinalizerName,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
"data": map[string]interface{}{
|
"data": map[string]interface{}{
|
||||||
"password": "c2VjcmV0",
|
"password": "c2VjcmV0",
|
||||||
@@ -707,6 +710,9 @@ func TestSourceReconciler_Reconcile_AnnotationChange_PatternChange(t *testing.T)
|
|||||||
constants.AnnotationSync: "true",
|
constants.AnnotationSync: "true",
|
||||||
constants.AnnotationTargetNamespaces: "prod-*", // Changed from "app-*"
|
constants.AnnotationTargetNamespaces: "prod-*", // Changed from "app-*"
|
||||||
},
|
},
|
||||||
|
"finalizers": []interface{}{
|
||||||
|
constants.FinalizerName,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
"data": map[string]interface{}{
|
"data": map[string]interface{}{
|
||||||
"key": "value",
|
"key": "value",
|
||||||
|
|||||||
Reference in New Issue
Block a user