feat: mount restic-credentials secret into Prometheus

This commit is contained in:
2026-03-27 13:07:31 +00:00
parent fe65f34c05
commit 53ef9af83a
+6
View File
@@ -41,6 +41,9 @@ spec:
subPath: alerts.yml
- name: prometheus-storage-volume
mountPath: /prometheus
- name: restic-credentials
mountPath: /etc/prometheus/secrets/restic
readOnly: true
restartPolicy: Always
volumes:
- name: prometheus-config-values
@@ -54,3 +57,6 @@ spec:
- name: prometheus-storage-volume
persistentVolumeClaim:
claimName: prometheus-data
- name: restic-credentials
secret:
secretName: restic-credentials