From 1be5004eadf3de93fcb3e21fb08e8faeaeb77002 Mon Sep 17 00:00:00 2001 From: Jean-Marc Andre Date: Sat, 2 Jan 2021 14:54:35 +0100 Subject: [PATCH] test observedGeneration --- api/v1alpha1/backupsession_types.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/v1alpha1/backupsession_types.go b/api/v1alpha1/backupsession_types.go index 7ca9d8e..bb6e068 100644 --- a/api/v1alpha1/backupsession_types.go +++ b/api/v1alpha1/backupsession_types.go @@ -63,6 +63,8 @@ type BackupSessionStatus struct { // INSERT ADDITIONAL STATUS FIELD - define observed state of cluster // Important: Run "make" to regenerate code after modifying this file // +optional + ObservedGeneration int64 `json:"observedGeneration,omitempty"` + // +optional BackupState `json:"state,omitempty"` // +optional StartTime *metav1.Time `json:"startTime,omitempty"`