mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
Kube-spot has to be able to run kubectl drain (#4730)
* Kube-spot has to be able to run kubectl drain One of the main functions of kube-spot is running the kubectl drain command. This needs more extensive rights to kubernetes. It has to be able to list everything running on a node + evict those things. * Bump chart
This commit is contained in:
committed by
k8s-ci-robot
parent
f63467f954
commit
ba29d0a608
@@ -1,7 +1,7 @@
|
||||
apiVersion: v1
|
||||
description: Watch and action AWS spot termination events
|
||||
name: kube-spot-termination-notice-handler
|
||||
version: 0.2.0
|
||||
version: 0.2.1
|
||||
appVersion: 1.8.1-1
|
||||
home: https://github.com/egeland/kube-spot-termination-notice-handler
|
||||
source:
|
||||
|
||||
@@ -34,5 +34,33 @@ rules:
|
||||
verbs:
|
||||
- get
|
||||
- list
|
||||
- watch
|
||||
- apiGroups:
|
||||
- extensions
|
||||
resources:
|
||||
- replicasets
|
||||
- daemonsets
|
||||
verbs:
|
||||
- get
|
||||
- list
|
||||
- apiGroups:
|
||||
- apps
|
||||
resources:
|
||||
- statefulsets
|
||||
verbs:
|
||||
- get
|
||||
- list
|
||||
- apiGroups:
|
||||
- ""
|
||||
resources:
|
||||
- nodes
|
||||
verbs:
|
||||
- get
|
||||
- list
|
||||
- patch
|
||||
- apiGroups:
|
||||
- ""
|
||||
resources:
|
||||
- pods/eviction
|
||||
verbs:
|
||||
- create
|
||||
{{- end -}}
|
||||
|
||||
Reference in New Issue
Block a user