Skip to content

Commit 76f0dac

Browse files
nzhan126derekbit
authored andcommitted
removed backup-target, backup-target-credential-secret
and backupstore-poll-interval ref: 11026
1 parent 8906c76 commit 76f0dac

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

types/backupstore.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
package types
2+
3+
const (
4+
SettingNameBackupTarget = SettingName("backup-target")
5+
SettingNameBackupTargetCredentialSecret = SettingName("backup-target-credential-secret")
6+
SettingNameBackupstorePollInterval = SettingName("backupstore-poll-interval")
7+
)

types/setting.go

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -161,13 +161,6 @@ const (
161161
SettingNameInstanceManagerPodLivenessProbeTimeout = SettingName("instance-manager-pod-liveness-probe-timeout")
162162
SettingNameLogPath = SettingName("log-path")
163163

164-
// These three backup target parameters are used in the "longhorn-default-resource" ConfigMap
165-
// to update the default BackupTarget resource.
166-
// Longhorn won't create the Setting resources for these three parameters.
167-
SettingNameBackupTarget = SettingName("backup-target")
168-
SettingNameBackupTargetCredentialSecret = SettingName("backup-target-credential-secret")
169-
SettingNameBackupstorePollInterval = SettingName("backupstore-poll-interval")
170-
171164
// The settings are deprecated and Longhorn won't create Setting Resources for these parameters.
172165
// TODO: Remove these settings in the future releases.
173166
SettingNameStorageNetworkForRWXVolumeEnabled = SettingName("storage-network-for-rwx-volume-enabled")

0 commit comments

Comments
 (0)