Adnan Abdulhussein
f18d7300a8
changelog
...
Signed-off-by: Adnan Abdulhussein <aadnan@vmware.com >
2019-08-08 13:56:48 -07:00
Steve Kriss and GitHub
9d9c232729
add v1.1.0-beta.1 changelog ( #1733 )
...
Signed-off-by: Steve Kriss <krisss@vmware.com >
2019-08-07 07:51:46 -06:00
Steve Kriss and KubeKween
80692a8a39
Properly restore PVs with a reclaim policy of Retain and restic backups ( #1713 )
...
* reorganize persistent volume restore code for clarity
Signed-off-by: Steve Kriss <krisss@vmware.com >
2019-08-06 13:40:35 -07:00
KubeKween and Adnan Abdulhussein
4accb8512a
Restore from PodVolumeBackups ( #1723 )
...
* Restore from PodVolumeBackups
Signed-off-by: Carlisia <carlisiac@vmware.com >
* Partially address code reviews
Signed-off-by: Carlisia <carlisiac@vmware.com >
* Partially address code reviews #2
Signed-off-by: Carlisia <carlisiac@vmware.com >
* Clean up struct
Signed-off-by: Carlisia <carlisiac@vmware.com >
* Fix log messages
Signed-off-by: Carlisia <carlisiac@vmware.com >
* Fix tests
Signed-off-by: Carlisia <carlisiac@vmware.com >
* Clean up
Signed-off-by: Carlisia <carlisiac@vmware.com >
* Add changelog
Signed-off-by: Carlisia <carlisiac@vmware.com >
2019-08-06 13:17:36 -07:00
Adnan Abdulhussein and KubeKween
4e1b1f9457
use Backup CR labels as tags for snapshots ( #1729 )
...
* use Backup CR labels as tags for snapshots
This allows users to define custom tags to be added to snapshots, by
specifying custom labels on the Backup CR with the `velero backup create
--labels` flag.
Signed-off-by: Adnan Abdulhussein <aadnan@vmware.com >
2019-08-06 13:01:36 -07:00
Nolan Brubaker and Steve Kriss
a4e70456a1
Add resource limits to restic init container ( #1677 )
...
* Add resource limits to restic init container
Fixes #1201
Signed-off-by: Nolan Brubaker <brubakern@vmware.com >
* Start restic restore item action tests
Signed-off-by: Nolan Brubaker <brubakern@vmware.com >
* Get initial tests for restore action working
Signed-off-by: Nolan Brubaker <brubakern@vmware.com >
* Add new test case
Signed-off-by: Nolan Brubaker <brubakern@vmware.com >
* Move resource parsing into a shared function
Signed-off-by: Nolan Brubaker <brubakern@vmware.com >
* Fetch request/limits from plugin's ConfigMap
Signed-off-by: Nolan Brubaker <brubakern@vmware.com >
* Use builders
Signed-off-by: Nolan Brubaker <brubakern@vmware.com >
* Use moved ParseResourceRequirements function
Signed-off-by: Nolan Brubaker <brubakern@vmware.com >
* Move init container building inline
Signed-off-by: Nolan Brubaker <brubakern@vmware.com >
* Drop CPU limit down a bit and clarify error message
Signed-off-by: Nolan Brubaker <brubakern@vmware.com >
* Fix godoc
Signed-off-by: Nolan Brubaker <brubakern@vmware.com >
* Add resource requirements to doc
Signed-off-by: Nolan Brubaker <brubakern@vmware.com >
2019-08-05 13:18:11 -06:00
Nolan Brubaker and KubeKween
635dd27e1a
Make secret file optional on install ( #1699 )
...
* Make secret file optional on install
Fixes #1689
Signed-off-by: Nolan Brubaker <brubakern@vmware.com >
2019-08-01 15:57:36 -07:00
Adnan Abdulhussein and KubeKween
2a6929d453
add velero install flags for configuring restic resource requirements ( #1710 )
...
* add velero install flags for configuring restic resource requirements
Signed-off-by: Adnan Abdulhussein <aadnan@vmware.com >
2019-07-31 12:24:47 -07:00
Steve Kriss and Adnan Abdulhussein
b24a603711
periodically check for stale restic repo locks ( #1708 )
...
* periodically check for stale restic repo locks
Signed-off-by: Steve Kriss <krisss@vmware.com >
* changelog
Signed-off-by: Steve Kriss <krisss@vmware.com >
* only try to init a restic repo if it doesn't already exist
Signed-off-by: Steve Kriss <krisss@vmware.com >
* reword comment
Signed-off-by: Steve Kriss <krisss@vmware.com >
2019-07-31 10:52:23 -07:00
Steve Kriss and KubeKween
f2d06bc5e9
strip leading/trailing slashes from BSL bucket & prefix vals ( #1694 )
...
* strip leading/trailing slashes from BSL bucket & prefix vals
Signed-off-by: Steve Kriss <krisss@vmware.com >
2019-07-31 08:27:12 -07:00
carthewd and KubeKween
22eca22ac8
Add JSON as an option for log output ( #1654 )
...
* Add JSON as an option for log output
Signed-off-by: Donovan Carthew <donovan.carthew@gmail.com >
2019-07-30 16:29:34 -07:00
Adnan Abdulhussein and Nolan Brubaker
248ee89123
add configurable CPU/memory requests/limits for velero pod on install ( #1678 )
...
* add configurable CPU/memory requests/limits for velero pod on install
Signed-off-by: Adnan Abdulhussein <aadnan@vmware.com >
2019-07-29 15:13:06 -04:00
KubeKween and Nolan Brubaker
3b9af8c654
Store PodVolumeBackups in obj storage & use as source of truth ( #1577 )
...
* Store PodVolumeBackups in object storage
Signed-off-by: Carlisia <carlisiac@vmware.com >
2019-07-24 15:51:20 -04:00
Nolan Brubaker and Adnan Abdulhussein
aa8c0cd471
Honor kube client flags in install command ( #1656 )
...
Flags specifying the kubeconfig or kubecontext to use weren't actually
being used by the install command.
Fixes #1651
Signed-off-by: Nolan Brubaker <brubakern@vmware.com >
2019-07-17 14:19:14 -07:00
Nolan Brubaker and Steve Kriss
3124570c7f
Remove references to apps/v1beta1 API group ( #1673 )
...
* Remove references to apps/v1beta1 API group
In Kubernetes v1.16, the apps/v1 API group will be the default served
for relevant resources.
Update any references to apps/v1beta1 for fowards compatibility.
Fixes #1672
Signed-off-by: Nolan Brubaker <brubakern@vmware.com >
* Update API group on plugin commands
Signed-off-by: Nolan Brubaker <brubakern@vmware.com >
2019-07-17 15:03:48 -06:00
Steve Kriss and Adnan Abdulhussein
1bb167ef90
add restore item action to change PVC/PV storage class name ( #1621 )
...
* add restore item action to change PVC/PV storage class name
Signed-off-by: Steve Kriss <krisss@vmware.com >
* code review
Signed-off-by: Steve Kriss <krisss@vmware.com >
* change existing plugin names to lowercase/hyphenated
Signed-off-by: Steve Kriss <krisss@vmware.com >
* add validation for new storage class name
Signed-off-by: Steve Kriss <krisss@vmware.com >
* add test cases
Signed-off-by: Steve Kriss <krisss@vmware.com >
* changelog
Signed-off-by: Steve Kriss <krisss@vmware.com >
* fix imports
Signed-off-by: Steve Kriss <krisss@vmware.com >
* update plugin names to be more consistent
Signed-off-by: Steve Kriss <krisss@vmware.com >
* update unit tests to use pkg/test object constructors
Signed-off-by: Steve Kriss <krisss@vmware.com >
2019-07-15 11:19:38 -07:00
Nolan Brubaker and KubeKween
63964fc6f9
Append "/mount" to directory for CSI volumes ( #1615 )
...
CSI volumes are mounted one level deeper than "native" kubernetes
volumes, and this needs to be appended for proper restic support.
Fixes #1313 .
Signed-off-by: Nolan Brubaker <brubakern@vmware.com >
2019-07-10 15:16:21 -07:00
Nolan Brubaker and GitHub
7724464017
Merge pull request #1605 from Prajyot-Parab/add-ppc64le-support
...
enable support for ppc64le architecture
2019-07-09 13:43:11 -04:00
John Matthews
afa49f398f
bug fix: Fixed namespace usage with cli command 'version'
...
Signed-off-by: John Matthews <jwmatthews@gmail.com >
2019-07-07 13:54:46 -04:00
Traci Kamp and KubeKween
f829dabcf4
Add pod-annotations CLI flag to the install command ( #1626 )
...
* allow users to specify additional Velero/restic pod annotations on the command line with the pod-annotations flag
Signed-off-by: Traci Kamp <traci.kamp@gmail.com >
2019-07-03 15:22:34 -07:00
Adnan Abdulhussein and Steve Kriss
eec5cc687e
validate pod volumes hostpath mount on restic server startup ( #1616 )
...
Signed-off-by: Adnan Abdulhussein <aadnan@vmware.com >
2019-07-03 14:20:31 -06:00
Nolan Brubaker and GitHub
e371ba78b0
Merge pull request #1612 from skriss/restore-addl-items-bugs
...
properly filter additional items returned from restore item actions
2019-06-28 17:12:38 -04:00
Adnan Abdulhussein and Nolan Brubaker
2156124dfc
record PodVolumeBackup/Restore start and completion timestamps ( #1609 )
...
* record PodVolumeBackup start and completion timestamps
adds startTimestamp and completionTimestamp fields to the
PodVolumeBackup status spec
Signed-off-by: Adnan Abdulhussein <aadnan@vmware.com >
* record PodVolumeRestore start and completion timestamps
Signed-off-by: Adnan Abdulhussein <aadnan@vmware.com >
2019-06-28 11:58:02 -04:00
Steve Kriss
db393ec199
properly filter additional items returned from restore item actions
...
Signed-off-by: Steve Kriss <krisss@vmware.com >
2019-06-28 08:59:23 -06:00
Steve Kriss
75a96dfa92
fix bugs in finding applicable restore item actions
...
Signed-off-by: Steve Kriss <krisss@vmware.com >
2019-06-27 13:06:16 -06:00
root
764de79cf5
add changelog
...
Signed-off-by: root <root@prajyot-ppc-velero-client.novalocal >
2019-06-26 11:13:49 +00:00
Adnan Abdulhussein and Steve Kriss
b0bdaeea73
ensure correct backup item actions run with namespace selector ( #1601 )
...
* ensure correct backup item actions run with namespace selector
Signed-off-by: Adnan Abdulhussein <aadnan@vmware.com >
* changelog
Signed-off-by: Adnan Abdulhussein <aadnan@vmware.com >
* don't run backup item actions for namespace resources
Signed-off-by: Adnan Abdulhussein <aadnan@vmware.com >
* simplify cluster-scope resources checks
Signed-off-by: Adnan Abdulhussein <aadnan@vmware.com >
2019-06-24 15:50:25 -06:00
Adnan Abdulhussein and Nolan Brubaker
1f4139a5bf
allow exclusion of resources using standard label ( #1588 )
...
* allow exclusion of resources using standard label
excludes any resources with the velero.io/exclude-from-backup=true label
Signed-off-by: Adnan Abdulhussein <aadnan@vmware.com >
2019-06-19 10:58:02 -04:00
Adnan Abdulhussein and Steve Kriss
2d81e29276
ensure backup item action modifications reflected in tarball filepath ( #1587 )
...
* ensure backup item action modifications reflected in tarball filepath
This patch ensures the updated backup item's name and namespace are used
when constructing the filepath for the tarball.
Signed-off-by: Adnan Abdulhussein <aadnan@vmware.com >
* changelog
Signed-off-by: Adnan Abdulhussein <aadnan@vmware.com >
2019-06-18 12:19:00 -06:00
Adnan Abdulhussein and Steve Kriss
74b575200c
hide server commands in velero CLI ( #1561 )
...
* hide server commands in velero CLI
Signed-off-by: Adnan Abdulhussein <aadnan@vmware.com >
* changelog
Signed-off-by: Adnan Abdulhussein <aadnan@vmware.com >
* remove unnecessary comment
Signed-off-by: Adnan Abdulhussein <aadnan@vmware.com >
2019-06-10 19:20:17 -06:00
Steve Kriss and Adnan Abdulhussein
e183c4b597
remove glog ( #1559 )
...
* remove glog refs, replace with klog equivalents
Signed-off-by: Steve Kriss <krisss@vmware.com >
* remove glog from deps
Signed-off-by: Steve Kriss <krisss@vmware.com >
* changelog
Signed-off-by: Steve Kriss <krisss@vmware.com >
2019-06-10 15:44:44 -07:00
Steve Kriss and Adnan Abdulhussein
f0f7d31e1b
move issue-template-gen from docs/ to hack/ ( #1558 )
...
Signed-off-by: Steve Kriss <krisss@vmware.com >
2019-06-10 15:22:27 -07:00
Adnan Abdulhussein and KubeKween
d6c60b2dd5
fix panic when processing DeleteBackupRequest objs without labels ( #1556 )
...
This fix initialises an empty map if the request object's Labels map
is nil, allowing the controller to later add and modify labels on the
object.
Signed-off-by: Adnan Abdulhussein <aadnan@vmware.com >
2019-06-10 10:04:51 -07:00
Pranav Gaikwad and KubeKween
bb12cbd2d7
Support for multiple AWS profiles ( #1548 )
...
* added support for multiple AWS credential profiles
Signed-off-by: Pranav Gaikwad <pgaikwad@redhat.com >
2019-06-07 11:01:39 -07:00
coonsd and KubeKween
7d9fc88eb3
Signed-off-by: David Coons <coonsd@oregonstate.edu> ( #1550 )
2019-06-06 06:10:31 -07:00
KubeKween and Nolan Brubaker
0a771e6a53
Add cmd to list plugins ( #1535 )
...
* Add cmd to list plugins
Signed-off-by: Carlisia <carlisiac@vmware.com >
2019-06-05 13:41:02 -04:00
Steve Kriss and GitHub
bc7ee686d7
Merge pull request #1428 from guilhem/glob
...
Add ability to use wildcard in includes/excludes
2019-06-05 09:53:37 -06:00
Guilhem Lettron
81a26e4aad
Add ability to use wildcard in includes/excludes
...
Use https://github.com/gobwas/glob as glob engine
Fix #373
Signed-off-by: Guilhem Lettron <guilhem@barpilot.io >
2019-06-05 16:28:25 +02:00
KubeKween and Nolan Brubaker
0804f34644
Don't log error if restic volume is empty ( #1480 )
...
* Don't log error if restic volume is empty
Signed-off-by: Carlisia <carlisiac@vmware.com >
2019-05-30 12:48:21 -04:00
Steve Kriss and Nolan Brubaker
411d44a673
allow individual backup storage locations to be read-only ( #1517 )
...
* allow individual backup storage locations to be read-only
Signed-off-by: Steve Kriss <krisss@vmware.com >
2019-05-29 14:21:25 -04:00
Steve Kriss
e7e2e8c390
add 1.0 changelog
...
Signed-off-by: Steve Kriss <krisss@vmware.com >
2019-05-19 13:42:16 -06:00
Steve Kriss and GitHub
5d8df26b35
Merge pull request #1485 from skriss/0.11.1-cl-master
...
v0.11.1 changelog (in master branch)
2019-05-17 09:44:00 -07:00
Steve Kriss
c49e1ff0cc
change base images to ubuntu:bionic
...
Signed-off-by: Steve Kriss <krisss@vmware.com >
2019-05-15 12:56:20 -07:00
Steve Kriss
95d2d47b77
v0.11.1 changelog
...
Signed-off-by: Steve Kriss <krisss@vmware.com >
2019-05-15 09:45:19 -07:00
Steve Kriss
8c2c96adeb
add changelog for v1.0.0-rc.1
...
Signed-off-by: Steve Kriss <krisss@vmware.com >
2019-05-10 09:05:22 -06:00
Fábio Franco Uechi and Steve Kriss
58d34700da
Add new gauge to hold the timestamp of the last successful backup ( #1448 )
...
* add new gauge to hold the timestamp of the last sucessfull backup
Signed-off-by: fabito <fuechi@ciandt.com >
* add changelog entry
Signed-off-by: fabito <fuechi@ciandt.com >
* fix gauge name
Signed-off-by: fabito <fuechi@ciandt.com >
* renaming metric to backup_last_successful_timestamp
Signed-off-by: fabito <fuechi@ciandt.com >
* fix typo
Signed-off-by: fabito <fuechi@ciandt.com >
* ✏️ fix typo II
Signed-off-by: fabito <fuechi@ciandt.com >
* 🔀 rename method
Signed-off-by: fabito <fuechi@ciandt.com >
2019-05-08 07:00:26 -06:00
Fábio Franco Uechi and Nolan Brubaker
24d28c8633
Check for backup existence before download ( #1447 )
...
* check for backup existence in download command
Signed-off-by: fabito <fuechi@ciandt.com >
2019-05-06 12:24:29 -04:00
Steve Kriss
4352158435
add v0.11.1-beta.1 changelog
...
Signed-off-by: Steve Kriss <krisss@vmware.com >
2019-05-03 12:49:49 -06:00
Steve Kriss
71f358c160
add v1.0.0-beta.1 changelog
...
Signed-off-by: Steve Kriss <krisss@vmware.com >
2019-05-03 12:49:49 -06:00
Nolan Brubaker and KubeKween
884e512f93
Use latest container image when version is empty ( #1439 )
...
When using `velero install`, the image used should be a reasonable
default, even if buildinfo.Version is missing (such as when using `go
build` directly).
Signed-off-by: Nolan Brubaker <brubakern@vmware.com >
2019-05-03 11:10:47 -07:00