mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/chaoskube] Implement filter by Kind feature for chaoskube deployment. (#23827)
* Implement filter by Kind feature for chaoskube deployment. Signed-off-by: Anatoli Iariomenco <Anatoli.Iariomenco@qlik.com> * Conditional kinds flag. Signed-off-by: Anatoli Iariomenco <Anatoli.Iariomenco@qlik.com> * Bump chart version. Signed-off-by: Anatoli Iariomenco <Anatoli.Iariomenco@qlik.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
apiVersion: v1
|
||||
name: chaoskube
|
||||
version: 3.2.1
|
||||
appVersion: 0.14.0
|
||||
version: 3.3.0
|
||||
appVersion: 0.21.0
|
||||
description: Chaoskube periodically kills random pods in your Kubernetes cluster.
|
||||
icon: https://raw.githubusercontent.com/linki/chaoskube/master/chaoskube.png
|
||||
home: https://github.com/linki/chaoskube
|
||||
|
||||
@@ -46,6 +46,7 @@ $ helm install stable/chaoskube --set dryRun=false
|
||||
| `replicas` | number of replicas to run | 1 |
|
||||
| `interval` | interval between pod terminations | 10m |
|
||||
| `labels` | label selector to filter pods by | "" (matches everything) |
|
||||
| `kinds` | OwnerReference's Kind selector to filter pods by | "" (matches everything) |
|
||||
| `annotations` | annotation selector to filter pods by | "" (matches everything) |
|
||||
| `namespaces` | namespace selector to filter pods by | "" (all namespaces) |
|
||||
| `dryRun` | don't kill pods, only log what would have been done | true |
|
||||
|
||||
@@ -28,6 +28,9 @@ spec:
|
||||
args:
|
||||
- --interval={{ .Values.interval }}
|
||||
- --labels={{ .Values.labels }}
|
||||
{{- if .Values.kinds }}
|
||||
- --kinds={{ .Values.kinds }}
|
||||
{{- end }}
|
||||
- --annotations={{ .Values.annotations }}
|
||||
- --namespaces={{ .Values.namespaces }}
|
||||
{{- if not .Values.dryRun }}
|
||||
|
||||
@@ -5,7 +5,7 @@ name: chaoskube
|
||||
image: quay.io/linki/chaoskube
|
||||
|
||||
# docker image tag
|
||||
imageTag: v0.14.0
|
||||
imageTag: v0.21.0
|
||||
|
||||
## secrets for pulling images from a private docker registry.
|
||||
# imagePullSecrets:
|
||||
@@ -20,6 +20,9 @@ interval: 10m
|
||||
# label selector to filter pods by, e.g. app=foo,stage!=prod
|
||||
labels:
|
||||
|
||||
# kinds selector to filter pods by, e.g. '!DaemonSet' (use quotes)
|
||||
kinds:
|
||||
|
||||
# annotation selector to filter pods by, e.g. chaos.alpha.kubernetes.io/enabled=true
|
||||
annotations:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user