Merge "Add default AppArmor profile to prometheus-process-exporter"
This commit is contained in:
commit
790d421c9a
@ -50,6 +50,8 @@ spec:
|
||||
metadata:
|
||||
labels:
|
||||
{{ tuple $envAll "process_exporter" "metrics" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
|
||||
annotations:
|
||||
{{ dict "envAll" $envAll "podName" "process-exporter" "containerNames" (list "process-exporter") | include "helm-toolkit.snippets.kubernetes_mandatory_access_control_annotation" | indent 8 }}
|
||||
spec:
|
||||
securityContext:
|
||||
readOnlyRootFilesystem: true
|
||||
|
@ -37,6 +37,10 @@ labels:
|
||||
node_selector_value: enabled
|
||||
|
||||
pod:
|
||||
mandatory_access_control:
|
||||
type: apparmor
|
||||
process-exporter:
|
||||
process-exporter: localhost/docker-default
|
||||
affinity:
|
||||
anti:
|
||||
type:
|
||||
@ -87,7 +91,6 @@ pod:
|
||||
operator: Exists
|
||||
- key: node-role.kubernetes.io/node
|
||||
operator: Exists
|
||||
|
||||
dependencies:
|
||||
dynamic:
|
||||
common:
|
||||
|
Loading…
Reference in New Issue
Block a user