Skip to content
Discussion options

You must be logged in to vote

@jeongsik-woo

arguments and parameters are not in the CronWorkflowSpec.

https://argo-workflows.readthedocs.io/en/latest/fields/#cronworkflowspec

However, moving arguments and parameters inside workflowSpec and separating the arguments would work.

apiVersion: argoproj.io/v1alpha1
kind: CronWorkflow
metadata:
  name: batch-dev
spec:
  schedule: "0 */6 * * *"
  concurrencyPolicy: "Forbid"
  workflowSpec:
    serviceAccountName: admin
    entrypoint: batch
    arguments:
      parameters:
        - name: forceGenerateCreatives
          value: "false"
        - name: uid
          value: ""
    templates:
      - name: batch
        retryStrategy:
          limit: "2"
          retryPolicy: "A…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jeongsik-woo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants