Compare commits
2 commits
e396880365
...
96343b9af5
Author | SHA1 | Date | |
---|---|---|---|
96343b9af5 | |||
f072ff027d |
2 changed files with 15 additions and 0 deletions
|
@ -68,6 +68,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:
|
||||
|
@ -78,3 +81,6 @@ spec:
|
|||
- name: backup-secret-volume
|
||||
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