We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 88184dc commit 4ebfd8dCopy full SHA for 4ebfd8d
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