Some of the new features in Velero are released as beta features, behind feature
flags, which are not enabled by default during the Velero installation. In order
to provide --features flag values, you need to use the specify the flags under
configuration.velero.featureFlags: in the oadp.openshift.io/v1alpha1_dpa.yaml file
during deployment.
Some of the usage instances of the --features flag are as follows:
- Enabling Velero plugin for CSI: To enable CSI plugin you need to add two
things in the
oadp.openshift.io/v1alpha1_dpa.yamlfile during deployment.- First, add
csiunder theconfiguration.velero.defaultPlugins - Second, add
EnableCSIunderconfiguration.velero.featureFlags
- First, add
defaultPlugins:
- csi
veleroFeatureFlags: EnableCSI