We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 88184dc + 4ebfd8d commit 0cb7802Copy full SHA for 0cb7802
examples/patch-example.js
@@ -20,7 +20,7 @@ try {
20
21
await k8sApi.patchNamespacedPod(
22
{ name: res?.items?.[0]?.metadata?.name ?? '', namespace, body: patch },
23
- k8s.setHeaderOptions('Content-Type', k8s.JsonPatch),
+ k8s.setHeaderOptions('Content-Type', k8s.PatchStrategy.JsonPatch),
24
);
25
26
console.log('Patched.');
0 commit comments