11package common
22
3- import "time"
4-
53const (
6- CAPIPausedAnnotationName string = "cluster.x-k8s.io/paused"
74 CommonBackupAnnotationName string = "hypershift.openshift.io/common-backup-plugin"
85 CommonRestoreAnnotationName string = "hypershift.openshift.io/common-restore-plugin"
96 FSBackupLabelName string = "hypershift.openshift.io/fsbackup"
@@ -14,23 +11,12 @@ const (
1411
1512 PluginConfigMapName string = "hypershift-oadp-plugin-config"
1613
17- // Default values for the backup plugin.
18- defaultPVBackupTimeout time.Duration = 30 * time .Minute
19- defaultPVBackupCheckPace time.Duration = 10 * time .Second
20- defaultWaitForPausedTimeout time.Duration = 2 * time .Minute
21- defaultWaitForTimeout time.Duration = 5 * time .Minute
22-
2314 DefaultK8sSAFilePath string = "/var/run/secrets/kubernetes.io/serviceaccount"
2415 KubevirtRHCOSLabel string = "hypershift.openshift.io/is-kubevirt-rhcos"
2516
2617 // Integration with Hypershift, more info here: https://github.com/openshift/hypershift/pull/6195
2718 HostedClusterRestoredFromBackupAnnotation string = "hypershift.openshift.io/restored-from-backup"
2819
29- // OADP Plugin audit annotations for pause operations
30- OADPPausedByAnnotation string = "oadp.openshift.io/paused-by"
31- OADPPausedAtAnnotation string = "oadp.openshift.io/paused-at"
32- HypershiftOADPPluginName string = "hypershift-oadp-plugin"
33-
3420 // hypershift/cluster-api kinds
3521 HostedClusterKind string = "HostedCluster"
3622 HostedControlPlaneKind string = "HostedControlPlane"
0 commit comments