Skip to content

Commit 198401c

Browse files
Update README.md with plugin dangerous field
Relates to derailed#2604 introduced in derailed#2637
1 parent 8774c4c commit 198401c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -655,6 +655,7 @@ A plugin is defined as follows:
655655
* Background specifies whether or not the command runs in the background
656656
* Args specifies the various arguments that should apply to the command above
657657
* 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)
658+
* Dangerous boolean option enables disabling the plugin when read-only mode is set. See [#2604](https://github.com/derailed/k9s/issues/2604)
658659

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

@@ -688,6 +689,7 @@ plugins:
688689
override: false
689690
overwriteOutput: false
690691
confirm: false
692+
dangerous: false
691693
description: Pod logs
692694
scopes:
693695
- pods

0 commit comments

Comments
 (0)