mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/chaoskube] Support prioirtyClassNames (#6582)
* Support prioirtyClassNames * Update Chart.yaml
This commit is contained in:
committed by
k8s-ci-robot
parent
d1efea4c9e
commit
6d38e4f046
@@ -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
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -42,6 +42,8 @@ resources:
|
||||
cpu: 10m
|
||||
memory: 16Mi
|
||||
|
||||
priorityClassName: ""
|
||||
|
||||
# create service account with permission to list and kill pods
|
||||
rbac:
|
||||
create: false
|
||||
|
||||
Reference in New Issue
Block a user