add rotation-credential-volume to backup-restore-deployment
This commit is contained in:
parent
b08831c477
commit
f072ff027d
2 changed files with 15 additions and 0 deletions
|
@ -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
|
||||||
|
|
9
src/main/resources/backup/credential-rotation.yaml
Normal file
9
src/main/resources/backup/credential-rotation.yaml
Normal 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"
|
Loading…
Reference in a new issue