James Powis
a5cb2ce4b7
Change from regex matching default-token to prefix SA-token-
...
Signed-off-by: James Powis <powisj@gmail.com >
2018-09-19 13:06:10 -06:00
Steve Kriss
1dda7b91cc
Merge pull request #842 from disrani-px/patch-1
...
Fix Portworx name in doc
2018-09-12 15:07:24 -06:00
Dinesh Israni
468006e619
Fix Portworx name in doc
...
Signed-off-by: Dinesh Israni <disrani@portworx.com >
2018-09-12 13:33:31 -07:00
Steve Kriss
3eb1160301
Merge pull request #835 from nrb/fix-833
...
Make fsfreeze image building consistent
2018-09-12 09:48:34 -06:00
Nolan Brubaker
e6b44539a5
Make fsfreeze image building consistent
...
Due to the version of docker used to build images, the Dockerfile used
with -f must be in the same directory that's used for the context. Copy
the Dockerfile into the _output directory and make the custom targets
more closely match the standard ones.
Fixes #833
Signed-off-by: Nolan Brubaker <nolan@heptio.com >
2018-09-12 01:15:54 -04:00
Carlisia
69e2f51fbe
Merge pull request #801 from ljakimczuk/master
...
Claim ownership of new AWS volumes by Kubernetes cluster restoring the backup
2018-09-10 14:03:06 -07:00
Lukasz Jakimczuk
ffef86e38d
Adding support for the AWS_CLUSTER_NAME env variable allowing to claim volumes ownership
...
Signed-off-by: Lukasz Jakimczuk <ljakimczuk@gmail.com >
Moving check for environment variable outside the loop
Signed-off-by: Lukasz Jakimczuk <ljakimczuk@gmail.com >
Insert a note about AWS_CLUSTER_NAME in the aws-config doc
Signed-off-by: Lukasz Jakimczuk <ljakimczuk@gmail.com >
Improving implementation and documentation
Signed-off-by: Lukasz Jakimczuk <ljakimczuk@gmail.com >
Changing instructions, adding unit test for getTagsForCluster and removing duplicated Lookup
Signed-off-by: Lukasz Jakimczuk <ljakimczuk@gmail.com >
Commit after update
Signed-off-by: Lukasz Jakimczuk <ljakimczuk@gmail.com >
Correcting bad formatting in aws-config.md
Signed-off-by: Lukasz Jakimczuk <ljakimczuk@gmail.com >
2018-09-10 22:34:33 +02:00
Steve Kriss
a6dbfe822f
Merge pull request #832 from nrb/doc-plugin-naming
...
Document single binary plugins
2018-09-10 10:02:43 -06:00
Nolan Brubaker
cda3dff8e3
Document single binary plugins
...
Signed-off-by: Nolan Brubaker <nolan@heptio.com >
2018-09-07 17:35:13 -04:00
Steve Kriss
7c36d80ee2
Merge pull request #829 from nrb/rm-roadmap
...
Remove ROADMAP.md, update ZenHub link to Ark board
2018-09-07 14:01:38 -06:00
Nolan Brubaker
f049e0787b
Remove ROADMAP.md, update ZenHub link to Ark board
...
ROADMAP.md has fallen out of date, and is superceded by ZenHub.
Signed-off-by: Nolan Brubaker <nolan@heptio.com >
2018-09-07 15:47:48 -04:00
Nolan Brubaker
c9a9dd4508
Merge pull request #824 from skriss/generic-controllers
...
convert all controllers to use genericController, logContext -> log
2018-09-07 14:20:22 -04:00
Steve Kriss
086d0667de
Merge pull request #823 from nrb/sig-error-docs
...
Document SignatureDoesNotMatch error and triaging
2018-09-07 09:51:12 -06:00
Steve Kriss
94617b302d
convert all controllers to use genericController, logContext -> log
...
Signed-off-by: Steve Kriss <steve@heptio.com >
2018-09-07 09:38:58 -06:00
Nolan Brubaker
779cb42854
Document SignatureDoesNotMatch error and triaging
...
Fixes #714
Signed-off-by: Nolan Brubaker <nolan@heptio.com >
2018-09-07 11:24:59 -04:00
Carlisia
44a75cee7b
Merge pull request #820 from skriss/azure-restic-fix
...
set azure restic env vars based on default backup location's config
2018-09-06 13:01:45 -07:00
Carlisia
92283a52d6
Merge pull request #800 from skriss/prefixes-final
...
Enable Ark to store backups/etc. under a prefix within an object storage bucket
2018-09-06 10:10:56 -07:00
Steve Kriss
7d8813a96c
move ObjectStore mock into pkg/cloudprovider/mocks
...
Signed-off-by: Steve Kriss <steve@heptio.com >
2018-09-06 10:53:58 -06:00
Steve Kriss
f0edf7335f
add a BackupStore to pkg/persistence that supports prefixes
...
Signed-off-by: Steve Kriss <steve@heptio.com >
2018-09-06 10:53:58 -06:00
Steve Kriss
af64069d65
create pkg/persistence and move relevant code from pkg/cloudprovider into it
...
Signed-off-by: Steve Kriss <steve@heptio.com >
2018-09-06 09:05:40 -06:00
Steve Kriss
29d75d72e2
move object and block store interfaces to their own files
...
Signed-off-by: Steve Kriss <steve@heptio.com >
2018-09-06 09:05:40 -06:00
Steve Kriss
bc516112da
Merge pull request #815 from waynz0r/schedule-backup-labels
...
Set schedule labels to subsequent backups
2018-09-06 07:47:24 -07:00
Zsolt Varga
211aa7b7fd
Set schedule labels to subsequent backups
...
Signed-off-by: Zsolt Varga <zsolt.varga@console.hu >
2018-09-06 10:06:18 +02:00
Nolan Brubaker
5ccc27aaed
Merge pull request #795 from wwitzel3/hooks-with-pv
...
Update Pre/Post hooks example.
2018-09-05 16:46:24 -04:00
Steve Kriss
d34994cb5f
set azure restic env vars based on default backup location's config
...
Signed-off-by: Steve Kriss <steve@heptio.com >
2018-09-05 14:31:42 -06:00
Steve Kriss
ae373bdbfb
Merge pull request #818 from nrb/v0.9.4-changelog-master
...
Update CHANGELOG for v0.9.4
2018-09-05 09:20:56 -07:00
Nolan Brubaker
889f0af5b8
Update CHANGELOG for v0.9.4
...
Signed-off-by: Nolan Brubaker <nolan@heptio.com >
2018-09-05 12:13:15 -04:00
Wayne Witzel III
a8c42ab245
fix GH md link
...
Signed-off-by: Wayne Witzel III <wayne@riotousliving.com >
2018-08-29 16:15:35 -04:00
Steve Kriss
283a1349bd
Merge pull request #792 from nrb/pflag-update
...
Update pflag version
2018-08-28 14:08:32 -07:00
Nolan Brubaker
a50367f148
Regenerate CLI docs
...
Signed-off-by: Nolan Brubaker <nolan@heptio.com >
2018-08-28 16:57:52 -04:00
Nolan Brubaker
7bc27bbbfd
Pin cobra version
...
Signed-off-by: Nolan Brubaker <nolan@heptio.com >
2018-08-28 16:56:00 -04:00
Nolan Brubaker
e94277ac4d
Update pflag version
...
Fixes #767
Signed-off-by: Nolan Brubaker <nolan@heptio.com >
2018-08-28 16:54:02 -04:00
Steve Kriss
7aadc39cd6
Merge pull request #799 from heptio/backup-locations
...
Replace config.backupStorageProvider with backup storage locations
2018-08-28 13:42:41 -07:00
Steve Kriss
df69b274a0
azure: update documentation and examples
...
Signed-off-by: Steve Kriss <steve@heptio.com >
2018-08-28 13:19:21 -07:00
Steve Kriss
cb321db21f
azure: refactor to not use helpers/ pkg, validate all env/config inputs
...
Signed-off-by: Steve Kriss <steve@heptio.com >
2018-08-28 13:19:21 -07:00
Steve Kriss
9d7ea7483c
azure: support different RGs/storage accounts per backup location
...
Signed-off-by: Steve Kriss <steve@heptio.com >
2018-08-28 13:19:21 -07:00
Steve Kriss
cd4e9f5336
azure: fix for breaking change in blob.GetSASURI
...
Signed-off-by: Steve Kriss <steve@heptio.com >
2018-08-28 13:19:21 -07:00
Steve Kriss
a440029c2f
bump Azure SDK version and include storage mgmt package
...
Signed-off-by: Steve Kriss <steve@heptio.com >
2018-08-28 13:19:21 -07:00
Steve Kriss
b31e25bf6e
server: remove unused code, replace deprecated func
...
Signed-off-by: Steve Kriss <steve@heptio.com >
2018-08-28 13:19:21 -07:00
Steve Kriss
729d733986
controllers: take a newPluginManager func in constructors
...
Signed-off-by: Steve Kriss <steve@heptio.com >
2018-08-28 13:19:21 -07:00
Nolan Brubaker
6445dbf1c7
Update examples and docs for backup locations
...
Signed-off-by: Nolan Brubaker <nolan@heptio.com >
2018-08-28 13:19:21 -07:00
Steve Kriss
133dc185ca
backup sync: process the default location first
...
Signed-off-by: Steve Kriss <steve@heptio.com >
2018-08-28 13:19:21 -07:00
Steve Kriss
7a1e6d16cc
generic controller: allow controllers with only a resync func
...
Signed-off-by: Steve Kriss <steve@heptio.com >
2018-08-28 13:19:21 -07:00
Steve Kriss
6f7bfe545d
remove Config CRD's BackupStorageProvider & other obsolete code
...
Signed-off-by: Steve Kriss <steve@heptio.com >
2018-08-28 13:19:21 -07:00
Steve Kriss
bd4d97b9e4
move server's defaultBackupLocation into config struct
...
Signed-off-by: Steve Kriss <steve@heptio.com >
2018-08-28 13:19:21 -07:00
Steve Kriss
0e94fa37f9
update sync controller for backup locations
...
Signed-off-by: Steve Kriss <steve@heptio.com >
2018-08-28 13:19:21 -07:00
Carlisia
2750aa71b9
Use backup storage location during restore
...
Closes #740
Signed-off-by: Carlisia <carlisia@grokkingtech.io >
2018-08-28 13:19:21 -07:00
Steve Kriss
20f89fbcef
use the default backup storage location for restic
...
Signed-off-by: Steve Kriss <steve@heptio.com >
2018-08-28 13:19:21 -07:00
Nolan Brubaker
833a6307a9
Add storage location to backup get/describe
...
Fixes #775
Also conforms ark imports to https://github.com/heptio/ark/issues/494
Signed-off-by: Nolan Brubaker <nolan@heptio.com >
2018-08-28 13:19:21 -07:00
Steve Kriss
cf7c8587f0
download request: fix setting of log level for plugin manager
...
Signed-off-by: Steve Kriss <steve@heptio.com >
2018-08-28 13:19:21 -07:00