mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/prometheus] Allow set securityContext for node exporter pods (#3734)
* Allow set securityContext for node exporter pods * Fix warnings when deploying pushgateway * Update Chart.yaml Increase version
This commit is contained in:
committed by
k8s-ci-robot
parent
ef3ebcd039
commit
ddce4afd8d
@@ -1,5 +1,5 @@
|
||||
name: prometheus
|
||||
version: 5.3.0
|
||||
version: 5.3.1
|
||||
description: Prometheus is a monitoring system and time series database.
|
||||
home: https://prometheus.io/
|
||||
icon: https://raw.githubusercontent.com/prometheus/prometheus.github.io/master/assets/prometheus_logo-cb55bb5c346.png
|
||||
|
||||
@@ -168,6 +168,7 @@ Parameter | Description | Default
|
||||
`nodeExporter.podAnnotations` | annotations to be added to node-exporter pods | `{}`
|
||||
`nodeExporter.tolerations` | node taints to tolerate (requires Kubernetes >=1.6) | `[]`
|
||||
`nodeExporter.resources` | node-exporter resource requests and limits (YAML) | `{}`
|
||||
`nodeExporter.securityContext` | securityContext for containers in pod | `{}`
|
||||
`nodeExporter.serviceAccountName` | service account name for node-exporter to use (ignored if rbac.create=true) | `default`
|
||||
`nodeExporter.service.annotations` | annotations for node-exporter service | `{prometheus.io/scrape: "true"}`
|
||||
`nodeExporter.service.clusterIP` | internal node-exporter cluster service IP | `None`
|
||||
|
||||
@@ -72,6 +72,10 @@ spec:
|
||||
{{- if .Values.nodeExporter.nodeSelector }}
|
||||
nodeSelector:
|
||||
{{ toYaml .Values.nodeExporter.nodeSelector | indent 8 }}
|
||||
{{- end }}
|
||||
{{- if .Values.nodeExporter.securityContext }}
|
||||
securityContext:
|
||||
{{ toYaml .Values.nodeExporter.securityContext | indent 8 }}
|
||||
{{- end }}
|
||||
volumes:
|
||||
- name: proc
|
||||
|
||||
@@ -348,6 +348,11 @@ nodeExporter:
|
||||
# cpu: 100m
|
||||
# memory: 30Mi
|
||||
|
||||
## Security context to be added to node-exporter pods
|
||||
##
|
||||
securityContext: {}
|
||||
# runAsUser: 0
|
||||
|
||||
service:
|
||||
annotations:
|
||||
prometheus.io/scrape: "true"
|
||||
@@ -570,7 +575,7 @@ pushgateway:
|
||||
|
||||
## pushgateway Ingress annotations
|
||||
##
|
||||
annotations:
|
||||
annotations: {}
|
||||
# kubernetes.io/ingress.class: nginx
|
||||
# kubernetes.io/tls-acme: 'true'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user