gatling-operator icon indicating copy to clipboard operation
gatling-operator copied to clipboard

Feature request: Clean up external resources ( storage bucket ) for Gatling object

Open yokawasa opened this issue 3 years ago • 0 comments

Feature request

It's good to have an option to clean up the external resources such as the s3 bucket created for the Gatling object when the corresponding Gatling object is deleted from Kubernetes. Currently the external resources are not cleaned up.

For example, adding a new field named cleanupExternalResources in Gatling API type, if the field is set true, the controller deletes external resources for the Gatling object when the corresponding Gatling is deleted

apiVersion: gatling-operator.tech.zozo.com/v1alpha1
kind: Gatling
metadata:
  name: gatling-sample01
spec:
  generateReport: false
  notifyReport: false
  cleanupAfterJobDone: false    
  cleanupExternalResources: true <<<<  new field
...omit...

yokawasa avatar Jan 10 '22 08:01 yokawasa