Steve Kriss
f5123794e0
add delete backup cmd using finalizer and simplify GC process
...
Signed-off-by: Steve Kriss <steve@heptio.com>
2017-12-21 10:47:37 -08:00
Steve Kriss
5fc5bdbcf8
add create bucket step to cloud provider docs
...
Signed-off-by: Steve Kriss <steve@heptio.com>
2017-12-21 09:26:14 -08:00
Andy Goldstein
0fc087c967
Flatten aggregated errors
...
Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com>
2017-12-21 11:56:33 -05:00
Jennifer Rondeau
7cc73fb9d2
Merge pull request #237 from nrb/gke-rbac
...
Document GKE cluster-admin step
2017-12-20 17:38:05 -08:00
Steve Kriss
732ba2f3e0
Merge pull request #258 from ncdc/prioritize-service-accounts
...
Add serviceaccounts to prioritized resources
2017-12-20 15:16:41 -08:00
Andy Goldstein
fbda5fe539
Add serviceaccounts to prioritized resources
...
Add serviceaccounts to the default list of prioritized resources used
when restoring.
Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com>
2017-12-20 14:59:47 -05:00
Andy Goldstein
1e581f1ead
BackupController: do as much as possible
...
When running a backup, try to do as much as possible, collecting errors
along the way, and return an aggregate at the end. This way, if a backup
fails for most reasons, we'll be able to upload the backup log file to
object storage, which wasn't happening before.
Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com>
2017-12-20 14:49:27 -05:00
Andy Goldstein
fea701a03b
Merge pull request #256 from skriss/unbound-pvc-fix
...
don't error if PVC is not bound to a PV
2017-12-19 19:37:28 -05:00
Andy Goldstein
1210cb36e1
Merge pull request #253 from skriss/update-license
...
Update all license headers
2017-12-19 19:26:54 -05:00
Steve Kriss
79c0e5a09a
don't error if PVC is not bound to a PV
...
Signed-off-by: Steve Kriss <steve@heptio.com>
2017-12-19 14:10:58 -08:00
Nolan Brubaker
7392cdf37b
Clarify why cluster-admin is needed
...
Signed-off-by: Nolan Brubaker <nolan@heptio.com>
2017-12-19 15:40:22 -05:00
Nolan Brubaker
ccdbee6b16
Clarify different deployment options on GCP.
...
Signed-off-by: Nolan Brubaker <nolan@heptio.com>
2017-12-19 15:37:51 -05:00
Steve Kriss
3641c2c043
update all license headers
...
Signed-off-by: Steve Kriss <steve@heptio.com>
2017-12-15 13:38:12 -08:00
Andy Goldstein
0045bb057d
Merge pull request #241 from skriss/patch
...
switch from Update() to Patch()
2017-12-14 13:59:23 -05:00
Steve Kriss
56c9d68137
switch to logrus.FieldLogger and arktest.NewLogger() everywhere
...
Signed-off-by: Steve Kriss <steve@heptio.com>
2017-12-13 09:38:00 -08:00
Steve Kriss
4aea9b9a2c
switch from Update() to Patch()
...
Signed-off-by: Steve Kriss <steve@heptio.com>
2017-12-12 15:23:45 -08:00
Nolan Brubaker
75fdf32e4c
Document GKE cluster-admin step
...
When using GKE, an additional step is needed to become cluster admin.
Without this, generating the RBAC scaffolding will result in an error.
Signed-off-by: Nolan Brubaker <nolan@heptio.com>
2017-12-07 11:59:11 -05:00
Nolan Brubaker
6d5eeb21f5
Merge pull request #236 from ncdc/makefile-pass-version-through
...
Pass VERSION all the way down during 'make release'
2017-12-04 12:01:52 -05:00
Andy Goldstein
a70addcaf7
Pass VERSION all the way down during 'make release'
...
Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com>
(cherry picked from commit d053dc2914
)
2017-12-04 11:56:14 -05:00
Steve Kriss
ee16aab378
Merge pull request #231 from ncdc/fix-changelog-links
...
Fix changelog links
2017-11-30 11:24:45 -08:00
Andy Goldstein
a4d3d333ee
Fix changelog links
...
Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com>
2017-11-30 14:14:53 -05:00
Steve Kriss
632c90bd08
Merge pull request #230 from ncdc/changelog-0.6.0
...
Changelog for 0.6.0
2017-11-30 09:37:39 -08:00
Andy Goldstein
17fcedefae
Changelog for 0.6.0
...
Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com>
2017-11-30 12:33:24 -05:00
Andy Goldstein
992940c55c
Merge pull request #227 from skriss/plugin-logger-fix
...
Bug fixes: obj/block store plugin logging and remapped namespaces issue
2017-11-30 12:17:56 -05:00
Steve Kriss
121b7153a7
when restoring, don't restore the Namespaces cluster-scoped resource independently
...
Signed-off-by: Steve Kriss <steve@heptio.com>
2017-11-30 09:07:38 -08:00
Andy Goldstein
bd8f433188
Merge pull request #229 from skriss/plugin-docs
...
add godoc for ResourceSelector
2017-11-30 11:25:53 -05:00
Steve Kriss
94ac3b3529
godoc for ResourceSelector
...
Signed-off-by: Steve Kriss <steve@heptio.com>
2017-11-30 08:20:27 -08:00
Nolan Brubaker
41ec1c540c
Merge pull request #218 from skriss/plugin-docs
...
add/update plugin documentation
2017-11-29 21:36:32 -05:00
Steve Kriss
8a0ac2117b
give each plugin its own logrusAdapter
...
Signed-off-by: Steve Kriss <steve@heptio.com>
2017-11-29 14:36:21 -08:00
Steve Kriss
cbcd15d603
add/update documentation for plugins
...
Signed-off-by: Steve Kriss <steve@heptio.com>
2017-11-29 14:24:23 -08:00
Andy Goldstein
3100e856a0
Merge pull request #226 from skriss/plugin-tweaks
...
Remove obsolete plugin function and rename NewPluginLogger function
2017-11-29 17:22:12 -05:00
Steve Kriss
b66efd9416
rename NewPluginLogger to NewLogger
...
Signed-off-by: Steve Kriss <steve@heptio.com>
2017-11-29 14:01:31 -08:00
Steve Kriss
038fa39451
remove ListSnapshots and GetAllSnapshots
...
Signed-off-by: Steve Kriss <steve@heptio.com>
2017-11-29 13:59:29 -08:00
Andy Goldstein
7e3fc0884e
Merge pull request #217 from skriss/plugin-cmd
...
add plugin add/remove commands
2017-11-29 15:31:44 -05:00
Steve Kriss
995050390c
add plugin add/remove commands
...
Signed-off-by: Steve Kriss <steve@heptio.com>
2017-11-29 12:22:30 -08:00
Steve Kriss
0b6e78145c
Merge pull request #223 from ncdc/simplify-plugin-serve
...
Simplify serving plugins for external developers
2017-11-29 11:09:22 -08:00
Steve Kriss
5b8562e73c
Merge pull request #222 from ncdc/fix-log-location-hook
...
Fix log location hook prefix stripping
2017-11-29 11:07:43 -08:00
Andy Goldstein
dc484d1566
Set logger for cloudprovider plugin
...
Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com>
2017-11-29 13:54:20 -05:00
Andy Goldstein
1f7e9b65e8
Simply serving plugins for external developers
...
Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com>
2017-11-29 13:42:53 -05:00
Steve Kriss
c129d1cec3
Merge pull request #215 from ncdc/support-custom-snapshots
...
Support custom volume snapshots & restores
2017-11-29 10:34:06 -08:00
Andy Goldstein
c700455272
Support custom volume snapshots & restores
...
The main Ark code was hard-coding specific support for AWS, GCE, and
Azure volume snapshots and restores, and anything else was considered
unsupported.
Add GetVolumeID and SetVolumeID to the BlockStore interface, to allow
block store plugins to handle volume snapshots and restores.
Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com>
2017-11-29 13:19:40 -05:00
Andy Goldstein
99f67db39d
Fix log location hook prefix stripping
...
The log location hook was matching github.com/heptio/ark and stripping
off that + 1 more char. This meant that
github.com/heptio/ark-plugin-example/foo.go was being listed as
plugin-example/foo.go instead of
github.com/heptio/ark-plugin-example/foo.go.
Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com>
2017-11-29 12:56:01 -05:00
Andy Goldstein
526b604237
Add boolptr helper package
...
Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com>
2017-11-29 12:25:10 -05:00
Nolan Brubaker
8e740faafc
Merge pull request #216 from ncdc/azure-docs
...
Update Azure specifics
2017-11-29 10:06:39 -05:00
Andy Goldstein
0c092eaa17
Update Azure specifics
...
Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com>
2017-11-29 08:58:56 -05:00
Andy Goldstein
f0b35cc45a
Merge pull request #213 from skriss/restore-action-plugins
...
Convert restorers to plugins
2017-11-28 14:50:41 -05:00
Steve Kriss
179b95c81d
convert restorers to plugins
...
Signed-off-by: Steve Kriss <steve@heptio.com>
2017-11-28 10:58:12 -08:00
Andy Goldstein
98d370f84d
Merge pull request #196 from ncdc/describe
...
Add describers for backups, schedules
2017-11-27 16:29:30 -05:00
Andy Goldstein
5dc50e4974
Regen docs
...
Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com>
2017-11-27 15:22:35 -05:00
Andy Goldstein
c2dc41efd8
Add backup & schedule describers
...
Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com>
2017-11-27 15:22:20 -05:00