add rotation-credential-volume to backup-restore-deployment

This commit is contained in:
Mirco 2024-04-12 11:27:23 +02:00
parent b08831c477
commit f072ff027d
2 changed files with 15 additions and 0 deletions

View file

@ -67,6 +67,9 @@ spec:
- name: cloud-secret-volume
mountPath: /var/run/secrets/cloud-secrets
readOnly: true
- name: rotation-credential-secret-volume
mountPath: /var/run/secrets/rotation-credential-secret
readOnly: true
volumes:
- name: cloud-data-volume
persistentVolumeClaim:
@ -77,3 +80,6 @@ spec:
- name: backup-secret-volume
secret:
secretName: backup-secret
- name: rotation-credential-secret-volume
secret:
secretName: rotation-credential-secret

View file

@ -0,0 +1,9 @@
apiVersion: v1
kind: Secret
metadata:
name: rotation-credential-secret
type: Opaque
data:
aws-access-key-id: "aws-access-key-id"
aws-secret-access-key: "aws-secret-access-key"
restic-password: "restic-password"