Skip to content

Commit f5c459c

Browse files
committed
fix: securityContext path
1 parent a0051c4 commit f5c459c

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

kubernetes-services/templates/prometheus.yaml

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -71,17 +71,18 @@ spec:
7171
storageClassName: longhorn
7272
accessModes: ["ReadWriteOnce"]
7373
size: 1Gi
74-
securityContext:
75-
runAsNonRoot: false
76-
runAsUser: 0
77-
seccompProfile:
78-
type: RuntimeDefault
79-
capabilities:
80-
add:
81-
- CHOWN
82-
- DAC_READ_SEARCH
83-
drop:
84-
- ALL
74+
initChownData:
75+
securityContext:
76+
runAsNonRoot: false
77+
runAsUser: 0
78+
seccompProfile:
79+
type: RuntimeDefault
80+
capabilities:
81+
add:
82+
- CHOWN
83+
- DAC_READ_SEARCH
84+
drop:
85+
- ALL
8586
- path: ./kubernetes-services/additions/prometheus
8687
repoURL: https://github.com/procinger/turing-pi-v2-cluster.git
8788
targetRevision: main

0 commit comments

Comments
 (0)