Skip to content

feat: add "outdated" command to list plugins with available updates#901

Open
Moha0x1 wants to merge 1 commit intokubernetes-sigs:masterfrom
Moha0x1:feat/add-outdated-command
Open

feat: add "outdated" command to list plugins with available updates#901
Moha0x1 wants to merge 1 commit intokubernetes-sigs:masterfrom
Moha0x1:feat/add-outdated-command

Conversation

@Moha0x1
Copy link
Copy Markdown

@Moha0x1 Moha0x1 commented Mar 14, 2026

Adds "kubectl krew outdated" command that compares installed plugin versions against the local index and displays a table of plugins with newer versions available, without performing any upgrades.

Features:

  • Shows PLUGIN, INSTALLED, AVAILABLE columns in terminal
  • Outputs only plugin names when piped (for scripting)
  • Skips detached (manifest-installed) plugins
  • Gracefully handles missing index entries and unparseable versions

Resolves #891

Fixes #...
Related issue: #...

@k8s-ci-robot k8s-ci-robot added the do-not-merge/invalid-commit-message Indicates that a PR should not merge because it has an invalid commit message. label Mar 14, 2026
@k8s-ci-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: Moha0x1
Once this PR has been reviewed and has the lgtm label, please assign soltysh for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Mar 14, 2026
Adds "kubectl krew outdated" command that compares installed plugin
versions against the local index and displays a table of plugins
with newer versions available, without performing any upgrades.

Features:
- Shows PLUGIN, INSTALLED, AVAILABLE columns in terminal
- Outputs only plugin names when piped (for scripting)
- Skips detached (manifest-installed) plugins
- Gracefully handles missing index entries and unparseable versions
@Moha0x1 Moha0x1 force-pushed the feat/add-outdated-command branch from bb40395 to 3b4e9e5 Compare March 14, 2026 19:11
@k8s-ci-robot k8s-ci-robot removed the do-not-merge/invalid-commit-message Indicates that a PR should not merge because it has an invalid commit message. label Mar 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add "outdated" command

2 participants