apiVersion: argoproj.io/v1alpha1
kind: CronWorkflow
metadata:
  name: company-dump-sanitizer-multi-daily
  namespace: argo
spec:
  schedule: "0 4 * * *"
  timezone: Europe/Moscow
  suspend: true
  concurrencyPolicy: Forbid
  successfulJobsHistoryLimit: 10
  failedJobsHistoryLimit: 10
  workflowSpec:
    workflowTemplateRef:
      name: company-dump-sanitizer-multi
    arguments:
      parameters:
        - name: company_ids
          value: "330"
        - name: exclude_company_ids
          value: ""
        - name: auto_discover_company_ids
          value: "true"
        - name: auto_company_limit
          value: "5"
        - name: reuse_base_databases
          value: "false"
        - name: run_fk_integrity_validation
          value: "true"
        - name: fk_integrity_dbs
          value: ""
        - name: run_fk_orphan_prune
          value: "true"
        - name: bucket
          value: prod-pg-dumps
        - name: source_prefix
          value: ""
        - name: output_prefix
          value: sanitized_dumps_multi
        - name: s3_endpoint_url
          value: https://storage.yandexcloud.net
