Matt Butcher
e4c217768e
ref(*): update to Kubernetes 1.4
...
This starts with #1211 and does the other updates necessary for
bumping us to Kubernetes 1.4.
8 years ago
Keerthan Reddy Mala (kmala)
55dc7b690f
fix(tiller): Upgrade shouldn't fail if there are no changes
...
Signed-off-by: Keerthan Reddy Mala (kmala) <kmala@deis.com>
8 years ago
Michelle Noorali
f062cff5a3
fix(kube): delete should skip resources not found
8 years ago
Michelle Noorali
50d8d36d8b
ref(kube): delete skips IsNotFound errs
...
Currently, delete returns an error if a resource is not found.
That is a bit confusing because if you delete something that
is not found, the end state is not really an error. The end
state is what you wanted to do in the first place. This type
of error is not propogated from the kube client but it is logged
in tiller. We could also change this to keep returning errors
(even the not found) and filter it out in the release server.
8 years ago
Michelle Noorali
c7bec34454
chore(kube): make update logic more generic
8 years ago
Michelle Noorali
197e466b9a
ref(*): return resource update errors
...
Resolves #1058
8 years ago
Matt Butcher
5bcf29d214
feat(tiller): make configmaps the default storage
...
This adds a Tiller CLI flag to override the default, and tests to
make sure that the default comes up as expected.
8 years ago
vaikas-google
d2841f92f3
formatting changes, add comments, make tests pass
8 years ago
vaikas-google
d8e185267d
First cut of adding dynamic cluster support to status command
8 years ago
Michelle Noorali
1b31382d9c
chore(glide): add kube pkgs to glide.yaml
...
* Thanks for the reminder adam :)
8 years ago
Michelle Noorali
f600b30c7a
feat(kube): add update logic to kube client
...
This commit adds an Update function to the client.
The Update function takes in the modified manifests and
the original manifests. It then iterates through the modified
objects, creates objects not found in kubernetes, and updates
objects that exists but have been modified. Finally, it
iterates through the original resources and checks to see if
they have been deleted in the modified configuration and then
proceeds to delete them. #690
8 years ago
Phillip Wittrock
4964467868
Swtich from rc to deployment for running tiller
8 years ago
Adam Reese
ea4dcbab11
feat(kube): reap related resources on delete
8 years ago
Adam Reese
a14e76a65c
chore(*): add canonical import path annotation
...
https://golang.org/doc/go1.4#canonicalimports
8 years ago
Matt Butcher
ff32062ae8
feat(tiller): support hooks for install
8 years ago
Matt Butcher
e757b24aed
fix(*): add license header
8 years ago
Adam Reese
d300a08915
fix(tunnel): display friendly error on connect issues
...
Fixes : #686
8 years ago
Adam Reese
573e5aa7fc
feat(kube): create namespace if it does not exist
8 years ago
Adam Reese
0f5c2951a2
feat(kube): use env variable to control kube logging
...
Removes command line flags and adds the environment variable
`KUBE_LOG_LEVEL`
9 years ago
Adam Reese
4df22392fc
feat(tunnel): add logic for detecting tiller pod
9 years ago
Adam Reese
792aa1a1aa
feat(kube): create tunnel for client
9 years ago
Adam Reese
00ff8acfdc
feat(kube): delete test example
9 years ago
Adam Reese
4a82e7ab4c
feat(kube): add delete method
9 years ago
Adam Reese
0b6309be02
ref(kube): refactor kubeclient to a struct
9 years ago
Adam Reese
c44f0b0b01
test(kube): improve kubernetes client test coverage
9 years ago
Adam Reese
08d9b85f99
fix(kube): use a fake client in unit tests
9 years ago
Adam Reese
0fbc9229cd
feat(kube): add kubernetes client
9 years ago