fix: add security context for OpenTelemetry collector in configuration

Signed-off-by: zhenyus <zhenyus@mathmast.com>
This commit is contained in:
zhenyus 2025-04-16 06:46:10 +08:00
parent 8281c6eef7
commit 97d906939e

View File

@ -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: