Unverified Commit fa4e458f authored by Daniel Holbach's avatar Daniel Holbach Committed by GitHub
Browse files

Merge pull request #300 from t3mi/master

add podLabels parameter
parents 4fc93d55 d52d78a3
......@@ -2,7 +2,7 @@ apiVersion: v1
appVersion: "1.6.1"
description: A Helm chart for kured
name: kured
version: 2.3.1
version: 2.3.2
home: https://github.com/weaveworks/kured
maintainers:
- name: ckotzbauer
......
......@@ -74,6 +74,7 @@ The following changes have been made compared to the stable chart:
| `service.name ` | Service name for the metrics endpoint | `""` |
| `service.port` | Port of the service to expose | `8080` |
| `service.annotations` | Annotations to apply to the service (eg to add Prometheus annotations) | `{}` |
| `podLabels` | Additional labels for pods (e.g. CostCenter=IT) | `{}` |
| `priorityClassName` | Priority Class to be used by the pods | `""` |
| `tolerations` | Tolerations to apply to the daemonset (eg to allow running on master) | `[{"key": "node-role.kubernetes.io/master", "effect": "NoSchedule"}]`|
| `affinity` | Affinity for the daemonset (ie, restrict which nodes kured runs on) | `{}` |
......
......@@ -19,6 +19,9 @@ spec:
metadata:
labels:
{{- include "kured.labels" . | nindent 8 }}
{{- if .Values.podLabels }}
{{- toYaml .Values.podLabels | nindent 8 }}
{{- end }}
{{- if .Values.podAnnotations }}
annotations:
{{- range $key, $value := .Values.podAnnotations }}
......
......@@ -64,6 +64,8 @@ service:
annotations: {}
name: ""
podLabels: {}
priorityClassName: ""
tolerations:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment