Skip to content

fusor/ocp-velero-plugin

Repository files navigation

OCP Velero Plugin Build Status Maintainability

Deprecated

This repo has been deprecated. See https://github.com/fusor/ocp-velero-plugin/blob/master/docs/plugin-refactoring.md

The plugin repo located at https://github.com/fusor/openshift-migration-plugin is a drop-in replacement for this. For a general-purpose velero plugin for backing up and restoring namespaces which include openshift-specific resources use https://github.com/fusor/openshift-velero-plugin

Kinds of Plugins

Velero currently supports the following kinds of plugins:

  • Backup Item Action - performs arbitrary logic on individual items prior to storing them in the backup file.
  • Restore Item Action - performs arbitrary logic on individual items prior to restoring them in the Kubernetes cluster.

Building the plugins

To build the plugins, run

$ make

To build the image, run

$ make container

This builds an image tagged as docker.io/fusor/ocp-velero-plugin. If you want to specify a different name, run

$ make container IMAGE=your-repo/your-name:here

Deploying the plugins

To deploy your plugin image to an Velero server:

  1. Make sure your image is pushed to a registry that is accessible to your cluster's nodes.
  2. Run velero plugin add <image>, e.g. velero plugin add quay.io/ocpmigrate/velero-plugin

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •