Steve Kriss
72d7e5e01d
azure: pass full snapshot name when restoring disk
...
Signed-off-by: Steve Kriss <steve@heptio.com >
2018-04-23 12:51:05 -07:00
Andy Goldstein and GitHub
206bf3dfe3
Merge pull request #446 from skriss/azure-snapshot-uri-compat
...
add backwards-compatibility for azure snapshot ID
2018-04-23 14:39:40 -04:00
Steve Kriss
a466208975
add backwards-compatibility for azure snapshot ID
...
Signed-off-by: Steve Kriss <steve@heptio.com >
2018-04-23 11:34:37 -07:00
Steve Kriss
3dc093c24a
regenerate code with updated generator
...
Signed-off-by: Steve Kriss <steve@heptio.com >
2018-04-20 12:59:22 -07:00
Steve Kriss
c7b52bf1fe
upgrade build image to v1.10 dependencies
...
Signed-off-by: Steve Kriss <steve@heptio.com >
2018-04-20 12:59:22 -07:00
Steve Kriss
989169dcfe
remove unused kubernetes/pkg/util/version dependency
...
Signed-off-by: Steve Kriss <steve@heptio.com >
2018-04-20 12:59:22 -07:00
Steve Kriss
31645d163e
remove Gopkg.toml override for blackfriday (not needed)
...
Signed-off-by: Steve Kriss <steve@heptio.com >
2018-04-20 12:59:10 -07:00
Steve Kriss
97e52f2b3c
add timeout arg to rest.NewRequest()
...
Signed-off-by: Steve Kriss <steve@heptio.com >
2018-04-20 12:58:53 -07:00
Steve Kriss
961d7f2924
kubernetes/pkg/printers/ShortHumanDuration -> apimachinery/pkg/util/duration
...
Signed-off-by: Steve Kriss <steve@heptio.com >
2018-04-20 12:58:53 -07:00
Steve Kriss
f87280d369
upgrade apimachinery, client-go, kubernetes, api deps
...
Update k8s.io/api to v1.10.0
Update k8s.io/apimachinery to v1.10.0
Update k8s.io/client-go to v7.0
Update k8s.io/kubernetes to v1.10
Signed-off-by: Steve Kriss <steve@heptio.com >
2018-04-20 12:58:20 -07:00
Nolan Brubaker and GitHub
9155baee7c
Merge pull request #442 from ncdc/ns-docs-fix
...
Remove guidance to run Ark in a separate namespace
2018-04-20 10:50:10 -04:00
Andy Goldstein and GitHub
d6436ad2b1
Merge pull request #438 from skriss/aws-doc-link
...
AWS: add missing link ref
2018-04-20 06:57:38 -04:00
Andy Goldstein
783bdb0455
Remove guidance to run Ark in a separate namespace
...
Now that we're no longer using a finalizer as part of backup deletion,
it's fine to run the Ark server in the same namespace as all of the
resources.
Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com >
2018-04-20 06:54:28 -04:00
Steve Kriss
631f3d6acc
add missing link ref
...
Signed-off-by: Steve Kriss <steve@heptio.com >
2018-04-19 14:01:23 -07:00
Andy Goldstein and GitHub
94309aa72e
Merge pull request #435 from skriss/tag-push-latest
...
docker tag and push :latest when building a git tag
v0.8.0
2018-04-19 13:36:06 -04:00
Steve Kriss
c1af90dcc8
docker tag and push :latest when building a git tag
...
Signed-off-by: Steve Kriss <steve@heptio.com >
2018-04-19 10:19:35 -07:00
Nolan Brubaker and GitHub
3be8d072ab
Merge pull request #433 from skriss/v0.8.0-changelog
...
update changelog for v0.8.0
2018-04-19 12:30:38 -04:00
Steve Kriss
5c0e3a6715
update changelog for v0.8.0
...
Signed-off-by: Steve Kriss <steve@heptio.com >
2018-04-19 08:37:06 -07:00
Steve Kriss and GitHub
a9bd9a76cc
Merge pull request #431 from nrb/clear-finalizer-on-sync
...
Remove finalizers from backups before syncing
2018-04-18 14:53:09 -07:00
Nolan Brubaker
300a010959
Remove finalizers from backups before syncing
...
Signed-off-by: Nolan Brubaker <nolan@heptio.com >
2018-04-18 17:32:39 -04:00
Andy Goldstein and GitHub
5d7e467794
Merge pull request #432 from asenchi/fix-docker-push
...
Remove deprecated method for pushing images to GCR
2018-04-18 15:37:47 -04:00
Curt Micol
bdfdf8d38e
Remove deprecated method for pushing images to GCR
...
Signed-off-by: Curt Micol <asenchi@heptio.com >
2018-04-18 15:28:08 -04:00
Nolan Brubaker and GitHub
19c2fe3aaf
Merge pull request #429 from skriss/minimal-gcp-policy
...
GCP: create/use IAM role with minimal set of permissions
2018-04-18 14:31:43 -04:00
Steve Kriss
6549ef8075
GCP: create/use IAM role with minimal set of permissions
...
Signed-off-by: Steve Kriss <steve@heptio.com >
2018-04-17 11:22:35 -07:00
Andy Goldstein and GitHub
1f6b496f5e
Merge pull request #427 from containscafeine/add-common-deployment
...
Add examples/common/10-deployment.yaml back
2018-04-17 09:27:38 -04:00
Shubham
d47887a807
Remove references to common/10-deployment.yaml
...
The changes in https://github.com/heptio/ark/commit/1db966bf3c128fb5e5482d99d2504a7fa5d4d0d8#diff-c31a634b9c201723f2478087620b10c5 removed examples/common/10-deployment.yaml, which is listed in
README.md to start the server at -
https://github.com/heptio/ark#set-up-server
This commit removes the references from the documentation.
Signed-off-by: Shubham <shubham@linux.com >
2018-04-17 18:37:28 +05:30
Andy Goldstein and GitHub
71e1e2990e
Merge pull request #425 from lypht/fix_gcp_ns
...
Reverting namespace to single namespace deployment
2018-04-13 09:23:49 -04:00
Josh Hull
e7098e5d88
Fixes the remaining three occurrences of the old namespace
...
Signed-off-by: Josh Hull <josh.hull@lypht.com >
2018-04-13 06:37:00 -05:00
Josh Hull
b446f66baa
Reverting namespace to single namespace deployment
...
Signed-off-by: Josh Hull <josh.hull@lypht.com >
2018-04-13 06:25:15 -05:00
Nolan Brubaker and GitHub
288ce9f33c
Merge pull request #402 from domderen/kube2iam
...
Documentation on using ark with kube2iam
2018-04-12 14:20:19 -04:00
Dominik Deren
1db966bf3c
Documentation on using ark with kube2iam
...
This PR updates the documentation & example deployment template to show how `ark` can be ran utilizing [https://github.com/jtblin/kube2iam ](Kube2iam) for AWS IAM permissions, rather than using access key & secret key.
Signed-off-by: Dominik Deren <dominik.deren@live.com >
2018-04-12 10:53:23 -07:00
Andy Goldstein and GitHub
2e08fd40a7
Merge pull request #419 from hopkinsth/fix/s3-perms
...
fix/s3-perms
2018-04-12 11:30:22 -04:00
Andy Goldstein and GitHub
3a85f25e2b
Merge pull request #415 from ffd2subroutine/add-node-selector
...
add nodeSelector so that ark server doesn't end up on a windows node …
2018-04-12 11:28:41 -04:00
Andy Goldstein and GitHub
730ddb2113
Merge pull request #391 from containscafeine/handle-restore-missing-error
...
Introduce validation logic to `ark restore logs`
2018-04-12 11:07:29 -04:00
Andy Goldstein and GitHub
e78c892a59
Merge pull request #384 from containscafeine/add-bash-zsh-completion
...
Add bash and zsh completion support
2018-04-12 11:00:53 -04:00
Shubham Minglani
7f3e88151b
Add bash and zsh completion support
...
This commit adds support for auto completion for bash and zsh
shells. A new root level command called "completion" has been
introduced, and the user can get the auto completion code by
running `ark completion bash/zsh`.
For bash completion, the built-in GenBashCompletion() from cobra
has been used, but for zsh, the built-in GenZshCompletion() is
known to cause issues. The workaround has been copied from zsh
completion code of kubectl.
Signed-off-by: Shubham <shubham@linux.com >
2018-04-12 13:26:23 +05:30
Shubham
468c4faf1b
Introduce validation logic to ark restore logs
...
This commit introduces validation logic to `ark restore logs`
command, the way it already exists in other commands like `ark
restore create`.
Before the logs for a restore are fetched from the server, the
server is contacted to check if the specified restore exists. If
it does not, it errors out.
Fixes #389
Signed-off-by: Shubham <shubham@linux.com >
2018-04-12 13:06:32 +05:30
Andy Goldstein and GitHub
a48cc6ed23
Merge pull request #421 from skriss/changelog-typos
...
fix typos in changelog
2018-04-11 14:53:02 -04:00
Steve Kriss
352d667e13
fix typos in changelog
...
Signed-off-by: Steve Kriss <steve@heptio.com >
2018-04-11 11:39:33 -07:00
Andy Goldstein and GitHub
8a9fdc4316
Merge pull request #420 from skriss/v0.8.0-rc.1-changelog
...
update changelog for v0.8.0-rc.1
v0.8.0-rc.1
2018-04-11 13:56:30 -04:00
Steve Kriss
099f91f8fb
update changelog for v0.8.0-rc.1
...
Signed-off-by: Steve Kriss <steve@heptio.com >
2018-04-11 10:39:38 -07:00
Andy Goldstein and GitHub
0998f6d8af
Merge pull request #405 from nrb/ignore-duplicates
...
Compare for duplicates before logging object exists errors
2018-04-11 09:47:37 -04:00
Thomas Hopkins and Thomas Hopkins
612fe31bff
move AbortMultipartUpload and ListMultipartUploadParts to the object-level IAM policy statement
...
Signed-off-by: Thomas Hopkins <hopkinsth@gmail.com >
2018-04-10 20:32:09 -04:00
Nolan Brubaker
33cc85cd0c
Compare backup and cluster objects before logging
...
When restoring resources that raise an already exists error, check their
equality before logging a message on the restore. If they're the same
except for some metadata, don't generate a message.
The restore process was modified so that if an object had an empty
namespace string, no namespace key is created on the object. This was to
avoid manipulating the copy of the current cluster's object by adding
the target namespace.
There are some cases right now that are known to not be equal via this
method:
- The `default` ServiceAccount in a namespace will not match, primarily
because of differing default tokens. These will be handled in their own
patch
- IP addresses for Services are recorded in the backup object, but are
either not present on the cluster object, or different. An issue for
this already exists at https://github.com/heptio/ark/issues/354
- Endpoints have differing values for `renewTime`. This may be
insubstantial, but isn't currently handled by the resetMetadataAndStatus
function.
- PersistentVolume objects do not match on spec fields, such as
claimRef and cloud provider persistent disk info
Signed-off-by: Nolan Brubaker <nolan@heptio.com >
2018-04-10 14:55:48 -04:00
Andy Goldstein and GitHub
258f3e011e
Merge pull request #409 from skriss/fix-398
...
get backup name from restore spec when handling restore DownloadRequests
2018-04-10 13:29:07 -04:00
Andy Goldstein and GitHub
278c1c6087
Merge pull request #414 from skriss/unit-test-fix
...
add helper function to compare slices of actions reliably and fix test flake
2018-04-10 13:27:26 -04:00
Nolan Brubaker
b6b87668c0
Add equality dependency
...
Signed-off-by: Nolan Brubaker <nolan@heptio.com >
2018-04-10 12:27:54 -04:00
Steve Kriss
0d2b49acce
get backup name from restore spec when handling restore DownloadRequests
...
Signed-off-by: Steve Kriss <steve@heptio.com >
2018-04-09 10:50:10 -07:00
Steve Kriss
5bb47d2b7a
extract a helper for comparing slices of Actions reliably
...
Signed-off-by: Steve Kriss <steve@heptio.com >
2018-04-09 09:39:33 -07:00
ffd2subroutine
bcd63bf0e8
add nodeSelector so that ark server doesn't end up on a windows node when running a hybrid cluster
...
Signed-off-by: ffd2subroutine <ffd2subroutine@users.noreply.github.com >
2018-04-09 09:33:17 +02:00