Merge pull request #9758 from Madhu-1/remove-rbd-default

ceph: remove rbd_default_features setting
This commit is contained in:
Travis Nielsen authored and GitHub committed 2022-02-17 07:29:58 -07:00
commit eb24b17844
2 files changed
-14

No files matched your search

-4
View File
@@ -138,10 +138,6 @@ func SetOrRemoveDefaultConfigs(
}
}
if err := monStore.SetAll(DefaultLegacyConfigs()...); err != nil {
return errors.Wrapf(err, "failed to apply legacy config overrides")
}
// Apply Multus if needed
if clusterSpec.Network.IsMultus() {
logger.Info("configuring ceph network(s) with multus")
-10
View File
@@ -80,16 +80,6 @@ func DefaultCentralizedConfigs(cephVersion version.CephVersion) []Option {
return overrides
}
// DefaultLegacyConfigs need to be added to the Ceph config file until the integration tests can be
// made to override these options for the Ceph clusters it creates.
func DefaultLegacyConfigs() []Option {
overrides := []Option{
// TODO: move this under LegacyConfigs() when FlexVolume is no longer supported
configOverride("global", "rbd_default_features", "3"),
}
return overrides
}
// LegacyConfigs represents old configuration that were applied to a cluster and not needed anymore
func LegacyConfigs() []Option {
return []Option{