Add plugin examples for `helm get values` and `kubectl get events` (#1288)
* Create helm_values.yml * Create watch_events.ymlmine
parent
97f1214f9d
commit
f4007fa0ce
|
|
@ -0,0 +1,14 @@
|
|||
# View user-supplied values when the helm chart was created
|
||||
|
||||
plugin:
|
||||
helm-values:
|
||||
shortCut: v
|
||||
confirm: false
|
||||
description: Values
|
||||
scopes:
|
||||
- helm
|
||||
command: sh
|
||||
background: false
|
||||
args:
|
||||
- -c
|
||||
- "helm get values $COL-NAME -n $NAMESPACE --kube-context $CONTEXT | less"
|
||||
|
|
@ -0,0 +1,16 @@
|
|||
# watch events on selected resources
|
||||
# requires linux "watch" command
|
||||
# change '-n' to adjust refresh time in seconds
|
||||
|
||||
plugin:
|
||||
watch-events:
|
||||
shortCut: Shift-E
|
||||
confirm: false
|
||||
description: Get Events
|
||||
scopes:
|
||||
- all
|
||||
command: sh
|
||||
background: false
|
||||
args:
|
||||
- -c
|
||||
- "watch -n 5 kubectl get events --context $CONTEXT --namespace $NAMESPACE --field-selector involvedObject.name=$NAME"
|
||||
Loading…
Reference in New Issue