Welcome to the Linux Foundation Forum!

Lab 4.2 - A Simple DAG Workflow: apply workflow with generate name

dag-workflow.yaml

apiVersion: argoproj.io/v1alpha1
kind: Workflow
metadata:
  generateName: dag-diamond-
  namespace: argo
...

Applying the yaml returns the following error

$ kubectl apply -f dag-workflow.yaml
error: from dag-diamond-: cannot use generate name with apply

I addressed this with the following change
generateName: dag-diamond- to name: dag-diamond

Comments

  • mstepien
    mstepien Posts: 462

    Hi @johchung,

    Thank you for flagging this. The course has been updated.

    Best regards,
    Magda

Categories

Upcoming Training