mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
Add custom security capabilities to the daemonset (#14942)
Signed-off-by: ChiefAlexander <alex.harder@fishtech.group>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
9d7bc791cd
commit
5be1dd36fb
@@ -2,7 +2,7 @@ apiVersion: v1
|
||||
description: A Helm chart to collect Kubernetes logs with metricbeat
|
||||
icon: https://www.elastic.co/assets/blt47799dcdcf08438d/logo-elastic-beats-lt.svg
|
||||
name: metricbeat
|
||||
version: 1.6.4
|
||||
version: 1.7.0
|
||||
appVersion: 6.7.0
|
||||
home: https://www.elastic.co/products/beats/metricbeat
|
||||
sources:
|
||||
|
||||
@@ -61,6 +61,7 @@ The following table lists the configurable parameters of the metricbeat chart an
|
||||
| `daemonset.resources.requests.cpu` | CPU resource requests for daemonset | |
|
||||
| `daemonset.resources.limits.cpu` | CPU resource limits for daemonset | |
|
||||
| `daemonset.hostNetwork` | Leverage host network interfaces | `true` |
|
||||
| `daemonset.capabilities` | Add security capabilities to the daemonset | `[]` |
|
||||
| `daemonset.dnsPolicy` | Pod DNS Policy | `ClusterFirstWithHostNet` |
|
||||
| `deployment.enabled` | If true, enable deployment | |
|
||||
| `deployment.args` | Custom arguments for the docker command | |
|
||||
|
||||
@@ -65,6 +65,11 @@ spec:
|
||||
{{- end }}
|
||||
securityContext:
|
||||
runAsUser: 0
|
||||
{{- if .Values.daemonset.capabilities }}
|
||||
capabilities:
|
||||
add:
|
||||
{{ toYaml .Values.daemonset.capabilities | indent 12 }}
|
||||
{{- end }}
|
||||
resources:
|
||||
{{- if .Values.daemonset.resources }}
|
||||
{{ toYaml .Values.daemonset.resources | indent 10 }}
|
||||
|
||||
Reference in New Issue
Block a user