diff --git a/charts/kured/Chart.yaml b/charts/kured/Chart.yaml index 8475d1d..8e32b3e 100644 --- a/charts/kured/Chart.yaml +++ b/charts/kured/Chart.yaml @@ -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 diff --git a/charts/kured/README.md b/charts/kured/README.md index e688089..c8f62fa 100644 --- a/charts/kured/README.md +++ b/charts/kured/README.md @@ -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) | `{}` | diff --git a/charts/kured/templates/daemonset.yaml b/charts/kured/templates/daemonset.yaml index 729b5c9..4731e24 100644 --- a/charts/kured/templates/daemonset.yaml +++ b/charts/kured/templates/daemonset.yaml @@ -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 }} diff --git a/charts/kured/values.yaml b/charts/kured/values.yaml index 5a72cbb..cd250fb 100644 --- a/charts/kured/values.yaml +++ b/charts/kured/values.yaml @@ -64,6 +64,8 @@ service: annotations: {} name: "" +podLabels: {} + priorityClassName: "" tolerations: