Add busy box init contianer for perms
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Tyler Perkins 2023-11-10 23:26:52 -05:00
parent b2e321ee52
commit 0614356a92

View File

@ -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