Skip to content

Latest commit

 

History

History
63 lines (56 loc) · 2.16 KB

plugins.md

File metadata and controls

63 lines (56 loc) · 2.16 KB

Plugins Customization


Configure Velero Plugins

There are mainly two categories of Velero plugins that can be specified while installing Velero:

  1. defaultPlugins:
    There are six types of default Velero plugins can be installed:

    For installation, you need to specify them in the oadp_v1alpha1_dpa.yaml file during deployment.

     apiVersion: oadp.openshift.io/v1alpha1
     kind: DataProtectionApplication
     metadata:
       name: dpa-sample
     spec:
       configuration:
         velero:
           defaultPlugins:
           - openshift
           - aws
           - azure
           - gcp
    

    The above specification will install Velero with four of the default plugins.

  2. customPlugins:
    For installation of custom Velero plugins, you need to specify the plugin image and plugin name in the oadp_v1alpha1_dpa.yaml file during deployment.

    For instance,

     apiVersion: oadp.openshift.io/v1alpha1
     kind: DataProtectionApplication
     metadata:
       name: dpa-sample
     spec:
       configuration:
         velero:
           defaultPlugins:
           - azure
           - gcp
           customPlugins:
           - name: custom-plugin-example
             image: quay.io/example-repo/custom-velero-plugin
    

    The above specification will install Velero with three plugins: azure, gcp, and custom-plugin-example.