feat: mount restic-credentials secret into Prometheus
This commit is contained in:
@@ -41,6 +41,9 @@ spec:
|
|||||||
subPath: alerts.yml
|
subPath: alerts.yml
|
||||||
- name: prometheus-storage-volume
|
- name: prometheus-storage-volume
|
||||||
mountPath: /prometheus
|
mountPath: /prometheus
|
||||||
|
- name: restic-credentials
|
||||||
|
mountPath: /etc/prometheus/secrets/restic
|
||||||
|
readOnly: true
|
||||||
restartPolicy: Always
|
restartPolicy: Always
|
||||||
volumes:
|
volumes:
|
||||||
- name: prometheus-config-values
|
- name: prometheus-config-values
|
||||||
@@ -54,3 +57,6 @@ spec:
|
|||||||
- name: prometheus-storage-volume
|
- name: prometheus-storage-volume
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: prometheus-data
|
claimName: prometheus-data
|
||||||
|
- name: restic-credentials
|
||||||
|
secret:
|
||||||
|
secretName: restic-credentials
|
||||||
|
|||||||
Reference in New Issue
Block a user