store volume snapshot info as JSON in backup storage

Signed-off-by: Steve Kriss <steve@heptio.com>
This commit is contained in:
Steve Kriss
2018-10-12 11:55:02 -06:00
parent e24248e07a
commit da9ed38c63
26 changed files with 302 additions and 865 deletions

View File

@@ -198,8 +198,10 @@ func (c *backupSyncController) run() {
switch {
case err != nil && kuberrs.IsAlreadyExists(err):
log.Debug("Backup already exists in cluster")
continue
case err != nil && !kuberrs.IsAlreadyExists(err):
log.WithError(errors.WithStack(err)).Error("Error syncing backup into cluster")
continue
default:
log.Debug("Synced backup into cluster")
}