Commit Graph

2952 Commits (d6d9a0ec085edc53a74762a51f9491b6ef43ea37)

Author SHA1 Message Date
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
Andy Goldstein e38b6d0f4c Support cross-compiling for clients
Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com>
2017-10-24 12:26:26 -04:00
Andy Goldstein a1b43c43ad Merge pull request #147 from skriss/restore-inc-cluster-resources-flag
Add --include-cluster-resources flag for restores
2017-10-23 13:55:27 -04:00
Steve Kriss a7cc58730e add --include-cluster-resources flag to restores (optional, default true)
Signed-off-by: Steve Kriss <steve@heptio.com>
2017-10-23 10:51:07 -07:00
Steve Kriss e460199536 fix restore log statement
Signed-off-by: Steve Kriss <steve@heptio.com>
2017-10-23 10:50:55 -07:00
Steve Kriss 0729872797 Merge pull request #146 from ncdc/hooks-docs
Add initial doc on hooks.
2017-10-20 12:38:29 -07:00
Andy Goldstein 9b6c34319a Add initial doc on hooks.
Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com>
2017-10-20 15:31:34 -04:00
Steve Kriss 16b0888894 Merge pull request #143 from ncdc/backup-api-docs
Add docs on Backup API type
2017-10-20 12:08:25 -07:00
Andy Goldstein 3f453d154f Merge pull request #145 from skriss/cluster-admin
give ark cluster-admin privileges
2017-10-20 15:06:43 -04:00
Andy Goldstein 5bcd6de411 Add docs on Backup API type
Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com>
2017-10-20 15:02:32 -04:00
Steve Kriss 737e00c2e9 give ark cluster-admin privileges
Signed-off-by: Steve Kriss <steve@heptio.com>
2017-10-20 12:00:01 -07:00
Steve Kriss c7a298c508 Merge pull request #144 from ncdc/fix-version-makefile
Pass VERSION to cbuild so it's resolved correctly
2017-10-20 11:09:55 -07:00
Steve Kriss d562022030 Merge pull request #81 from ncdc/verb-noun
Add verb-noun command aliases
2017-10-20 11:05:59 -07:00
Andy Goldstein eaed15cbce Pass VERSION to cbuild so it's resolved correctly
Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com>
2017-10-20 14:03:29 -04:00
Andy Goldstein 28e7f0851a Add verb-noun command aliases
Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com>
2017-10-20 13:26:34 -04:00
Steve Kriss 40fff6e3ee Merge pull request #112 from ncdc/hooks-exec
Add backup pod exec hooks
2017-10-20 09:00:24 -07:00
Andy Goldstein 901f8e1302 Add pod exec backup hooks
Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com>
2017-10-20 10:20:59 -04:00
Steve Kriss b7c35551d7 Merge pull request #141 from lli-hiya/config-definition-update
kmsKeyID should be kmsKeyId
2017-10-19 16:04:41 -07:00
Liang df31561c6c kmsKeyID should be kmsKeyId
Signed-off-by: Liang <lli@hiya.com>
2017-10-19 15:51:14 -07:00
Andy Goldstein efcb32059a Update to latest stretchr/testify master
Need to pick up the mock spewconfig settings to ignore pointer address
differences.

Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com>
2017-10-19 13:22:03 -04:00
Andy Goldstein 09c802e501 Vendor kube pod exec code
Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com>
2017-10-19 13:22:03 -04:00
Andy Goldstein bb5088f515 Merge pull request #132 from dgoodwin/ordering
Restructure backup format for resource prioritization
2017-10-17 14:17:48 -04:00
Devan Goodwin ed0194c09b Restructure backups for resource prioritization.
Previously the directory structure separated resources depending on
whether or not they were cluster or namespace scoped. All cluster
resources were restored first, then all namespace resources. Priority
did not apply across both and you could not order any namespace
resources before any cluster resources.

This restructure sorts firstly on resource type.

resources/serviceaccounts/namespaces/ns1.json
resources/nodes/cluster/node1.json

This will break old backups as the format is no longer consistent as
announced on the Google group.

Signed-off-by: Devan Goodwin <dgoodwin@redhat.com>
2017-10-17 08:49:05 -03:00
Andy Goldstein 4fe50ed782 Merge pull request #128 from skriss/include-cluster-resources
add --include-cluster-resources flag to "ark backup create"
2017-10-12 10:42:54 -04:00
Steve Kriss 4085e473e1 additional deployment/networkpolicy cases for TestBackupResource
Signed-off-by: Steve Kriss <steve@heptio.com>
2017-10-11 15:05:12 -07:00
Steve Kriss 07b33ace57 add --include-cluster-resources flag to backup create cmd
Signed-off-by: Steve Kriss <steve@heptio.com>
2017-10-11 15:05:12 -07:00
Andy Goldstein 12cf05568b Merge pull request #129 from abiogenesis-now/jyao/reword-contributors
[license] Reword authors in contributors.md
2017-10-11 15:23:31 -04:00
Jessica Yao ec34204cba reword authors in contributors.md
Signed-off-by: Jessica Yao <jessica@heptio.com>
2017-10-11 12:20:17 -07:00
Andy Goldstein 2a975a2547 Merge pull request #65 from skriss/cluster-resource-selection
when backing up PVCs, also back up claimed PVs
2017-10-11 13:22:42 -04:00
Steve Kriss 9438a8670a when backing up PVCs, also back up claimed PVs
Signed-off-by: Steve Kriss <steve@heptio.com>
2017-10-11 09:54:57 -07:00