mirror of
https://github.com/rancher/types.git
synced 2025-06-23 20:27:05 +00:00
Add timeout and wait to apps
Added timeout and wait fields to apps. Prior, there was no way for rancher to utilize helm's timeout and wait flags. Now, values for these flags can be read from and assigned to their respective app fields.
This commit is contained in:
parent
897c9b5d95
commit
bcc4494b9a
@ -23,6 +23,8 @@ type AppSpec struct {
|
||||
ExternalID string `json:"externalId,omitempty"`
|
||||
Files map[string]string `json:"files,omitempty"`
|
||||
Answers map[string]string `json:"answers,omitempty"`
|
||||
Wait bool `json:"wait,omitempty"`
|
||||
Timeout int `json:"timeout,omitempty" norman:"min=1,default=300"`
|
||||
AppRevisionName string `json:"appRevisionName,omitempty" norman:"type=reference[/v3/project/schemas/apprevision]"`
|
||||
Prune bool `json:"prune,omitempty"`
|
||||
MultiClusterAppName string `json:"multiClusterAppName,omitempty" norman:"type=reference[/v3/schemas/multiclusterapp]"`
|
||||
|
Loading…
Reference in New Issue
Block a user