start end operator in test

Signed-off-by: Anshul Ahuja <anshulahuja@microsoft.com>
This commit is contained in:
Anshul Ahuja
2023-07-13 09:44:03 +05:30
parent ce7d2bfc87
commit 4a28b3b16f

View File

@@ -185,7 +185,7 @@ func TestResourceModifiers_ApplyResourceModifierRules(t *testing.T) {
{
Conditions: Conditions{
GroupKind: "deployments.apps",
ResourceNameRegex: "test-.*",
ResourceNameRegex: "^test-.*$",
Namespaces: []string{"foo"},
},
Patches: []JSONPatch{