New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[addon module] velero - update version and add required values #693
Conversation
add create bucket
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bucket creation should be left out of the addon/module - there are a number of possible settings for S3 buckets and this is better left up to users to configure rather than the module here
OK, then I will remove bucket creation code. |
provider: aws | ||
backupStorageLocation: | ||
bucket: ${bucket} | ||
volumeSnapshotLocation: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could you elaborate on some of these changes, why they are important as defaults, etc. please
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please refer to https://github.com/vmware-tanzu/velero-plugin-for-aws/blob/main/volumesnapshotlocation.md
it is required value.
When you don't use volumeSnapshotLocation.region
, install could be success,
but backup always Partialy Failed
,
it shows
$ velero backup logs daily-backup3 | grep -v "level=info"
time="2022-06-28T05:19:27Z" level=error msg="Error getting volume snapshotter for volume snapshot location" backup=velero/daily-backup3 error="rpc error: code = Unknown desc = missing region in aws configuration" error.file="/go/src/velero-plugin-for-aws/velero-plugin-for-aws/volume_snapshotter.go:82" error.function="main.(*VolumeSnapshotter).Init" logSource="pkg/backup/item_backupper.go:453" name=pvc-60373ea9-b6cd-4a62-8eb8-d51f3eb0e64c namespace= persistentVolume=pvc-60373ea9-b6cd-4a62-8eb8-d51f3eb0e64c resource=persistentvolumes volumeSnapshotLocation=default
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CI failure is unrelated to this change - thanks for the update @Hokwang
…a#693) Co-authored-by: Hokwang Lee <hk.lee@hybecorp.com>
What does this PR do?
user can create bucket in moduleMotivation
More
pre-commit run -a
with this PRNote: Not all the PRs required examples and docs except a new pattern or add-on added.
For Moderators
Additional Notes