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

Feature Request: Support File Upload Parameter #14146

Open
jackivanov opened this issue Feb 3, 2025 · 1 comment
Open

Feature Request: Support File Upload Parameter #14146

jackivanov opened this issue Feb 3, 2025 · 1 comment
Labels
area/controller Controller issues, panics type/feature Feature request

Comments

@jackivanov
Copy link

Summary

Introduce a new parameter type: file upload. This parameter allows users to upload a file through the "Submit Workflow" UI panel or using argo cli. The uploaded file is automatically stored in the configured artifact storage and can be accessed within the workflow for processing.

parameters:
  - name: file
    valueFrom:
        upload: {}

Use Cases

  1. Data Processing Workflows – Users can upload CSVs, JSON files, or other datasets that the workflow processes.
  2. Model Training Pipelines – Users can provide training data directly from their local machine.
  3. Configuration-based Jobs – Workflows that require YAML, JSON, or other config files can accept these dynamically during submission.
  4. Secure and Temporary File Handling – No need to pre-stage files in external storage; files are uploaded only when a workflow is submitted.

Proposed UI/UX

  • The "Submit Workflow" side panel will include an "Upload File" button next to parameters of this type.
  • The selected file will be uploaded to the configured artifact repository.
  • The workflow will receive a reference (e.g., S3 URL, MinIO path) to access the file.

Message from the maintainers:

Love this feature request? Give it a 👍. We prioritise the proposals with the most 👍.

@jackivanov jackivanov added the type/feature Feature request label Feb 3, 2025
@jackivanov jackivanov changed the title Feature Request: Support File Upload Parameter in "Submit Workflow" UI Feature Request: Support File Upload Parameter Feb 3, 2025
@shuangkun
Copy link
Member

It sounds reasonable. Since the parameters can be changed when submitting the workflow, it seems that the file parameters should also be able to be changed.

@shuangkun shuangkun added the area/controller Controller issues, panics label Feb 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/controller Controller issues, panics type/feature Feature request
Projects
None yet
Development

No branches or pull requests

2 participants