yaml
type: "io.kestra.plugin.core.namespace.PurgeFiles"
yaml
id: purge_namespace_files
namespace: system

tasks:
  - id: purge_files
    type: io.kestra.plugin.core.namespace.PurgeFiles
    namespaces:
      - company
    includeChildNamespaces: true
    filePattern: "**/*.sql"
    behavior:
      type: version
      before: "2025-01-01T00:00:00Z"
Properties
Default{"type":"version","keepAmount":1}
Definitions
Defaulttrue
SubTypestring