Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow templateRef for Entrypoint without requiring name #12884

Open
christophenoel opened this issue Apr 4, 2024 · 0 comments
Open

Allow templateRef for Entrypoint without requiring name #12884

christophenoel opened this issue Apr 4, 2024 · 0 comments

Comments

@christophenoel
Copy link

Summary

I would like to propose a feature request for Argo Workflows. Currently, when a WorkflowStep needs to reference a template in a WorkflowTemplate, it must specify the template name explicitly using templateRef. This request is to allow a WorkflowStep to call the entrypoint of a WorkflowTemplate directly without needing to specify the template name.

Motivation

In many use cases, it is beneficial to call the entrypoint of a WorkflowTemplate from a WorkflowStep, especially in scenarios where the WorkflowTemplate is designed with a primary entrypoint that is commonly used. Having to specify the template name explicitly in each WorkflowStep can be redundant and less flexible, particularly if the WorkflowTemplate's entrypoint changes over time.

Suggested Implementation

An approach could be making template property optional, or introducing a new field or a special syntax used in combination of templateRef field that, which would automatically refer to the entrypoint of the specified WorkflowTemplate.

@christophenoel christophenoel added the type/feature Feature request label Apr 4, 2024
@agilgur5 agilgur5 changed the title Allow WorkflowStep to Call Entrypoint of WorkflowTemplate Allow templateRef for Entrypoint without requiring name Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants