mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
add option to configure hostNetwork/hostPID for node-exporter pods (#7643)
Signed-off-by: Ludovic Cavajani <lcavajani@suse.com> update Chart version Signed-off-by: Ludovic Cavajani <lcavajani@suse.com> Resolve conflicts Signed-off-by: Ludovic Cavajani <lcavajani@suse.com> update prometheus chart to 7.1.3 Signed-off-by: Ludovic Cavajani <lcavajani@suse.com>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
name: prometheus
|
||||
version: 7.1.2
|
||||
version: 7.1.3
|
||||
appVersion: 2.4.2
|
||||
description: Prometheus is a monitoring system and time series database.
|
||||
home: https://prometheus.io/
|
||||
|
||||
@@ -173,6 +173,8 @@ Parameter | Description | Default
|
||||
`nodeExporter.extraArgs` | Additional node-exporter container arguments | `{}`
|
||||
`nodeExporter.extraHostPathMounts` | Additional node-exporter hostPath mounts | `[]`
|
||||
`nodeExporter.extraConfigmapMounts` | Additional node-exporter configMap mounts | `[]`
|
||||
`nodeExporter.hostNetwork` | If true, node-exporter pods share the host network namespace | `true`
|
||||
`nodeExporter.hostPID` | If true, node-exporter pods share the host PID namespace | `true`
|
||||
`nodeExporter.nodeSelector` | node labels for node-exporter pod assignment | `{}`
|
||||
`nodeExporter.podAnnotations` | annotations to be added to node-exporter pods | `{}`
|
||||
`nodeExporter.pod.labels` | labels to be added to node-exporter pods | `{}`
|
||||
|
||||
@@ -73,8 +73,12 @@ spec:
|
||||
mountPath: {{ .mountPath }}
|
||||
readOnly: {{ .readOnly }}
|
||||
{{- end }}
|
||||
{{- if .Values.nodeExporter.hostNetwork }}
|
||||
hostNetwork: true
|
||||
{{- end }}
|
||||
{{- if .Values.nodeExporter.hostPID }}
|
||||
hostPID: true
|
||||
{{- end }}
|
||||
{{- if .Values.nodeExporter.tolerations }}
|
||||
tolerations:
|
||||
{{ toYaml .Values.nodeExporter.tolerations | indent 8 }}
|
||||
|
||||
@@ -347,6 +347,14 @@ nodeExporter:
|
||||
##
|
||||
enabled: true
|
||||
|
||||
## If true, node-exporter pods share the host network namespace
|
||||
##
|
||||
hostNetwork: true
|
||||
|
||||
## If true, node-exporter pods share the host PID namespace
|
||||
##
|
||||
hostPID: true
|
||||
|
||||
## node-exporter container name
|
||||
##
|
||||
name: node-exporter
|
||||
|
||||
Reference in New Issue
Block a user