argoproj / argoproj/argo-workflows

Add submit options when submitting through UI

Open
#2,185 8 comments 4 reactions 0 assignees View on GitHub
area/ui hacktoberfest
Dominant language
Go
Stars
17k
Forks
3.7k
Avg merge
1d 15h
Merged PRs (30d)
138

Description

When submitting resources through the CLI, there is a wide array of options. For example, for workflows:

```go
type cliSubmitOpts struct {
output string // --output
wait bool // --wait
watch bool // --watch
strict bool // --strict
priority *int32 // --priority
}
```
And in general:
```go
type SubmitOpts struct {
Name string // --name
GenerateName string // --generate-name
InstanceID string // --instanceid
Entrypoint string // --entrypoint
Parameters []string // --parameter
ParameterFile string // --parameter-file
ServiceAccount string // --serviceaccount
DryRun bool // --dry-run
ServerDryRun bool // --server-dry-run
Labels string // --labels
OwnerReference *metav1.OwnerReference // useful if your custom controller creates argo workflow resources
}
```

There is currently no way to submit with these options through the UI. We should change the UI to allow this.

Contributor guide

Open the contributing guide

Research direction

Start by comparing the UI submission flow with the Go cliSubmitOpts and SubmitOpts examples in the issue. Determine which listed options the UI should expose and how they map to submission requests; done means the UI supports the agreed options when submitting resources.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.