From 771b5a5c9692259a96cbaa589dde6af386de379a Mon Sep 17 00:00:00 2001 From: Jean-Marc Andre Date: Sat, 16 Jan 2021 13:06:01 +0100 Subject: [PATCH] Revert "before and after backup commands" This reverts commit 8105fb6dd502e3237dca3115b8f5490704548c3e. --- api/v1alpha1/backupconfiguration_types.go | 9 --------- 1 file changed, 9 deletions(-) diff --git a/api/v1alpha1/backupconfiguration_types.go b/api/v1alpha1/backupconfiguration_types.go index f647562..fdb8ca1 100644 --- a/api/v1alpha1/backupconfiguration_types.go +++ b/api/v1alpha1/backupconfiguration_types.go @@ -48,15 +48,6 @@ 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 {