diff --git a/stable/chaoskube/Chart.yaml b/stable/chaoskube/Chart.yaml index b41cdccb68..703f6432ff 100755 --- a/stable/chaoskube/Chart.yaml +++ b/stable/chaoskube/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: chaoskube -version: 3.2.0 +version: 3.2.1 appVersion: 0.14.0 description: Chaoskube periodically kills random pods in your Kubernetes cluster. icon: https://raw.githubusercontent.com/linki/chaoskube/master/chaoskube.png diff --git a/stable/chaoskube/README.md b/stable/chaoskube/README.md index a90f9d0321..d5ab2a7e82 100644 --- a/stable/chaoskube/README.md +++ b/stable/chaoskube/README.md @@ -42,6 +42,7 @@ $ helm install stable/chaoskube --set dryRun=false | `name` | container name | chaoskube | | `image` | docker image | quay.io/linki/chaoskube | | `imageTag` | docker image tag | v0.11.0 | +| `imagePullSecrets` | A list of secret names for accessing private image registries | `[]` | | `replicas` | number of replicas to run | 1 | | `interval` | interval between pod terminations | 10m | | `labels` | label selector to filter pods by | "" (matches everything) | diff --git a/stable/chaoskube/templates/deployment.yaml b/stable/chaoskube/templates/deployment.yaml index 4a90c8cfaa..7bc5fdc1e1 100644 --- a/stable/chaoskube/templates/deployment.yaml +++ b/stable/chaoskube/templates/deployment.yaml @@ -73,6 +73,10 @@ spec: priorityClassName: "{{ .Values.priorityClassName }}" {{- end }} serviceAccountName: {{ if .Values.rbac.create }}{{ printf "%s-%s" .Release.Name .Values.name }}{{ else }}"{{ .Values.rbac.serviceAccountName }}"{{ end }} +{{- if .Values.imagePullSecrets }} + imagePullSecrets: +{{ toYaml .Values.imagePullSecrets | indent 8 }} +{{- end }} {{- with .Values.nodeSelector }} nodeSelector: {{ toYaml . | indent 8 }} diff --git a/stable/chaoskube/values.yaml b/stable/chaoskube/values.yaml index 75a129a2af..a8a6140108 100644 --- a/stable/chaoskube/values.yaml +++ b/stable/chaoskube/values.yaml @@ -7,6 +7,10 @@ image: quay.io/linki/chaoskube # docker image tag imageTag: v0.14.0 +## secrets for pulling images from a private docker registry. +# imagePullSecrets: +# - name: secret_name + # number of replicas to run replicas: 1