You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Implement better templating with envsubst
✨ Major improvements:
- Convert oadp.yaml to environment variable template
- Replace complex Python regex with clean envsubst
- Much more readable and maintainable approach
- Robust error handling and validation
- Template uses ${VERSION}, ${LINUX_AMD64_SHA}, etc.
🔧 Technical benefits:
- No more fragile regex string replacement
- Standard environment variable substitution
- Easier to debug and modify
- Less code, more reliable
* Simplify krew manifest naming to oadp.yaml
🎯 Perfect for krew index submission:
- Generate oadp.yaml directly (not oadp-final.yaml)
- Release artifact is ready to drop into krew index
- No renaming needed - matches krew convention exactly
- Clean workflow: template → envsubst → oadp.yaml
* nabsl start
* Refactor non-admin backup commands and add 'get' functionality
- Removed the backup storage location (BSL) command from the non-admin command set.
- Introduced a new 'get' command for listing and retrieving non-admin backups.
- Updated the create command examples to include a storage location option and added a force flag for creation without specifying a storage location.
- Enhanced output messages to indicate when defaults are used during backup creation.
* Add na alias to nonadmin
* Update README
* Move shared code
* Add warning message
* Fix comments
A kubectl plugin for working with OpenShift API for Data Protection (OADP) resources, including NonAdminBackup operations.
5
+
A kubectl plugin for OpenShift API for Data Protection (OADP) that provides both administrative and non-administrative backup operations.
6
6
7
-
> This project provides a `kubectl` plugin CLI that extends OADP functionality, allowing users to work with both regular Velero resources and NonAdminBackup resources through a unified interface.
7
+
> **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).
8
8
9
-
## Features
9
+
## Key Capabilities
10
10
11
-
-**Regular OADP operations**: Standard Velero backup, restore, and version commands
12
-
-**NonAdmin operations**: Create and manage NonAdminBackup resources for namespace-scoped backup operations
13
-
-**Automatic namespace detection**: NonAdminBackup automatically uses your current kubectl context namespace
14
-
-**Kubectl plugin integration**: Works seamlessly as a kubectl plugin
11
+
-**Admin Operations**: Full Velero backup, restore, and version commands (requires cluster admin permissions)
12
+
-**Non-Admin Operations**: Namespace-scoped backup operations using non-admin CRDs (works with regular user permissions)
13
+
-**Smart Namespace Handling**: Non-admin commands automatically operate in your current kubectl context namespace
14
+
-**Seamless Integration**: Works as a standard kubectl plugin
0 commit comments