Skip to content

Commit

Permalink
patch prometheus security resources
Browse files Browse the repository at this point in the history
  • Loading branch information
eumel8 committed Sep 18, 2023
1 parent bffe682 commit 2a47eae
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions templates/prometheus-patch.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
apiVersion: monitoring.coreos.com/v1
kind: Prometheus
metadata:
name: project-monitoring-prometheus
spec:
containers:
- name: config-reloader
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
privileged: false
readOnlyRootFilesystem: true
runAsUser: 1000
runAsGroup: 1000
securityContext:
fsGroup: 1000
supplementalGroups:
- 1000

0 comments on commit 2a47eae

Please sign in to comment.