Add busy box init contianer for perms
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
b2e321ee52
commit
0614356a92
@ -15,6 +15,13 @@ spec:
|
||||
labels:
|
||||
app: prometheus
|
||||
spec:
|
||||
initContainers:
|
||||
- name: prometheus-data-permission-fix
|
||||
image: busybox
|
||||
command: ["/bin/chmod","-R","777", "/prometheus"]
|
||||
volumeMounts:
|
||||
- name: prometheus-storage
|
||||
mountPath: /prometheus
|
||||
containers:
|
||||
- name: prometheus
|
||||
image: prom/prometheus:v2.27.1
|
||||
|
Loading…
Reference in New Issue
Block a user