Commit Graph

566 Commits (50d4084facf6e1e41cfa69fb9497a8570df0c167)

Author SHA1 Message Date
Steve Kriss ba299f880f in GetAllBackups don't error if single backup is unreadable
Signed-off-by: Steve Kriss <steve@heptio.com>
2017-09-05 09:56:37 -07:00
Andy Goldstein 43c74e33c2 Merge pull request #57 from skriss/restore_missing_backup_fix
during restore, try to get backup directly from obj storage if not in cache/API
2017-09-05 12:47:13 -04:00
Andy Goldstein 7ec0407756 Merge pull request #61 from jrnt30/aws-paging
AWS Paging Support
2017-09-05 12:46:05 -04:00
Steve Kriss f07a70c604 during restore, try to get backup directly from obj storage if not in cache/API
Signed-off-by: Steve Kriss <steve@heptio.com>
2017-09-05 09:25:39 -07:00
Justin Nauman c0e94a4c1a Allow default kubeconfig resolution
- Changed the default kubeconfig loading to utilize
the client-go's loader strategy.  This allows users
to use the Ark client without having to explicitly
define a KUBECONFIG env var or argument.

This more closely resemebles how Kubectl works and users
are probably more used to while preserving the
current rules.

Signed-off-by: Justin Nauman <justin.r.nauman@gmail.com>
2017-08-28 07:56:57 -05:00
Justin Nauman f017a23d41 AWS Paging Support
- Adding in paging support for the S3 and Snapshot
AWS integration.

As a testing note, you can add in a a MaxKeys to the S3
request as an easy way to ensure that paging is working
properly without having to creation over 1k backups.

Signed-off-by: Justin Nauman <justin.r.nauman@gmail.com>
2017-08-28 05:49:39 -05:00
Andy Goldstein b20feee7f9 Merge pull request #43 from skriss/pvprovider_optional
make PVProvider optional in server config; disallow snap/restore PVs …
2017-08-23 12:59:59 -04: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
Andy Goldstein 3ca085eb58 Merge pull request #45 from jrnt30/snapshot-restore-defaults
Snapshot and restore volumes by default
2017-08-22 09:08:03 -04:00
Justin Nauman 618de63d23 Doc updates where volume flags are concered
Signed-off-by: Justin Nauman <justin.r.nauman@gmail.com>
2017-08-21 09:48:07 -05:00
Justin Nauman d39d6f96fa Adjusting docs and example
- Removed explicit setting of snapshot flags
- Removed node selector on replicaset to reduce manual steps for users

Signed-off-by: Justin Nauman <justin.r.nauman@gmail.com>
2017-08-21 09:47:42 -05:00
Justin Nauman fc8f27c997 Adjusting PV example to only one replica
- The two replicas contend for single PVC with the defined toplogy.  Could adjust to SS but kept it simple for now

Signed-off-by: Justin Nauman <justin.r.nauman@gmail.com>
2017-08-21 09:47:11 -05:00
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
Jessica Yao e993dd0cbd Merge pull request #47 from abiogenesis-now/jyao/add-release-doc-warning
[docs] Add warnings about doc changes between releases
2017-08-18 14:46:50 -07:00
Jessica Yao e793aa1626 Merge pull request #51 from skriss/azure-docs-typo
fix mismatch between created and referenced SP name
2017-08-17 16:20:40 -07:00
Steve Kriss 80032639f1 fix mismatch between created and referenced SP name
Signed-off-by: Steve Kriss <steve@heptio.com>
2017-08-17 15:37:38 -07:00
Jessica Yao ef9eafacb4 address comments
Signed-off-by: Jessica Yao <jessica@heptio.com>
2017-08-16 14:03:05 -07:00
Jessica Yao e19d964042 simplify local build instructions
Signed-off-by: Jessica Yao <jessica@heptio.com>
2017-08-16 10:36:31 -07:00
Jessica Yao a57bd1698b add comment about local images and container tags
Signed-off-by: Jessica Yao <jessica@heptio.com>
2017-08-16 09:35:24 -07:00
Jessica Yao 462e5443a8 use same versioning warning across the board
Signed-off-by: Jessica Yao <jessica@heptio.com>
2017-08-15 13:03:30 -07:00
Jessica Yao 91ba076cce add warnings about doc changes between releases
Signed-off-by: Jessica Yao <jessica@heptio.com>
2017-08-15 10:18:31 -07:00
Andy Goldstein 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 a865cb87ee Merge pull request #37 from skriss/iops_fix
only save/use iops for io1 volumes
2017-08-14 15:24:30 -04:00
Andy Goldstein 41e7861558 Merge pull request #29 from DG-i/feature/s3-ss3-kms-support
Add support for S3 SSE with KMS
2017-08-14 15:12:29 -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 3ba422af58 update Godeps/vendor (add Azure subscriptions API)
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 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
Steve Kriss bc08174e10 Merge pull request #31 from ncdc/cron-parse-standard
Schedules: treat 1st cron field as minutes
2017-08-10 09:55:42 -07:00
Andy Goldstein 973968fedd Prep for v0.3.3
Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com>
2017-08-10 12:45:25 -04: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 35b865dfcf Merge pull request #13 from skriss/version-0.3.2
bump version to 0.3.2
2017-08-07 13:30:48 -04:00
Steve Kriss 0c86e54a92 bump version to 0.3.2
Signed-off-by: Steve Kriss <steve@heptio.com>
2017-08-07 09:54:53 -07:00
Steve Kriss 695816af52 Merge pull request #12 from ncdc/remove-k8s-apiextensions-import
Remove k8s.io/apiextensions-apiserver from vendor
2017-08-07 09:54:15 -07: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
Steve Kriss 46cbb8745b Merge pull request #11 from ncdc/add-client-go-auth-providers
Add client-go auth provider plugins
2017-08-07 09:32:23 -07: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 9fc9be4832 Match client-go revs for go-spew and testify
Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com>
2017-08-07 11:21:18 -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
Jessica Yao 045e5380d2 Merge pull request #9 from williamsandrew/minor-doc-fixup
Small documentation fix
2017-08-04 14:17:59 -07:00
Andrew Williams 8cd5be9cf8 Remove snapshot text from "No PVs" section
Signed-off-by: Andrew Williams <williams.andrew@gmail.com>
2017-08-04 14:54:01 -05:00
Andy Goldstein 8fa168e27d Merge pull request #8 from skriss/pv-restore-docs-updates
update docs for restoring PVs from snapshot
2017-08-04 15:04:35 -04:00
Steve Kriss 1faa970ce2 update docs for restoring PVs from snapshot
Signed-off-by: Steve Kriss <steve@heptio.com>
2017-08-04 11:56:46 -07:00
Jessica Yao 3b887d36a3 Merge pull request #7 from castrojo/master
Add support.md
2017-08-04 11:16:49 -07:00