mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/kured] Allow setting imagePullSecrets and nodeSelector from values.yaml (#9590)
* [stable/kured] Allow setting `image.pullSecrets` and `nodeSelector` from values.yaml Signed-off-by: William Hughes <will@willhughes.name> * Update Chart.yaml Signed-off-by: Paul Czarkowski <username.taken@gmail.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
bb47f58747
commit
f8419597d5
@@ -2,7 +2,7 @@ apiVersion: v1
|
||||
appVersion: "1.1.0"
|
||||
description: A Helm chart for kured
|
||||
name: kured
|
||||
version: 1.0.0
|
||||
version: 1.1.0
|
||||
home: https://github.com/weaveworks/kured
|
||||
maintainers:
|
||||
- name: plumdog
|
||||
|
||||
@@ -7,12 +7,14 @@ See https://github.com/weaveworks/kured
|
||||
| `image.repository` | Image repository | `quay.io/weaveworks/kured` |
|
||||
| `image.tag` | Image tag | `master-c42fff3` |
|
||||
| `image.pullPolicy` | Image pull policy | `IfNotPresent` |
|
||||
| `image.pullSecrets` | Image pull secrets | `[]` |
|
||||
| `extraArgs` | Extra arguments to pass to `/usr/bin/kured`. See below. | `{}` |
|
||||
| `rbac.create` | Create RBAC roles | `true` |
|
||||
| `serviceAccount.create` | Create service account roles | `true` |
|
||||
| `serviceAccount.name` | Service account name to create (or use if `serviceAccount.create` is false) | (chart fullname) |
|
||||
| `updateStrategy` | Daemonset update strategy | `OnDelete` |
|
||||
| `tolerations` | Tolerations to apply to the daemonset (eg to allow running on master) | `[{"key": "node-role.kubernetes.io/master", "effect": "NoSchedule"}]`|
|
||||
| `nodeSelector` | Node Selector for the daemonset (ie, restrict which nodes kured runs on) | `{}` |
|
||||
| `podAnnotations` | Annotations to apply to pods (eg to add Prometheus annotations) | `{}` |
|
||||
|
||||
See https://github.com/weaveworks/kured#configuration for values for `extraArgs`. Note that
|
||||
|
||||
@@ -31,6 +31,14 @@ spec:
|
||||
serviceAccountName: {{ template "kured.serviceAccountName" . }}
|
||||
hostPID: true
|
||||
restartPolicy: Always
|
||||
{{- with .Values.image.pullSecrets }}
|
||||
imagePullSecrets:
|
||||
{{ toYaml . | indent 8 }}
|
||||
{{- end }}
|
||||
{{- with .Values.nodeSelector }}
|
||||
nodeSelector:
|
||||
{{ toYaml . | indent 8 }}
|
||||
{{- end }}
|
||||
containers:
|
||||
- name: {{ .Chart.Name }}
|
||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
||||
|
||||
@@ -3,6 +3,7 @@ image:
|
||||
# Appears to be without numbered numbered tags, so using this instead
|
||||
tag: 1.1.0
|
||||
pullPolicy: IfNotPresent
|
||||
pullSecrets: []
|
||||
|
||||
extraArgs: {}
|
||||
|
||||
@@ -19,4 +20,6 @@ tolerations:
|
||||
- key: node-role.kubernetes.io/master
|
||||
effect: NoSchedule
|
||||
|
||||
nodeSelector: {}
|
||||
|
||||
podAnnotations: {}
|
||||
|
||||
Reference in New Issue
Block a user