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
* Flesh out autocomplete
Signed-off-by: Joseph <jvaikath@redhat.com>
* binary name fix and use release-archives
Signed-off-by: Joseph <jvaikath@redhat.com>
* Remove bloat
Signed-off-by: Joseph <jvaikath@redhat.com>
---------
Signed-off-by: Joseph <jvaikath@redhat.com>
- **Binary archives**: Platform-specific kubectl-oadp binaries with LICENSE
187
89
- **checksums.txt**: SHA256 checksums for all binaries
188
-
- **oadp.yaml**: Final krew plugin manifest with populated SHA256 values (ready for krew index)
189
90
190
91
### For Krew Index Maintainers
191
-
The `oadp.yaml` file contains the complete krew plugin manifest with all SHA256 checksums populated and can be used directly for krew index submissions.
92
+
- On creating new releases, krew-release-bot will automatically open a PR to the krew index with the new release
**Note for minimal environments (containers, etc.):** If you get `_get_comp_words_by_ref: command not found` errors, the bash-completion framework needs to be loaded first. Add this before the kubectl-oadp completion:
129
+
```bash
130
+
# Load bash-completion framework (if not auto-loaded)
131
+
if [ -f /usr/share/bash-completion/bash_completion ] &&!type _get_comp_words_by_ref >/dev/null 2>&1;then
132
+
source /usr/share/bash-completion/bash_completion
123
133
fi
124
134
```
125
135
@@ -157,12 +167,14 @@ You should see available commands like `backup`, `nonadmin`, `nabsl`, etc.
If your `kubectl-oadp` binary is in a non-standard location, update the wrapper script paths:
231
+
If your `kubectl-oadp` binary is in a non-standard location, the dynamic detection will automatically handle it as long as the binary is in your `$PATH`. If it's not in your PATH, you can either:
0 commit comments