Я слежу за примерами на Argo GitHub, но не могу изменить параметр сообщения, когда перемещаю шаблон по шагам.
apiVersion: argoproj.io/v1alpha1
kind: Workflow
metadata:
generateName: hello-world-parameters-
spec:
# invoke the whalesay template with
# "hello world" as the argument
# to the message parameter
entrypoint: entry-point
templates:
- name: entry-point
steps:
- - name: print-message
template: whalesay
arguments:
parameters:
- name: message
value: hello world
- name: whalesay
inputs:
parameters:
- name: message # parameter declaration
container:
# run cowsay with that message input parameter as args
image: docker/whalesay
command: [cowsay]
args: ["{{inputs.parameters.message}}"]
Если я отправляю рабочий процесс с помощью следующей команды:
argo submit .\workflow.yml -p message="goodbye world"
Это все еще печатает привет мир, а не прощальный мир. Не уверен, почему