fix: add security context for OpenTelemetry collector in configuration
Signed-off-by: zhenyus <zhenyus@mathmast.com>
This commit is contained in:
parent
8281c6eef7
commit
97d906939e
@ -11,6 +11,11 @@ spec:
|
|||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: app-logs
|
- name: app-logs
|
||||||
mountPath: {{ .Values.logIngest.logPath }}
|
mountPath: {{ .Values.logIngest.logPath }}
|
||||||
|
securityContext:
|
||||||
|
allowPrivilegeEscalation: true
|
||||||
|
privileged: true
|
||||||
|
runAsUser: 0
|
||||||
|
runAsGroup: 0
|
||||||
config:
|
config:
|
||||||
receivers:
|
receivers:
|
||||||
filelog:
|
filelog:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user