Skip to content

Commit

Permalink
Update README.md with plugin dangerous field
Browse files Browse the repository at this point in the history
Relates to derailed#2604 introduced in derailed#2637
  • Loading branch information
gberche-orange committed Jul 12, 2024
1 parent 8774c4c commit 198401c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -655,6 +655,7 @@ A plugin is defined as follows:
* Background specifies whether or not the command runs in the background
* Args specifies the various arguments that should apply to the command above
* OverwriteOutput boolean option allows plugin developers to provide custom messages on plugin stdout execution. See example in [#2644](https://github.com/derailed/k9s/pull/2644)
* Dangerous boolean option enables disabling the plugin when read-only mode is set. See [#2604](https://github.com/derailed/k9s/issues/2604)

K9s does provide additional environment variables for you to customize your plugins arguments. Currently, the available environment variables are as follows:

Expand Down Expand Up @@ -688,6 +689,7 @@ plugins:
override: false
overwriteOutput: false
confirm: false
dangerous: false
description: Pod logs
scopes:
- pods
Expand Down

0 comments on commit 198401c

Please sign in to comment.