auto delete pod

This commit is contained in:
Hyatt 2022-01-28 10:40:25 -06:00
parent f8346a8776
commit 8892d38463
Signed by: nhyatt
GPG Key ID: C50D0BBB5BC40BEA

View File

@ -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"
)
}
}