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).
# 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-systemInstallation 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)Built with:
- Cobra - CLI framework
- Velero client libraries - Core backup functionality
- OADP NonAdmin APIs - NonAdminBackup CRD support
Dependencies:
- OADP Operator installed in cluster
- Appropriate RBAC permissions for your use case
Apache License 2.0 - see LICENSE file.
Integrates with Apache 2.0 licensed projects: Velero, OADP, Kubernetes.