Skip to content

migtools/oadp-cli

Repository files navigation

OADP CLI

Cross-Architecture Build Test Release Multi-Arch Binary Push to Quay.io

A kubectl plugin for OpenShift API for Data Protection (OADP) that provides both administrative and non-administrative backup operations.

What it does: Extends OADP functionality with a unified CLI that supports both cluster-wide Velero operations (admin) and namespace-scoped self-service operations (non-admin users).

Installation

Manual Build and Install

# Recommended: Smart install with auto-detection (no sudo required)
make install

# After install, refresh your terminal:
source ~/.zshrc  # or ~/.bashrc
# OR restart your terminal

# Test the installation
kubectl oadp --help

# Alternative: System-wide install (requires sudo)
make install-system

Installation Options:

make install                          # Smart detection + interactive prompt
make install ASSUME_DEFAULT=true     # Use default namespace (no detection)
make install VELERO_NAMESPACE=custom # Use specific namespace (no detection)

Technical Details

Built with:

Dependencies:

  • OADP Operator installed in cluster
  • Appropriate RBAC permissions for your use case

License

Apache License 2.0 - see LICENSE file.

Integrates with Apache 2.0 licensed projects: Velero, OADP, Kubernetes.