[stable/chaoskube] Support prioirtyClassNames (#6582)

* Support prioirtyClassNames

* Update Chart.yaml
This commit is contained in:
Ryan Luckie
2018-07-15 10:44:56 -07:00
committed by k8s-ci-robot
parent d1efea4c9e
commit 6d38e4f046
4 changed files with 8 additions and 2 deletions
+2 -2
View File
@@ -1,11 +1,11 @@
name: chaoskube
version: 0.7.0
version: 0.8.0
appVersion: 0.8.0
description: Chaoskube periodically kills random pods in your Kubernetes cluster.
home: https://github.com/linki/chaoskube
sources:
- https://github.com/linki/chaoskube
maintainers:
- name: Martin Linkhorst
- name: linki
email: linki+kubernetes.io@posteo.de
engine: gotpl
+1
View File
@@ -54,6 +54,7 @@ $ helm install stable/chaoskube --set dryRun=false
| `excludedDaysOfYear` | Set Days of the Year to avoid actions (Optional) | "" (Don't skip any days) |
| `resources.cpu` | cpu resource requests and limits | 10m |
| `resources.memory` | memory resource requests and limits | 16Mi |
| `priorityClassName` | priorityClassName | `nil` |
| `rbac.create` | create rbac service account and roles | false |
| `rbac.serviceAccountName` | name of serviceAccount to use when create is false | default |
| `nodeSelector` | node labels for pod assignment | `{}` |
@@ -39,6 +39,9 @@ spec:
limits:
cpu: {{ .Values.resources.cpu }}
memory: {{ .Values.resources.memory }}
{{- if .Values.priorityClassName }}
priorityClassName: "{{ .Values.priorityClassName }}"
{{- end }}
serviceAccountName: {{ if .Values.rbac.create }}{{ printf "%s-%s" .Release.Name .Values.name }}{{ else }}"{{ .Values.rbac.serviceAccountName }}"{{ end }}
{{- if .Values.nodeSelector }}
nodeSelector:
+2
View File
@@ -42,6 +42,8 @@ resources:
cpu: 10m
memory: 16Mi
priorityClassName: ""
# create service account with permission to list and kill pods
rbac:
create: false