st-tech / gatling-operator

Automating distributed Gatling load testing using Kubernetes operator
MIT License
68 stars 21 forks source link

add CleanupGatlingResourceAfterJobDone #15

Closed ksudate closed 2 years ago

ksudate commented 2 years ago

Description

fix for the https://github.com/st-tech/gatling-operator/issues/5

This change allows you to specify whether or not to delete the Gatling resource in CleanupGatlingResourceAfterJobDone.

This PR change is related to https://github.com/st-tech/gatling-operator/issues/14. As isuue, in the current situation, if you delete the gatling resource, you will get an error.

Test

Set cleanupGatlingResourceAfterJobDone to true, deployed the sample manifest, and confirmed that the Gatling resource will be removed after the job is completed.