Justin Nauman
2457d8f116
Removing instead of deprecating Namespace attr
...
- Per discussion, there is no reason to deal
with the complexity of backwards compatibility
with the Namespace attribute on the Restore
domain.
- Also noticed there was an error on the
validation of the BackupController where
the message would actually just be the index
of the error and not the contents of the message
itself.
Signed-off-by: Justin Nauman <justin.r.nauman@gmail.com >
2017-09-05 17:18:10 -05:00
Justin Nauman
b50a046370
Additional Validation on Include/Exclude
...
- Adding in additional test to ensure *Namespaces attributes
don't directly conflict logically with one another
- Additional PR changes around naming/typos
Signed-off-by: Justin Nauman <justin.r.nauman@gmail.com >
2017-09-05 17:17:46 -05:00
Justin Nauman
af2a792a9a
Allows explicit include/exclude of namespaces on restores
...
- Introduces similar Include/Exclude declaration on the Restore
resource and cli flags
- Kept support for legacy Namespaces attribute until it could be
deprecating. Defining both IncludeNamespaces and Namespaces results
in a validation error and the Restore will not be processed (shouldn't
be able to occur)
Signed-off-by: Justin Nauman <justin.r.nauman@gmail.com >
2017-09-05 17:17:41 -05:00
Steve Kriss
768aed4ddd
make --snapshot-volumes, --restore-volumes optional with sensible default behavior based on PVProvider existence
...
Signed-off-by: Steve Kriss <steve@heptio.com >
2017-08-23 09:47:52 -07:00
Steve Kriss
8d5c8ffcbb
get rid of StorageAdapter structs and move validation into block/object
...
Signed-off-by: Steve Kriss <steve@heptio.com >
2017-08-23 09:46:15 -07:00
Steve Kriss
ebc06fd632
make PVProvider optional in server config; disallow snap/restore PVs when not provided
...
Signed-off-by: Steve Kriss <steve@heptio.com >
2017-08-23 09:46:15 -07:00
Justin Nauman and Justin Nauman
3ea9899140
Adding in defaults for backup creation and restore
...
Signed-off-by: Justin Nauman <justin.r.nauman@gmail.com >
2017-08-21 09:47:11 -05:00
Andy Goldstein and GitHub
c088470ba5
Merge pull request #35 from skriss/server_config_validation
...
validate cloud-provider config at startup & make PVProvider optional
2017-08-14 16:03:15 -04:00
Steve Kriss
726bbbb393
add zone/location validation to cloudprovider constructors
...
Signed-off-by: Steve Kriss <steve@heptio.com >
2017-08-14 12:56:12 -07:00
Andy Goldstein and GitHub
a865cb87ee
Merge pull request #37 from skriss/iops_fix
...
only save/use iops for io1 volumes
2017-08-14 15:24:30 -04:00
Steve Kriss
c2271776cc
remove unused params from GCP objectStorageAdapter
...
Signed-off-by: Steve Kriss <steve@heptio.com >
2017-08-14 10:56:05 -07:00
Steve Kriss
aff57e0571
switch to int64 for iops val
...
Signed-off-by: Steve Kriss <steve@heptio.com >
2017-08-14 09:42:43 -07:00
Mathias Merscher
df320d7bf3
adds support for S3 SSE with KMS
...
Signed-off-by: Mathias Merscher <Mathias.Merscher@dg-i.net >
2017-08-14 18:18:19 +02:00
Andy Goldstein and GitHub
e966eb9ab0
Merge pull request #38 from skriss/cluster-only-restore-err
...
check for namespaces/ dir before reading it
2017-08-14 09:46:50 -04:00
Steve Kriss
49809b0a59
check for namespaces/ dir before reading it
...
Signed-off-by: Steve Kriss <steve@heptio.com >
2017-08-11 14:05:06 -07:00
Steve Kriss
c41c958777
only save/use iops for io1 volumes
...
Signed-off-by: Steve Kriss <steve@heptio.com >
2017-08-11 13:33:01 -07:00
Andy Goldstein
680e17815b
Schedules: treat 1st cron field as minutes
...
Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com >
2017-08-10 12:44:00 -04:00
Andy Goldstein
e0d2a2d4d0
Remove k8s.io/apiextensions-apiserver from vendor
...
Remove k8s.io/apiextensions-apiserver since we're no longer registering
CRDs in code.
Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com >
2017-08-07 12:38:07 -04:00
Andy Goldstein
9dcff62f1a
Pull in azure, gcp, oidc client-go auth provider plugins
...
Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com >
2017-08-07 11:24:22 -04:00
Andy Goldstein
2c9d22771c
Use NoError instead of NoErrorf
...
Prepping to roll back to the same version of testify that client-go
uses, and that does not have NoErrorf.
Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com >
2017-08-07 11:20:38 -04:00
Andy Goldstein
d5953b3772
Simplify check for owner references
...
Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com >
2017-08-02 17:10:39 -04:00
Andy Goldstein
2fe501f527
Initial commit
...
Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com >
2017-08-02 13:27:17 -04:00