mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[prometheus-cloudwatch-exporter] Added securityContext configuration capabilities (#12405)
Signed-off-by: Maxime VISONNEAU <maxime.visonneau@gmail.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
6dc6a543e6
commit
9b4638fc70
@@ -2,7 +2,7 @@ apiVersion: v1
|
||||
appVersion: "0.5.0"
|
||||
description: A Helm chart for prometheus cloudwatch-exporter
|
||||
name: prometheus-cloudwatch-exporter
|
||||
version: 0.4.7
|
||||
version: 0.4.8
|
||||
home: https://github.com/prometheus/cloudwatch_exporter
|
||||
sources:
|
||||
- https://github.com/prometheus/cloudwatch_exporter
|
||||
|
||||
@@ -85,6 +85,7 @@ The following table lists the configurable parameters of the Cloudwatch Exporter
|
||||
| `ingress.labels` | Custom labels | `{}` |
|
||||
| `ingress.hosts` | Ingress accepted hostnames | `[]` |
|
||||
| `ingress.tls` | Ingress TLS configuration | `[]` |
|
||||
| `securityContext` | Security Context for the pod | `{}` |
|
||||
|
||||
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,
|
||||
|
||||
|
||||
@@ -100,6 +100,10 @@ spec:
|
||||
{{- end }}
|
||||
{{- with .Values.tolerations }}
|
||||
tolerations:
|
||||
{{ toYaml . | indent 8 }}
|
||||
{{- end }}
|
||||
{{- with .Values.securityContext }}
|
||||
securityContext:
|
||||
{{ toYaml . | indent 8 }}
|
||||
{{- end }}
|
||||
volumes:
|
||||
|
||||
@@ -148,3 +148,6 @@ ingress:
|
||||
# - secretName: chart-example-tls
|
||||
# hosts:
|
||||
# - chart-example.local
|
||||
|
||||
securityContext:
|
||||
runAsUser: 65534 # run as nobody user instead of root
|
||||
|
||||
Reference in New Issue
Block a user