Can a WorkflowTemplate reference another WorkflowTemplate? #13221
Replies: 3 comments 2 replies
-
can you paste the cd workflowtemplate? |
Beta Was this translation helpful? Give feedback.
-
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.
-
Considering that some teams set |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
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