Commit 8a6a2883 authored by Kevin Wiesmüller's avatar Kevin Wiesmüller

test that managedFields get stripped recursively

parent d73dbfc8
......@@ -82,7 +82,18 @@ func TestApplyStripsFields(t *testing.T) {
"uid": "b",
"clusterName": "b",
"generation": 0,
"managedFields": [],
"managedFields": [{
"manager": "apply",
"operation": "Apply",
"apiVersion": "v1",
"fields": {
"f:metadata": {
"f:labels": {
"f:test-label": {}
}
}
}
}],
"resourceVersion": "b"
}
}`), false)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment