mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/chaoskube] Add pod annotations (#9919)
* add annotations to pod Signed-off-by: Rahul Varghese <rahul.varghese@qlik.com> * Version Bump Signed-off-by: Rahul Varghese <rahul.varghese@qlik.com> * formatting values file Signed-off-by: Rahul Varghese <rahul.varghese@qlik.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
61dfcec680
commit
91d190816e
@@ -1,6 +1,6 @@
|
||||
apiVersion: v1
|
||||
name: chaoskube
|
||||
version: 0.10.0
|
||||
version: 0.11.0
|
||||
appVersion: 0.10.0
|
||||
description: Chaoskube periodically kills random pods in your Kubernetes cluster.
|
||||
home: https://github.com/linki/chaoskube
|
||||
|
||||
@@ -61,6 +61,7 @@ $ helm install stable/chaoskube --set dryRun=false
|
||||
| `tolerations` | Toleration labels for pod assignment | `[]` |
|
||||
| `affinity` | Affinity settings for pod assignment | `{}` |
|
||||
| `minimumAge` | Set minimum pod age to filter pod by | `0s` |
|
||||
| `podAnnotations` | Annotations for the chaoskube pod | `{}` |
|
||||
|
||||
Setting label and namespaces selectors from the shell can be tricky but is possible (example with zsh):
|
||||
|
||||
|
||||
@@ -18,6 +18,10 @@ spec:
|
||||
metadata:
|
||||
labels:
|
||||
{{ include "labels.standard" . | indent 8 }}
|
||||
{{- with .Values.podAnnotations }}
|
||||
annotations:
|
||||
{{ toYaml . | indent 8 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
containers:
|
||||
- name: {{ .Values.name }}
|
||||
|
||||
@@ -75,3 +75,9 @@ affinity: {}
|
||||
# labelSelector:
|
||||
# matchLabels:
|
||||
# app: chaoskube
|
||||
|
||||
podAnnotations: {}
|
||||
## Annotations for the chaoskube pod.
|
||||
# podAnnotations:
|
||||
# prometheus.io/scrape: "true"
|
||||
# prometheus.io/port: "8080"
|
||||
|
||||
Reference in New Issue
Block a user