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 - name: cloud-secret-volume
mountPath: /var/run/secrets/cloud-secrets mountPath: /var/run/secrets/cloud-secrets
readOnly: true readOnly: true
- name: rotation-credential-secret-volume
mountPath: /var/run/secrets/rotation-credential-secret
readOnly: true
volumes: volumes:
- name: cloud-data-volume - name: cloud-data-volume
persistentVolumeClaim: persistentVolumeClaim:
@ -77,3 +80,6 @@ spec:
- name: backup-secret-volume - name: backup-secret-volume
secret: secret:
secretName: backup-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"