Skip to content
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

georgettica/bump external snapshotter version #3201

Conversation

georgettica
Copy link
Contributor

@georgettica georgettica commented Dec 23, 2020

No description provided.

nrb and others added 30 commits December 23, 2020 11:19
* Move pkg/backup/item_hook_handler to internal/hoo

Signed-off-by: Nolan Brubaker <[email protected]>

* Add internal packages to test target

Signed-off-by: Nolan Brubaker <[email protected]>
* Add hooks fields to restore context

Signed-off-by: Andrew Reed <[email protected]>

* Changelog

Signed-off-by: Andrew Reed <[email protected]>
Use a GitHub Action to automatically assign GitHub PRs to the author, as
well as add reviewers.

Signed-off-by: Nolan Brubaker <[email protected]>
* add annotation key constants for restore hooks

Signed-off-by: Ashish Amarnath <[email protected]>
* Moved FAQ

Signed-off-by: Carlisia <[email protected]>

* Better entry point

Signed-off-by: Carlisia <[email protected]>
* Add types to implement restore hooks

Signed-off-by: Ashish Amarnath <[email protected]>
Signed-off-by: Steve Kriss <[email protected]>
…ware-tanzu#2754)

* Refactor image builds to use buildx for multi arch image building

Signed-off-by: Rob Reus <[email protected]>

* Adding image build sanity checks to Makefile

Signed-off-by: Rob Reus <[email protected]>

* Making locally building of docker images possible

Signed-off-by: Rob Reus <[email protected]>

* Adding docs on building container images using buildx

Signed-off-by: Rob Reus <[email protected]>

* Adding changelog and implementing feedback from PR

Signed-off-by: Rob Reus <[email protected]>

* Making GOPROXY used in the build containers configurable

Signed-off-by: Rob Reus <[email protected]>
…estic restore helper via plugin ConfigMap (vmware-tanzu#2792)

* Add the ability to set the `allowPrivilegeEscalation` security context attribute on the Restic restore helper init container.

Signed-off-by: Piper Dougherty <[email protected]>

* Add changelog.

Signed-off-by: Piper Dougherty <[email protected]>

* Fix old tests and add tests for new allowPrivilegeEscalation config option.

Signed-off-by: Piper Dougherty <[email protected]>

* Correct spelling in changelog.

Signed-off-by: Piper Dougherty <[email protected]>

* Switch to boolptr type.

Signed-off-by: Piper Dougherty <[email protected]>

* Reorder imports for sanity.

Signed-off-by: Piper Dougherty <[email protected]>
* added resource filtering page

Signed-off-by: mtritabaugh <[email protected]>

* added resource filtering page to v1.4

Signed-off-by: mtritabaugh <[email protected]>

* change  to  per style guide

Signed-off-by: mtritabaugh <[email protected]>
Added  option for --snapshot-location-config region as else it will give an error during backup - https://github.com/vmware-tanzu/velero-plugin-for-aws/issues/12

Signed-off-by: Alex Punnen <[email protected]>
)

* update docs to include cpu/memory defaults

Signed-off-by: Abigail McCarthy <[email protected]>

* fixes from review

Signed-off-by: Abigail McCarthy <[email protected]>

* updates from review

Signed-off-by: Abigail McCarthy <[email protected]>

* update to use kubectl patch command

Signed-off-by: Abigail McCarthy <[email protected]>

* update typos and add changes to 1.4 docs

Signed-off-by: Abigail McCarthy <[email protected]>
…ware-tanzu#2787)

* ✨ Implement restore hooks injecting init containers into pod spec

Signed-off-by: Ashish Amarnath <[email protected]>
The pull_request_target event is like pull_request, but runs in the
context of the target repo (Velero, in this case), instead of the fork.
This allows us to use the GitHub token secret as expected.

Signed-off-by: Nolan Brubaker <[email protected]>
* Add design doc for DeletionAction plugins

Signed-off-by: Nolan Brubaker <[email protected]>
…mware-tanzu#2776)

* Pass default-volumes-to-restic flag from create schedule to backup

Signed-off-by: Ashish Amarnath <[email protected]>
* add note about windows support

Signed-off-by: Abigail McCarthy <[email protected]>

* adding to 1.4 docs and adjusting wording to be more clear

Signed-off-by: Abigail McCarthy <[email protected]>
JenTing Hsiao and others added 21 commits December 23, 2020 11:19
…mware-tanzu#3092)

* Add default field to BSL CRD

Signed-off-by: JenTing Hsiao <[email protected]>

* Add a new flag `--default` under `velero backup-location create`

add a new flag `--default` under `velero backup-location create`
to specify this new location to be the new default BSL.

Signed-off-by: JenTing Hsiao <[email protected]>

* Add a new default field under `velero backup-location get`

add a new default field under `velero backup-location get` to indicate
which BSL is the default one.

Signed-off-by: JenTing Hsiao <[email protected]>

* Add a new sub-command and flag under `velero backup-location`

Add a new sub-command called `velero backup-location set` sub-command
and a new flag `velero backup-cation set --default` to configure which
BSL is the default one.

Signed-off-by: JenTing Hsiao <[email protected]>

* Add new flag to get the default backup-location

Add a new flag `--default` under `velero backup-location get`
to displays the current default BSL.

Signed-off-by: JenTing Hsiao <[email protected]>

* Configures default BSL in BSL controller

When upgrade the BSL CRDs, none of the BSL has been labeled as default.
Sets the BSL default field to true if the BSL name matches to the default BSL setting.

Signed-off-by: JenTing Hsiao <[email protected]>

* Configures the default BSL in BSL controller for velero upgrade

When upgrade the BSL CRDs, none of the BSL be marked as the default.
Sets the BSL `.spec.default: true` if the BSL name matches against the
`velero server --default-backup-storage-location`.

Signed-off-by: JenTing Hsiao <[email protected]>

* Add unit test to test default BSL behavior

Signed-off-by: JenTing Hsiao <[email protected]>

* Update check which one is the default BSL in backup/backup_sync/restore controller

Signed-off-by: JenTing Hsiao <[email protected]>

* Add changelog

Signed-off-by: JenTing Hsiao <[email protected]>

* Update docs locations.md and upgrade-to-1.6.md

Signed-off-by: JenTing Hsiao <[email protected]>
…mware-tanzu#3050)

* Draft design doc for restoring API group version by priority level

Signed-off-by: F. Gold <[email protected]>

* Make changes per @jenting review and use filepath to join paths

Signed-off-by: F. Gold <[email protected]>

* Update design doc with config map and k8s version priorities

Signed-off-by: F. Gold <[email protected]>

* Edit k8s doc URL per @jenting's review comment

Signed-off-by: F. Gold <[email protected]>

* Editorial changes

Signed-off-by: F. Gold <[email protected]>

* Changes per @nrb PR review and other edits

Signed-off-by: F. Gold <[email protected]>

* Update Status.FormatVersion check sections and minor edits

Signed-off-by: F. Gold <[email protected]>
As long as a milestone and the board have the same title, then this
workflow should take care of adding an issue into the GitHub Project
board when an existing issue is given a milestone.

It does NOT support checking for a milestone when an issue is edited or
created though, due to limitations on GitHub Actions syntax right now -
there's not a great way to validate against an empty `milestone` object
at the moment, per https://docs.github.com/en/free-pro-team@latest/actions/reference/context-and-expression-syntax-for-github-actions

Signed-off-by: Nolan Brubaker <[email protected]>

Signed-off-by: Nolan Brubaker <[email protected]>
…u#3095)

* -> Preserve nodePort support when restoring via "--preserve-nodeports" flag

Signed-off-by: Yusuf Güngör <[email protected]>

* -> Added changelog.

Signed-off-by: Yusuf Güngör <[email protected]>

* -> Unit test added.
-> Using boolptr.IsSetToTrue for bool ptr check.

Signed-off-by: Yusuf Güngör <[email protected]>

* -> Unit test added.
-> Using boolptr.IsSetToTrue for bool ptr check.

Signed-off-by: Yusuf Güngör <[email protected]>

* -> Other restore errors log level changed from info to error.
-> Documentation updated about Velero nodePort restore logic and preservation of them.

Signed-off-by: Yusuf Güngör <[email protected]>

Co-authored-by: Yusuf Güngör <[email protected]>
Per
alex-page/github-project-automation-plus#51,
the `GITHUB_TOKEN` secret doesn't have the appropriate permissions to
manage the issue workflows at a repo level. Reverting to the previous
secret to get the workflows working again.

Signed-off-by: Nolan Brubaker <[email protected]>
* remove checked in binary and update test/e2e Makefile

Signed-off-by: Ashish Amarnath <[email protected]>

* remove platform specific tests for now

Signed-off-by: Ashish Amarnath <[email protected]>

* install velero before running tests and robust makefiles

Signed-off-by: Ashish Amarnath <[email protected]>

* changelog

Signed-off-by: Ashish Amarnath <[email protected]>

* running e2e tests expects credentials file to be supplied
run e2e tests on velero/velero:main image by default

Signed-off-by: Ashish Amarnath <[email protected]>

* refactor to parameterize tests

Signed-off-by: Ashish Amarnath <[email protected]>

* rename files to use provider tests convention

Signed-off-by: Ashish Amarnath <[email protected]>

* rename tests file

Signed-off-by: Ashish Amarnath <[email protected]>

* remove providerName config

Signed-off-by: Ashish Amarnath <[email protected]>

* run kibishii test on azure

Signed-off-by: Ashish Amarnath <[email protected]>

* refactor to make bsl vsl configurable

Signed-off-by: Ashish Amarnath <[email protected]>

* skip e2e tests when not explicitly running e2e tests

Signed-off-by: Ashish Amarnath <[email protected]>

* update e2e docs

Signed-off-by: Ashish Amarnath <[email protected]>

* refactor and update docs

Signed-off-by: Ashish Amarnath <[email protected]>

* refactor

Signed-off-by: Ashish Amarnath <[email protected]>

* cleanup

Signed-off-by: Ashish Amarnath <[email protected]>

* use velero's exec package

Signed-off-by: Ashish Amarnath <[email protected]>

Co-authored-by: Dave Smith-Uchida <[email protected]>
It seems that Hugo does not support reference-style links. See the generated doc at velero.io:
https://velero.io/docs/v1.5/api-types/volumesnapshotlocation/#parameter-reference

Signed-off-by: Ferenc Nemeth <[email protected]>
This file is generated and has binary contents that we shouldn't be
modifying anyway.

Signed-off-by: Nolan Brubaker <[email protected]>
* added useOwnerReferencesInBackup to crd velerio.io_schedules

Signed-off-by: matheusjuvelino <[email protected]>

* added UseOwnerReferencesInBackup property to schedule.go

Signed-off-by: matheusjuvelino <[email protected]>

* deepcopy schedule configured for reference the property UseOwnerReferencesInBackup

Signed-off-by: matheusjuvelino <[email protected]>

* added UseOwnerReferencesInBackup property verification to modify OwnerReferences from backup

Signed-off-by: matheusjuvelino <[email protected]>

* created changelog

Signed-off-by: matheusjuvelino <[email protected]>

* removed deepcopy schedule configured for reference the property UseOwnerReferencesInBackup

Signed-off-by: matheusjuvelino <[email protected]>

* running make update

Signed-off-by: matheusjuvelino <[email protected]>

* running make update

Signed-off-by: matheusjuvelino <[email protected]>

* updated the year at the top of the schedule.go file for 2020

Signed-off-by: matheusjuvelino <[email protected]>
* Tencent S3 Compatible Surpport Docs

Signed-off-by: jokeyli <[email protected]>

* fixed typos & and CHANGELOG log

Signed-off-by: jokeyli <[email protected]>

* add changelog

Signed-off-by: jokeyli <[email protected]>

* add changelog

Signed-off-by: jokeyli <[email protected]>

* fixed suggestions

Signed-off-by: jokeyli <[email protected]>
…cesInBackup` option vmware-tanzu#3176 (vmware-tanzu#3182)

* resolve: vmware-tanzu#3176

Signed-off-by: matheusjuvelino <[email protected]>

* created changelog

Signed-off-by: matheusjuvelino <[email protected]>

* fixed use-owner-rferences-in-backup flag for use-owner-references-in-backup

Signed-off-by: matheusjuvelino <[email protected]>
This changes the codespell action config to use a relative path for the
generated crds.go file as the current pattern used fails the check used
by codespell (which uses the `fnmatch` module).

Signed-off-by: Bridget McErlean <[email protected]>
* Nominate JenTing Hsiao for core maintainer

Signed-off-by: Carlisia <[email protected]>

* Correct company names

Signed-off-by: Carlisia <[email protected]>
Signed-off-by: Carlisia <[email protected]>
@georgettica georgettica deleted the georgettica/bump-external-snapshotter-version branch December 23, 2020 09:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.