We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6843868 commit d782374Copy full SHA for d782374
frontend/providers/kubepanel/src/utils/yaml.ts
@@ -9,5 +9,11 @@ export function dumpKubeObject<K extends KubeObject = KubeObject>(obj: PartialDe
9
objWithoutFunction[key] = value;
10
}
11
12
+
13
+ // Remove managedFields from metadata if it exists
14
+ if (objWithoutFunction.metadata && objWithoutFunction.metadata.managedFields) {
15
+ delete objWithoutFunction.metadata.managedFields;
16
+ }
17
18
return dump(objWithoutFunction);
19
0 commit comments