mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/node-problem-detector] Add custom labels to daemonset (#21334)
Add the ability to use custom labels to daemonset. Signed-off-by: Markos Chandras <markos@chandras.me>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
apiVersion: v1
|
||||
name: node-problem-detector
|
||||
version: "1.6.3"
|
||||
version: "1.6.4"
|
||||
appVersion: v0.7.0
|
||||
home: https://github.com/kubernetes/node-problem-detector
|
||||
description: Installs the node-problem-detector daemonset for monitoring extra attributes on nodes
|
||||
|
||||
@@ -58,6 +58,7 @@ The following table lists the configurable parameters for this chart and their d
|
||||
| `tolerations` | Optional daemonset tolerations | `["effect: NoSchedule,operator: Exists"]` |
|
||||
| `nodeSelector` | Optional daemonset nodeSelector | `{}` |
|
||||
| `env` | Optional daemonset environment variables | `[]` |
|
||||
| `labels` | Optional daemonset labels | `{}` |
|
||||
|
||||
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install` or provide a YAML file containing the values for the above parameters:
|
||||
|
||||
|
||||
@@ -7,6 +7,9 @@ metadata:
|
||||
helm.sh/chart: {{ include "node-problem-detector.chart" . }}
|
||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||||
{{- range $key, $val := .Values.labels }}
|
||||
{{ $key }}: {{ $val | quote }}
|
||||
{{- end}}
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
|
||||
@@ -61,6 +61,8 @@ resources: {}
|
||||
|
||||
annotations: {}
|
||||
|
||||
labels: {}
|
||||
|
||||
tolerations:
|
||||
- effect: NoSchedule
|
||||
operator: Exists
|
||||
|
||||
Reference in New Issue
Block a user