Add Suspend field to spec
Signed-off-by: Michael Bridgen <michael@weave.works>
This commit is contained in:
parent
0b4914aa4b
commit
5cac345a43
|
|
@ -40,6 +40,11 @@ type ImageUpdateAutomationSpec struct {
|
|||
// Commit specifies how to commit to the git repo
|
||||
// +required
|
||||
Commit CommitSpec `json:"commit"`
|
||||
|
||||
// Suspend tells the controller to not run this automation, until
|
||||
// it is unset (or set to false). Defaults to false.
|
||||
// +optional
|
||||
Suspend bool `json:"suspend,omitempty"`
|
||||
}
|
||||
|
||||
type GitCheckoutSpec struct {
|
||||
|
|
|
|||
|
|
@ -86,6 +86,10 @@ spec:
|
|||
description: RunInterval gives a lower bound for how often the automation
|
||||
run should be attempted. Otherwise it will default.
|
||||
type: string
|
||||
suspend:
|
||||
description: Suspend tells the controller to not run this automation,
|
||||
until it is unset (or set to false). Defaults to false.
|
||||
type: boolean
|
||||
update:
|
||||
description: Update gives the specification for how to update the
|
||||
files in the repository
|
||||
|
|
|
|||
Loading…
Reference in New Issue