Andy Goldstein
efa4e57d1e
More namespace special casing
...
Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com>
2017-11-03 16:34:07 -04:00
Devan Goodwin
9471f9da3c
Fix missing namespace metadata after restore.
...
If backing up specific namespaces with "auto" cluster resources, the
actual namespace objects themselves were not being included in the
backup. Restore would create them but any labels or metadata would be
lost.
Instead handle the special case of namespace as a cluster level resource
we may still need, even if excluding most cluster level resources.
Signed-off-by: Devan Goodwin <dgoodwin@redhat.com>
2017-11-03 12:12:03 -03:00
Steve Kriss
8b25114047
Merge pull request #173 from ncdc/move-restore-warnings-errors-to-files
...
Move restore status warnings/errors to object storage; add restore describe command
2017-11-02 12:58:24 -07:00
Andy Goldstein
b2d80471ac
Move restore warnings/errors to object storage
...
If you have a large number of warnings and/or errors, the restore
object's size can exceed the maximum allowed by etcd. Move them to
object storage, and add a new describe command to fetch and display them
on the fly.
Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com>
2017-11-02 15:53:59 -04:00
Andy Goldstein
203a9c6e05
Merge pull request #179 from skriss/fix-ns-mapping
...
Fix restore namespace remapping bug
2017-11-02 14:00:15 -04:00
Steve Kriss
55c038afa0
fix restore namespace remapping bug
...
Signed-off-by: Steve Kriss <steve@heptio.com>
2017-11-02 10:39:54 -07:00
Andy Goldstein
7f959f0184
Merge pull request #174 from skriss/obj-store-reader
...
Switch PutObject to take an io.Reader rather than an io.ReadSeeker
2017-11-02 12:57:09 -04:00
Steve Kriss
c49d11f17a
Merge pull request #171 from nrb/168-fix
...
Don't delete 'headless' services
2017-11-01 16:30:32 -07:00
Steve Kriss
e7703d88ec
switch UploadBackup, UploadRestoreLog, PutObject to take io.Reader
...
Signed-off-by: Steve Kriss <steve@heptio.com>
2017-11-01 15:48:13 -07:00
Steve Kriss
f28d008017
update dependencies
...
Signed-off-by: Steve Kriss <steve@heptio.com>
2017-11-01 15:48:13 -07:00
Nolan Brubaker
d87e8ee16e
Don't delete 'headless' services
...
Deleting the clusterIP field when the service should be headless will
cause it to be assigned a new IP on restore; instead it should retain
the headless state after restoration.
Fixes #168
Signed-off-by: Nolan Brubaker <nolan@heptio.com>
2017-11-01 14:47:08 -07:00
Steve Kriss
4f59b19cdc
Merge pull request #169 from nrb/160-fix
...
Use label selector in backup, restore, schedule lists
2017-10-31 16:38:07 -07:00
Nolan Brubaker
36a40a0cd3
Use provided options when getting lists
...
Signed-off-by: Nolan Brubaker <nolan@heptio.com>
2017-10-31 16:13:28 -07:00
Steve Kriss
073795715e
Merge pull request #154 from ncdc/backup-download-remove-file-on-error
...
backup download: remove file if there's an error
2017-10-30 18:49:57 -07:00
Steve Kriss
7f78d5cbbc
Merge pull request #166 from ncdc/travis-badge
...
Switch build status badge to travis
2017-10-30 13:04:51 -07:00
Andy Goldstein
9401ca3c1a
Switch build status badge to travis
...
Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com>
2017-10-30 15:49:03 -04:00
Steve Kriss
93b2f30e32
Merge pull request #157 from ncdc/client-go-5
...
Upgrade to client-go v5.0.1, kubernetes v1.8.2
2017-10-30 12:34:16 -07:00
Andy Goldstein
9c3d7f9098
Merge pull request #163 from lli-hiya/master
...
update config definition for KMS key alias support
2017-10-30 14:43:16 -04:00
Andy Goldstein
0fab2e5e89
Stop passing encoder/decoder to NewHumanReadablePrinter
...
We only need them if we've got unstructured/unknown data and we want to
convert it to typed objects.
Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com>
2017-10-30 14:07:58 -04:00
Andy Goldstein
39f0a4e561
Install goimports if needed (travis)
...
Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com>
2017-10-30 13:51:04 -04:00
Andy Goldstein
c1bc52eb65
Update gofmt
...
Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com>
2017-10-30 13:31:03 -04:00
Andy Goldstein
64632e29f8
Tweak test, update-fmt, add verify-fmt
...
Remove verifying gofmt from hack/test.sh.
Make sure hack/update-fmt.sh ignores zz_generated files.
Enable code simplification for gofmt.
Add hack/verify-fmt.sh.
Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com>
2017-10-30 13:31:03 -04:00
Andy Goldstein
78dc641b15
Add k8s.io/apimachinery/pkg/apimachinery/registered to required imports
...
The generated clientsets use this package, but there are no explicit
imports, so we have to manually require it.
Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com>
2017-10-30 13:31:03 -04:00
Andy Goldstein
eaf84eafb6
Bump client-go to v5.0.1
...
Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com>
2017-10-30 13:31:03 -04:00
Andy Goldstein
b8cd614122
Remove Gopkg.toml required/ignores hacks
...
These were for the upgrade from client-go v4.x to v5.x.
Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com>
2017-10-30 13:31:03 -04:00
Andy Goldstein
aa253bf016
Use generated deep copy functions
...
Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com>
2017-10-30 13:31:03 -04:00
Andy Goldstein
293674c40e
React to upstream spdy executor changes
...
Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com>
2017-10-30 13:31:03 -04:00
Andy Goldstein
322cbc19e6
dynamicResourceClient: fix resourceClient type
...
dynamicClient.Resource() now returns an interface
Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com>
2017-10-30 13:31:03 -04:00
Andy Goldstein
15fe87aea3
Fix clientset imports
...
Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com>
2017-10-30 13:31:03 -04:00
Andy Goldstein
4957dfce61
Regenerate code
...
Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com>
2017-10-30 13:31:03 -04:00
Andy Goldstein
9249a13661
Switch to k8s.io/code-generator script
...
Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com>
2017-10-30 13:31:03 -04:00
Andy Goldstein
843345f728
Prep types for 1.8 code-generator
...
Fix genclient tags
Add deepcopy-gen interfaces to top level types
Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com>
2017-10-30 13:30:27 -04:00
Andy Goldstein
43449885a1
React to move to k8s.io/api
...
Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com>
2017-10-30 13:30:27 -04:00
Andy Goldstein
18eafd5606
Update k8s, client-go, apimachinery deps
...
Update k8s.io/kubernetes to v1.8.
Update k8s.io/client-go to v5.0.0
Update k8s.io/apimachinery to match
Pull in k8s.io/api release-1.8 branch
Pull in k8s.io/code-generator release-1.8 branch
Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com>
2017-10-30 13:30:27 -04:00
Andy Goldstein
e5c8d3316f
Add go boilerplate file
...
Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com>
2017-10-30 13:30:26 -04:00
Steve Kriss
c3feb0489f
Merge pull request #165 from ncdc/travis
...
Add travis support
2017-10-30 10:04:25 -07:00
Andy Goldstein
1af01e28ef
Add travis support
...
Remove realpath as Travis doesn't have it
Use bash instead of sh for build + test
Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com>
2017-10-30 12:58:45 -04:00
Liang
67811606c0
update config definition for KMS key alias support
...
Signed-off-by: Liang <lli@hiya.com>
2017-10-27 16:40:45 -07:00
Andy Goldstein
2cdd8448c2
Merge pull request #156 from athampy/master
...
Fix #137 . Remove clock from volume_snapshot_action
2017-10-26 15:01:24 -04:00
Akhil Thampy
1ac0303283
Fix #137 . Remove clock from volume_snapshot_action.
...
Signed-off-by: Akhil Thampy <akhilthampy@yahoo.com>
2017-10-26 13:53:52 -05:00
Steve Kriss
0c13ef06ea
Merge pull request #153 from ncdc/make-release
...
Add 'make release'
2017-10-26 08:25:24 -07:00
Andy Goldstein
8a53cef7e6
backup download: remove file if there's an error
...
Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com>
2017-10-26 11:09:35 -04:00
Andy Goldstein
81d47887ae
Add 'make release'
...
Add 'make release' that automatically creates tarballs for all CLI
platforms in _output/release. It also creates a CHECKSUM file using
sha256 sums. Finally, it displays the contents of the CHECKSUM file as
well as the sha256sum of the CHECKSUM file.
Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com>
2017-10-26 10:47:36 -04:00
Andy Goldstein
a3302d3d85
Merge pull request #151 from skriss/v0.5.0-changelog
...
add changelog for v0.5.0
2017-10-26 07:27:39 -04:00
Steve Kriss
1cfb326685
add changelog for v0.5.0
...
Signed-off-by: Steve Kriss <steve@heptio.com>
2017-10-25 17:27:33 -07:00
Steve Kriss
900a53137b
Merge pull request #150 from ncdc/readd-apk-certs
...
Restore ca-certificates to image
2017-10-25 09:01:23 -07:00
Andy Goldstein
ce60e53e4b
Restore ca-certificates to image
...
Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com>
2017-10-25 09:53:43 -04:00
Steve Kriss
710e537dd3
Merge pull request #148 from ncdc/binary-clients
...
Support cross-compiling for clients
2017-10-24 11:58:28 -07:00
Andy Goldstein
d7c00c199e
Replace ark alias with installing in $PATH
...
Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com>
2017-10-24 13:59:43 -04:00
Andy Goldstein
0f9acf716b
Update docs on building
...
Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com>
2017-10-24 13:49:15 -04:00