Skip to content

Kepm policy and agent bugfixes #156

Open
ukumar-ks wants to merge 1 commit intoreleasefrom
kepm-policy-bugfix
Open

Kepm policy and agent bugfixes #156
ukumar-ks wants to merge 1 commit intoreleasefrom
kepm-policy-bugfix

Conversation

@ukumar-ks
Copy link
Contributor

KEPM Policy Bugfixes

Summary

This PR addresses multiple bugs and usability improvements in the KEPM admin commands, focusing on policy resolution, agent lifecycle operations, and policy view output.

Changes

  • Policy lookup by name: Policies can now be resolved by name (case-insensitive) in addition to UID. Duplicate names prompt the user to use the UID instead.
  • Policy view improvements: Added table format output (default) alongside JSON. JSON output respects --output flag.
  • Policy delete improvements: Added success messages after deletion.

2. Agent Delete Command Fixes

  • Added a confirmation prompt before deleting agents when --force is not specified.
  • Added success messages after agent deletion, returning the names of deleted agents.

@ukumar-ks ukumar-ks self-assigned this Mar 20, 2026
@ukumar-ks ukumar-ks marked this pull request as ready for review March 20, 2026 10:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant