Commit 1beff94f by gitlawr Committed by Alena Prokharchyk

Update securityContext for monitoring containers

To make monitoring work when hardening rules are applied.
parent 1d95df5a
......@@ -16,6 +16,10 @@ spec:
tolerations:
{{- include "linux-node-tolerations" . | nindent 8}}
serviceAccountName: {{ template "app.fullname" . }}
securityContext:
runAsUser: 65534
runAsNonRoot: true
fsGroup: 65534
containers:
- name: operator-init-crds
image: {{ template "system_default_registry" . }}{{ .Values.image.repository }}:{{ .Values.image.tag }}
......
......@@ -198,7 +198,10 @@ exporter-kube-state:
## Already exist ServiceAccount
##
serviceAccountName: ""
securityContext: {}
securityContext:
runAsUser: 65534
runAsNonRoot: true
fsGroup: 65534
alertmanager:
enabled: false
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment