Can a WorkflowTemplate reference another WorkflowTemplate? #13221
Unanswered
almirmcunhajr
asked this question in
Q&A
Replies: 2 comments 2 replies
-
can you paste the cd workflowtemplate? |
Beta Was this translation helpful? Give feedback.
2 replies
-
However, Updated version of your apiVersion: argoproj.io/v1alpha1
kind: WorkflowTemplate
metadata:
name: actions-playground-cd
spec:
entrypoint: main
templates:
- name: main
steps:
- - name: cd-step
templateRef:
name: cd # Other WorkflowTemplate name
template: main # Other WorkflowTemplate entrypoint
arguments:
parameters:
- name: slack-channel
value: "" Other apiVersion: argoproj.io/v1alpha1
kind: WorkflowTemplate
metadata:
name: cd
spec:
entrypoint: main
arguments:
parameters:
- name: slack-channel
value: ""
templates:
- name: main
inputs:
parameters:
- name: slack-channel
container:
image: busybox
command: [echo]
args: ["{{inputs.parameters.slack-channel}}"] Resources
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I’ve tried to create a WorkflowTemplate that references another WorkflowTemplate, but it doesn’t seem to work. When I submit it, It fails requiring me to provide an entrypoint. However, the cd WorkflowTemplate has an entrypoint configured.
Beta Was this translation helpful? Give feedback.
All reactions