auto delete pod
This commit is contained in:
parent
f8346a8776
commit
8892d38463
@ -114,5 +114,12 @@ podTemplate(
|
||||
dockerFile: dockerFile,
|
||||
repoCreds: repositoryCreds,
|
||||
)
|
||||
|
||||
functions.deletePod(
|
||||
kubeAuth: "rancher-admin-token",
|
||||
kubeURL: "https://rancher.test-chamber-13.lan/k8s/clusters/c-mc9cq",
|
||||
namespace: "game-servers",
|
||||
selector: "workload.user.cattle.io/workloadselector=apps.deployment-game-servers-factorio"
|
||||
)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user