Skip to content

Commit

Permalink
Merge pull request #41 from webzard-io/bowen/cascading-deletion
Browse files Browse the repository at this point in the history
enable cascading deletion
  • Loading branch information
MrWindlike authored Apr 10, 2024
2 parents 81f293b + 21bc022 commit d1c5c4c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/kube-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -833,6 +833,14 @@ export class KubeSdk {
.delete(url, {
timeout: this.kubeApiTimeout,
retry: 0,
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
kind: 'DeleteOptions',
apiVersion: 'batch/v1',
propagationPolicy: 'Background',
}),
})
.json();

Expand Down

0 comments on commit d1c5c4c

Please sign in to comment.