Skip to content

Commit

Permalink
update: velero
Browse files Browse the repository at this point in the history
  • Loading branch information
codekow committed Oct 28, 2023
1 parent bf2b676 commit 4fa7fcf
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,26 @@ spec:
AWS_S3_ENDPOINT: ${AWS_S3_ENDPOINT}
AWS_S3_BUCKET: ${AWS_S3_BUCKET}
EOF
echo "Creating secret cloud-credentials"
cat << EOF | oc apply -f-
apiVersion: v1
kind: Secret
metadata:
name: cloud-credentials
type: Opqaue
stringData:
cloud: |
[default]
aws_access_key_id=${id}
aws_secret_access_key=${secret}
[backupStorage]
aws_access_key_id=${id}
aws_secret_access_key=${secret}
[volumeSnapshot]
aws_access_key_id=${id}
aws_secret_access_key=${secret}
EOF
restartPolicy: Never
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,9 @@ patches:
value:
bucket: ocp-cluster
prefix: default
- op: replace
path: /spec/configuration/restic/podConfig
value:
tolerations:
- effect: NoSchedule
operator: Exists

0 comments on commit 4fa7fcf

Please sign in to comment.