From d0e660f435378062f37e6bf474b1748daf11bebf Mon Sep 17 00:00:00 2001 From: Dave Smith-Uchida Date: Wed, 1 Dec 2021 14:29:25 -0800 Subject: [PATCH] Added UploadProgressFeature flag to enable UploadProgressMonitoring and ItemSnapshotters Signed-off-by: Dave Smith-Uchida --- changelogs/unreleased/4416-dsmithuchida | 2 ++ pkg/apis/velero/v1/constants.go | 4 ++++ 2 files changed, 6 insertions(+) create mode 100644 changelogs/unreleased/4416-dsmithuchida diff --git a/changelogs/unreleased/4416-dsmithuchida b/changelogs/unreleased/4416-dsmithuchida new file mode 100644 index 000000000..60e4a30fa --- /dev/null +++ b/changelogs/unreleased/4416-dsmithuchida @@ -0,0 +1,2 @@ +Added UploadProgressFeature flag to enable Upload Progress Monitoring and Item +Snapshotters. diff --git a/pkg/apis/velero/v1/constants.go b/pkg/apis/velero/v1/constants.go index a7292d568..4d06be19f 100644 --- a/pkg/apis/velero/v1/constants.go +++ b/pkg/apis/velero/v1/constants.go @@ -46,4 +46,8 @@ const ( // APIGroupVersionsFeatureFlag is the feature flag string that defines whether or not to handle multiple API Group Versions APIGroupVersionsFeatureFlag = "EnableAPIGroupVersions" + + // UploadProgressFeatureFlag is the feature flag string that defines whether or not upload progress monitoring is enabled + // and whether or not ItemSnapshotters should be invoked + UploadProgressFeatureFlag = "EnableUploadProgress" )