Delete PVC
parent
1051a8c125
commit
ecd865f092
|
|
@ -1083,6 +1083,7 @@ class Kubernetes {
|
|||
static cleanup() {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
yield this.kubeClientBatch.deleteNamespacedJob(this.jobName, this.namespace);
|
||||
yield this.kubeClient.deletePersistentVolume(this.pvcName, this.namespace);
|
||||
yield this.kubeClient.deleteNamespacedSecret(this.secretName, this.namespace);
|
||||
});
|
||||
}
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -378,6 +378,7 @@ class Kubernetes {
|
|||
|
||||
static async cleanup() {
|
||||
await this.kubeClientBatch.deleteNamespacedJob(this.jobName, this.namespace);
|
||||
await this.kubeClient.deletePersistentVolume(this.pvcName, this.namespace);
|
||||
await this.kubeClient.deleteNamespacedSecret(this.secretName, this.namespace);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue