Adam Reese
b97f881be0
ref(*): use time.Duration for timeouts
...
Signed-off-by: Adam Reese <adam@reese.io>
6 years ago
Adam Reese
2dd4744d23
ref(pkg/kube): extract wait logic from install/update
...
This change adds a new method for waiting for kubernetes resources.
Signed-off-by: Adam Reese <adam@reese.io>
6 years ago
Michelle Noorali
ceab13e9a1
fix test command, move test to test run subcmd
...
Signed-off-by: Michelle Noorali <michellemolu@gmail.com>
6 years ago
Adam Reese
fe06343b8f
Merge pull request #5512 from adamreese/v3/linter-fixes
...
ref(pkg/action): refactoring dup code and linter fixes
6 years ago
Adam Reese
295092cd7d
ref(pkg/action): refactoring dup code and linter fixes
...
Signed-off-by: Adam Reese <adam@reese.io>
6 years ago
Matthew Fisher
bb179bdead
chore(dep): bump kubernetes to 1.14.0
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
6 years ago
Adam Reese
14d8e97d2a
fix(*): resolve new govet issues
...
Signed-off-by: Adam Reese <adam@reese.io>
6 years ago
Adam Reese
895e9192d4
feat(*): use vanity import helm.sh/helm
...
Signed-off-by: Adam Reese <adam@reese.io>
6 years ago
Matthew Fisher
2571dbf82f
ref: remove pkg/helm, pkg/hapi, pkg/tiller
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
6 years ago
Adam Reese
f791421fab
feat(Makefile): add formatting target
...
Signed-off-by: Adam Reese <adam@reese.io>
6 years ago
Matt Butcher
f3bfae5ea7
fix: fix a number of style errors ( #5136 )
...
This fixes a dozen or so style errors, almost all of which were just missing comments.
I left several which are fixed in other outstanding PRs, or which belong to code that is about to be removed.
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
6 years ago
Adam Reese
b4ed1de6b8
ref(*): kubernetes v1.12 support
...
Signed-off-by: Adam Reese <adam@reese.io>
6 years ago
Adam Reese
4f26b658d8
change copyright to "Copyright The Helm Authors"
6 years ago
Adam Reese
f012940d9c
ref(*): refactor chart/chartutil
...
ref(chartutil): move chart loading out of chartutil into new package
add chart loader interface to allow lazy loading
feat(chart): create chart accessors
ref(*): cleanup requirements
ref(tiller): remove optional template engines
ref(tiller): simplify sorting releases and hooks
ref(*): code simplification
ref(hapi): move chart package out of hapi
ref(chart): add requirements and lock to Chart struct
6 years ago
Adam Reese
7423eddf21
ref(*): kubernetes v1.11 support
6 years ago
Adam Reese
726e3c41be
feat(*): print stacktrace on error with debug enabled
7 years ago
Adam Reese
3c27143291
fix(kube): output internal object table
...
fixes #3937
7 years ago
Adam Reese
1a508ccdd1
ref(*): move kubeconfig flags to helm/environment
7 years ago
Adam Reese
19398a2ef1
feat(*): store release History in same namespace as release
...
https://github.com/kubernetes-helm/community/blob/master/helm-v3/003-state.md#namespacing-changes
7 years ago
Adam Reese
c233336079
ref(pkg/kube): simplify creating versioned objects
7 years ago
Adam Reese
8f58c9efdc
ref(*): refactor release testing
7 years ago
Adam Reese
496ca54183
ref(*): bypass grpc for helm client
7 years ago
AdamDang
ee9ef91df0
typo fix get->Get's
...
typo fix get->Get's
7 years ago
AdamDang
138de17c64
Fix some typos
...
outout->output
Get's->get
the the->the
7 years ago
Adam Reese
7c19cb7040
ref(*): kubernetes v1.10 support
7 years ago
Matthew Fisher
3c39e72189
Merge pull request #3401 from bacongobbler/revert-kubeconfig-flag
...
Revert "feat(helm): adding kubeconfig flag"
7 years ago
Matt Farina
e6137ff05f
fix(api-machinery): Fixes patching for unstructured objects
...
CRDs and other objects seen as unstructured cannot use strategic
merge patching. It has never been supported on CRDs. Previously,
cases like unstructured objects could have caused an unregistered
error. This is no longer the case.
This change explicitly looks for unstructured objects and handles
those using json merge patching.
Closes #3382
7 years ago
Matthew Fisher
2724387506
Merge pull request #3373 from unguiculus/feature/fix-recreate-part-1
...
Fix pod recreation
7 years ago
Paolo Mainardi
b065ffe1fc
adding other missing apiVersions
7 years ago
Paolo Mainardi
2cee4c68fa
add appsv1beta1 and appsv1beta2 apiVersion
7 years ago
Reinhard Nägele
ea520afd3e
Fix 'getSelectorFromObject'
7 years ago
Matthew Fisher
f13c4d28b5
Revert "feat(helm): adding kubeconfig flag"
...
This reverts commit 371ff8f26d
.
7 years ago
Reinhard Nägele
3d05da0109
Fix pod recreation
7 years ago
Adam Reese
a31e3b8fe1
ref(*): kubernetes v1.9 support ( #3234 )
7 years ago
Timofey Kirillov
13cb8d8244
Show kind in resource-not-found-in-release error
...
This error occures when resource is not found in helm release:
`Error: UPGRADE FAILED: no resource with the name "redis-cluster-sentinel" found`
Changed to:
`Error: UPGRADE FAILED: no ConfigMap with the name "redis-cluster-sentinel" found`
So now that resource can easily be found in cluster.
7 years ago
Tim Hockin
05d4b30730
Convert registry to k8s.gcr.io
7 years ago
Taylor Thomas
04769b7c26
Merge pull request #3131 from fgimenez/fix-2745
...
check if resource is present before adding it to remaining or keep on deletion
7 years ago
Matt Cholick
fe3eeaf39d
fix(helm): Tunnel closing already closed channel ( #3157 )
...
k8s client-go closes the ready channel that's passed in (see https://github.com/kubernetes/client-go/blob/master/tools/portforward/portforward.go#L171 ) This means that Tunnel's Close will always panic, as the client-go library will have closed then channel. This isn't reproducible unless helm.Client is externally, as the helm cli runner doesn't actually invoke Close.
7 years ago
Kai Chen
bc45e90198
Remove unnecessary parentheses in switch statements ( #3175 )
7 years ago
Federico Gimenez
e6d907ed28
check if resource is present before adding it to remaining or keep on deletion
7 years ago
gardlt
371ff8f26d
feat(helm): adding kubeconfig flag
7 years ago
Adam Reese
2b43ecd405
ref(*): kubernetes v1.8 support
7 years ago
Matthew Fisher
d7a81c99e1
Merge pull request #2976 from HotelsDotCom/respect-apiversion-change
...
Ignore Apiversion, use Kind and Name only to search for original resource on update/delete
7 years ago
Taylor Thomas
acd113ec21
Merge pull request #2978 from HotelsDotCom/detailed-wait-log
...
More helpful wait messages in tiller logs
7 years ago
Maxim Ivanov
cd8bae1df5
More helpful wait messages in tiller logs
7 years ago
Maxim Ivanov
bed80e482c
When looking for original resource on update/delete, ignore Apiversion, use Kind and Name only
...
Kind can change it's APIVersion with time, such as "Deployment" which was
"extensions/v1beta1" and then migrated to "apps/v1beta1" in Kube 1.6.
Name, Kind and optinally Namespace are used to find relevant Info
object for a original resource which is being upgraded, it safe enough,
as it is uniquely identifies an object.
7 years ago
devinyan
3458ad8e6a
Add the status of pod when using "Helm status" command
7 years ago
Adam Reese
845e990143
feat(*): use kubernetes 1.7
7 years ago
Justin Scott
af4c243ee3
Correct punctuation and capitalization for user facing strings.
7 years ago
Taylor Thomas
d9c0a8b434
fix(tiller): Adds missing import back
...
PR #2513 was behind master when merged. Other commits were
added that required the use of the log package. This re-adds
that package.
8 years ago