before and after backup commands
This commit is contained in:
parent
7608c24372
commit
8105fb6dd5
@ -48,6 +48,15 @@ type Target struct {
|
||||
// +optional
|
||||
// +kubebuilder:validation:MinItems=1
|
||||
Steps []Step `json:"steps,omitempty"`
|
||||
// +optional
|
||||
BeforeBackup []Hook `json:"beforeBackup,omitempty"`
|
||||
// +optional
|
||||
AfterBackup []Hook `json:"afterBackup,omitempty"`
|
||||
}
|
||||
|
||||
type Hook struct {
|
||||
Cmd string `json:"cmd"`
|
||||
Args []string `json:"args"`
|
||||
}
|
||||
|
||||
type Keep struct {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user