Merge pull request #300 from t3mi/master

add podLabels parameter
This commit is contained in:
Daniel Holbach
2021-02-08 16:05:24 +01:00
committed by GitHub
4 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -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
+1
View File
@@ -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) | `{}` |
+3
View File
@@ -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 }}
+2
View File
@@ -64,6 +64,8 @@ service:
annotations: {}
name: ""
podLabels: {}
priorityClassName: ""
tolerations: