Commit Graph

489 Commits (main)

Author SHA1 Message Date
zh168654 957d2a2bf9 add wait-for-jobs flag
5 years ago
zhangye15 bd03e1b5c7 fix style conformance
5 years ago
zhangye15 c96dc48f21 fix test-style error
5 years ago
zh168654 8d498d58e7 add test cases
5 years ago
zh168654 5825112a8b helm upgrade with --wait support jobs in manifest to be completed
5 years ago
Janario Oliveira cf3870a57f Adjusted import
5 years ago
Janario Oliveira 10a29d1662 Reuse kube-client
5 years ago
Matt Farina b7c38c879a Adding support for k8s 1.19
5 years ago
Li Zhijian 4258e8664e Use T.cleanup() to cleanup cmdtest_temp file
5 years ago
Tariq Ibrahim b07b2589fb
optimise if condition in service ready logic
5 years ago
Rajat Jindal 4faeedd98b fix watch error due to elb/proxy timeout
5 years ago
Hidde Beydals 8217aba4a6 fix(kube): use logger instead of fmt.Printf
5 years ago
Matt Farina dbd001e532
Removing tiller language
5 years ago
小明同学 decab8ea2e
fix: upgrade using --force shoud not run patch logic (#8000)
5 years ago
Liu Ming ff3ed53b7c polish to keep the same log style
5 years ago
Adam Reese d5d96ed3cf
Merge pull request #7929 from adamreese/fix/upgrade-results
5 years ago
Adam Reese 4a0dfbe53b
fix(pkg/cli): ensure correct configuration from kubeconfig file
5 years ago
Adam Reese bdf6f48704
fix(pkg/kube): continue deleting objects when one fails
6 years ago
Adam Reese c2da4fd53d
ref(*): kubernetes v1.18 (#7831)
6 years ago
lnattrass c12a9aee02
fix(helm): Data race in kube/client Delete func. (#7820)
6 years ago
Dong Gang 69d9722eda test(helm): fix client update error
6 years ago
Dong Gang c45869c4ad fix(helm): polish goimport
6 years ago
Dong Gang 9744e9f619 fix(helm): respect resource policy on ungrade
6 years ago
Matthew Fisher 64ce6e6a74
Merge pull request #7591 from ylvmw/master
6 years ago
Taylor Thomas 512e1b8bc9
Merge pull request #7401 from hiddeco/non-global-scheme-convert
6 years ago
Taylor Thomas 2cd3d12acd
Merge pull request #7530 from plenus-cloud/fix-7513
6 years ago
ylvmw 54ca879095 IsReachable() needs to give detailed error message.
6 years ago
Hidde Beydals e41184a585 fix(kube): generate k8s native scheme only once
6 years ago
Hidde Beydals b55224ebb9 fix(kube): use non global Scheme to convert
6 years ago
Benn Linger 5e638e3587
Revert "Do not delete templated CRDs"
6 years ago
Federico Bevione af0007c908 fix(helm): improved logs
6 years ago
Federico Bevione 077503f175 fix(helm): Reworded logs for clarity
6 years ago
Matthew Fisher 0dadbdc309
Merge pull request #7373 from Sh4d1/bypass_ns
6 years ago
Federico Bevione 438eaec971 fix(helm): Don't wait for service to be ready when external IP are set
6 years ago
Taylor Thomas c8c0000725
Merge pull request #7409 from akazemis/11414-fix-the-helm-upgrade-force-log-issue
6 years ago
Jakub Bielecki 8fe2097ffe fix(kube) only add to scheme.Scheme once
6 years ago
Ahmad Kazemi 9143223932 unnecessary import removed
6 years ago
Ahmad Kazemi d4c37d33d1 Signed-off-by: Ahmad Kazemi <ahmad.kazemi@recordpoint.com>
6 years ago
Guangwen Feng 0cdbbf287f Fix typo in comment for func IsReachable
6 years ago
Patrik Cyvoct ff0e008558
add option to bypass kubeconfig namespace
6 years ago
Taylor Thomas f35719a62a
Merge pull request #7320 from PhilGrayson/issue-7279
6 years ago
Matthew Fisher 9e4d42e18c
Merge pull request #7245 from waveywaves/fix/crd-install-api-extensions
6 years ago
Phil Grayson 600970459e Do not delete templated CRDs
6 years ago
Guangwen Feng cedd480199 Add corresponding unit test to the function in resource.go.
6 years ago
Adrian Gonzalez-Martin afa612df9d Add back fix for CRD patch creation
6 years ago
Martin Hickey b6e2a14306
fix(kube): Port use of watcher with retries to wait for resources (#7217)
6 years ago
Vibhav Bobade 1c6424cb18 fix(install) crd install with apiextensions.k8s.io/v1
6 years ago
Taylor Thomas ecb55c1de7 fix(wait): Adds support for waiting on v1 apiextensions for CRDs
6 years ago
Fabian Ruff 7f7e90b407 Consider namespace when comparing resources
6 years ago
Matthew Fisher a505f91073
fix(kube): return error when object cannot be patched
6 years ago
Taylor Thomas c69af3d5bd fix(wait): Removes ingress checks
6 years ago
Matthew Fisher 4d5a62303e
fix(kube): replace rather than delete/create
6 years ago
Matthew Fisher 9e9f317cbf
Merge pull request #6608 from bacongobbler/refactor-switch-statement
6 years ago
John Howard 7a22cb88d9 Drop dependency on k8s.io/kubernetes (#6609)
6 years ago
Adam Reese 572b92dc8a
feat(pkg/kube): add openapi validation for k8s objects
6 years ago
Matthew Fisher f55a64240f
ref(wait): remove versioned type, use unversioned instead
6 years ago
fengxsong a4dd603f78
Refactor switch statement in pkg/kube/wait.go
6 years ago
fengxsong cf728f4076
fix wait.go
6 years ago
fengxusong 3b280ab038
Refactor switch statement in pkg/kube/wait.go
6 years ago
Taylor Thomas 63c994343b feat(wait): Ports ingress wait to v3
6 years ago
Taylor Thomas 07c950fc41
Merge pull request #6571 from cgetzen/cg/dev-v3/kube_create_goroutine
6 years ago
Charlie Getzen d2cafdc063 modify resources to match helm3
6 years ago
Charlie Getzen ce4ca05d0a use WaitGroup instead of channels and counters
6 years ago
Matt Farina 9bc7934f35
Updating the module for v3 as the major version
6 years ago
Charlie Getzen 25bbd88639 Add check on empty list
6 years ago
Charlie Getzen 4c39d2b63f batch perform function by resource kind (Deployment, Pod, etc)
6 years ago
Charlie Getzen f7a05ba018 Use a goroutine when interacting with kube api
6 years ago
Matt Farina e3137d106a
Migrating dependency management to go modules
6 years ago
Taylor Thomas 3cc0240d8d
Merge pull request #6549 from perher/no-wait-paused-v3
6 years ago
Taylor Thomas 6ccb2897d9 PR fixes
6 years ago
Per Hermansson f5e977b8ed Skip waiting for paused deployments
6 years ago
Taylor Thomas 36f3a4b326 fix(action): Protects against current resource conflicts
6 years ago
Taylor Thomas 17854e83af feat(*): Ports `--cleanup-on-fail` to v3
6 years ago
Matt Butcher 0f332b67f1
fix: clear the discovery cache after CRDs are installed (#6332)
6 years ago
Vibhav Bobade 5a07055645 Add IsReachable to /pkg/kube/client to see if connected to the internet
6 years ago
Adam Reese cc98242feb
fix(pkg/kube): only wait for events from Jobs and Pods
6 years ago
Jacob LeGrone 2bd94bc552
Merge branch 'dev-v3' of https://github.com/helm/helm into test-as-hook
6 years ago
Taylor Thomas b46d7fd527 fix(kube): Fixes nil panic with stateful set waiting
6 years ago
Jacob LeGrone 08b2d8a2dc
Merge branch 'dev-v3' of https://github.com/helm/helm into test-as-hook
6 years ago
Matthew Fisher 18ca0dd6c4
ref(client): use three-way merge patch strategy
6 years ago
Jacob LeGrone 49987975a8
fix(test): wait for pods and record status
6 years ago
Taylor Thomas dd8222d7f2 Removes clientset method from interface in favor of the configuration struct
6 years ago
Taylor Thomas 189b5a1229 Fixed object typing for watching Jobs/hooks
6 years ago
Taylor Thomas 15fc57f8a3 ref(*): Refactors kube client to be a bit more friendly
6 years ago
Taylor Thomas 1dac8421ef ref(kube): Renames `Result` type to `ResourceList`
6 years ago
Martin Hickey 5410e7d346 Fix style conformance issues
6 years ago
Matthew Fisher 880f4456b3
Merge pull request #6046 from bacongobbler/fix-5654
6 years ago
Matthew Fisher b5d555e4ea
fix(kube): remove namespace enforcement
6 years ago
Taylor Thomas 29c343278e feat(action): Refactors unit tests with better fakes
6 years ago
Taylor Thomas eaa7d8c7c4 feat(wait): Adds smarter waiting for DaemonSets and StatefulSets
6 years ago
Marc Khouzam 81321532e6 Fix linter issuers
6 years ago
Taylor Thomas c8c854a35c fix(pkg/kube): Fixes wait functionality
6 years ago
Adam Reese 77a1b7e0a2
ref(*): expose klog flags
6 years ago
Adam Reese 0338576fc5
ref(pkg/kube): cleanup kube client interface
6 years ago
Adam Reese b97f881be0
ref(*): use time.Duration for timeouts
6 years ago
Adam Reese 2dd4744d23
ref(pkg/kube): extract wait logic from install/update
6 years ago
Michelle Noorali ceab13e9a1 fix test command, move test to test run subcmd
7 years ago
Adam Reese fe06343b8f
Merge pull request #5512 from adamreese/v3/linter-fixes
7 years ago
Adam Reese 295092cd7d
ref(pkg/action): refactoring dup code and linter fixes
7 years ago
Matthew Fisher bb179bdead
chore(dep): bump kubernetes to 1.14.0
7 years ago
Adam Reese 14d8e97d2a
fix(*): resolve new govet issues
7 years ago
Adam Reese 895e9192d4
feat(*): use vanity import helm.sh/helm
7 years ago
Matthew Fisher 2571dbf82f
ref: remove pkg/helm, pkg/hapi, pkg/tiller
7 years ago
Adam Reese f791421fab
feat(Makefile): add formatting target
7 years ago
Matt Butcher f3bfae5ea7
fix: fix a number of style errors (#5136)
7 years ago
Adam Reese b4ed1de6b8
ref(*): kubernetes v1.12 support
7 years ago
Adam Reese 4f26b658d8
change copyright to "Copyright The Helm Authors"
7 years ago
Adam Reese f012940d9c
ref(*): refactor chart/chartutil
7 years ago
Adam Reese 7423eddf21
ref(*): kubernetes v1.11 support
7 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
8 years ago
Adam Reese 1a508ccdd1
ref(*): move kubeconfig flags to helm/environment
8 years ago
Adam Reese 19398a2ef1
feat(*): store release History in same namespace as release
8 years ago
Adam Reese c233336079
ref(pkg/kube): simplify creating versioned objects
8 years ago
Adam Reese 8f58c9efdc
ref(*): refactor release testing
8 years ago
Adam Reese 496ca54183
ref(*): bypass grpc for helm client
8 years ago
AdamDang ee9ef91df0
typo fix get->Get's
8 years ago
AdamDang 138de17c64
Fix some typos
8 years ago
Adam Reese 7c19cb7040
ref(*): kubernetes v1.10 support
8 years ago
Matthew Fisher 3c39e72189
Merge pull request #3401 from bacongobbler/revert-kubeconfig-flag
8 years ago
Matt Farina e6137ff05f
fix(api-machinery): Fixes patching for unstructured objects
8 years ago
Matthew Fisher 2724387506
Merge pull request #3373 from unguiculus/feature/fix-recreate-part-1
8 years ago
Paolo Mainardi b065ffe1fc adding other missing apiVersions
8 years ago
Paolo Mainardi 2cee4c68fa add appsv1beta1 and appsv1beta2 apiVersion
8 years ago
Reinhard Nägele ea520afd3e Fix 'getSelectorFromObject'
8 years ago
Matthew Fisher f13c4d28b5 Revert "feat(helm): adding kubeconfig flag"
8 years ago
Reinhard Nägele 3d05da0109 Fix pod recreation
8 years ago
Adam Reese a31e3b8fe1
ref(*): kubernetes v1.9 support (#3234)
8 years ago
Timofey Kirillov 13cb8d8244 Show kind in resource-not-found-in-release error
8 years ago
Tim Hockin 05d4b30730 Convert registry to k8s.gcr.io
8 years ago
Taylor Thomas 04769b7c26
Merge pull request #3131 from fgimenez/fix-2745
8 years ago
Matt Cholick fe3eeaf39d fix(helm): Tunnel closing already closed channel (#3157)
8 years ago
Kai Chen bc45e90198 Remove unnecessary parentheses in switch statements (#3175)
8 years ago
Federico Gimenez e6d907ed28 check if resource is present before adding it to remaining or keep on deletion
8 years ago
gardlt 371ff8f26d feat(helm): adding kubeconfig flag
8 years ago
Adam Reese 2b43ecd405
ref(*): kubernetes v1.8 support
8 years ago
Matthew Fisher d7a81c99e1 Merge pull request #2976 from HotelsDotCom/respect-apiversion-change
8 years ago
Taylor Thomas acd113ec21 Merge pull request #2978 from HotelsDotCom/detailed-wait-log
8 years ago
Maxim Ivanov cd8bae1df5 More helpful wait messages in tiller logs
8 years ago
Maxim Ivanov bed80e482c When looking for original resource on update/delete, ignore Apiversion, use Kind and Name only
8 years ago
devinyan 3458ad8e6a Add the status of pod when using "Helm status" command
8 years ago
Adam Reese 845e990143
feat(*): use kubernetes 1.7
8 years ago
Justin Scott af4c243ee3 Correct punctuation and capitalization for user facing strings.
8 years ago
Taylor Thomas d9c0a8b434 fix(tiller): Adds missing import back
8 years ago
Taylor Thomas b71bd6a455 Merge pull request #2513 from thomastaylor312/feat/moar_logging
8 years ago
Taylor Thomas 119fa6537c feat(tiller): Adds more logging
8 years ago
peay 0f26cc5522 Add --force to upgrade and rollback
8 years ago
tyrannasaurusbanks b4fc1c7cb2 Add check to ensure helm doesnt 'wait' for external services to become 'ready'
8 years ago
Adam Reese 15254e4c5c feat(*): add generic logging interface (#2394)
8 years ago
Adam Reese 35aabdb61a Merge pull request #2423 from FengyunPan/add-check
8 years ago
Taylor Thomas d310612526 fix(tiller): Fixes bug with `--wait` and updated deployments
8 years ago
fengyun.pan 7887185984 Add check for getting kubeclient
8 years ago
Kiichiro Okano 46cad97950 Return as not ready if it new RS is nil
9 years ago
Adam Reese 7a141a10b3 fix(helm): correct import for apps api
9 years ago
Adam Reese 85c41ef11a ref(*): kubernetes v1.6
9 years ago
kiich 85a91394aa Merge branch 'master' into deploymentsReady-when-newRS-has-minimumReplicas
9 years ago
Kiichiro Okano e3655bb142 Trigger deployment as success when new replicaSet has reached minimum you need which is number of replicas minus maxUnavailable
9 years ago
Matt Butcher 55791e227e Merge pull request #2148 from technosophos/fix/2118-broken-status
9 years ago
Anubhav Mishra 76ebf20aac fix(helm): fix typo
9 years ago
Anubhav Mishra b208258f53 fix(helm): more quotation fixes
9 years ago
Anubhav Mishra 73fd0e4557 fix(tiller): now better formatting
9 years ago
Anubhav Mishra c17ce5f9c1 fix(tiller): adding kind to tiller client logs
9 years ago
Matt Butcher 27c3ff595a
fix(tiller): fix helm status failure on missing resource
9 years ago
Taylor Thomas 185fb4f43c fix(tiller): Fixes problem with `--wait` on headless Services
9 years ago
Taylor Thomas 9afa04b71b fix(tiller): Fixes `--wait` panic on upgrade
9 years ago
Adam Reese 12db1f945f fix(kube): fix wait and recreate
9 years ago
Adam Reese 790b90b95b fix(kube): prevent recreating pods without a selector
9 years ago
Adam Reese 67fc1a21aa feat(kube): support upgrading ThirdPartyResources
9 years ago
Adam Reese ae9691910d ref(kube): code style cleanup
9 years ago
Adam Reese 0f461ba8b5 feat(kube): use jsonpatch to update ThirdPartyResources
9 years ago
Adam Reese 4cdb2ac538 feat(kube): support thirdpartyresources
9 years ago
Michelle Noorali e95a0570ad chore(pkg/releasetesting): add test_suite tests
9 years ago
Michelle Noorali e132191275 ref(pkg/): refactor helm test logic
9 years ago
Vaughn Dice 9bd12953a9 feat(*): add kube client test
9 years ago
Michelle Noorali d46d63a8f7 feat(*): add helm test command mvp
9 years ago
Taylor Thomas 7ef9bb6f71 feat(*): Add --wait flag
9 years ago
Adam Reese de64da2bb1 ref(kube): misc code cleanup
9 years ago
Adam Reese 9e37009467 fix(kube): reap deleted resources during upgrade
9 years ago
Adam Reese b22e6fcfaa ref(kube): add Result to abstract a collection of resources
9 years ago
Adam Reese d10e9186dc feat(tiller): validate objects against kube schema on dry-run
9 years ago
Matt Butcher dbe1c970b3
ref(tiller): minor style refactor
9 years ago
Matt Butcher b28b58ad8b Merge pull request #1715 from mariusgrigoriu/master
9 years ago
Taylor Thomas 774789c79a feat(*): Adds support for timeout flag
9 years ago
Marius Grigoriu d87cd95112 Play nicely with roles that don't allow creating namespaces
9 years ago
Nikolay Mahotkin 1eaec045b2 Rename 'restart' to 'recreate'
9 years ago
Nikolay Mahotkin 44d9274df3 Fixing tests
9 years ago
Nikolay Mahotkin ec0d104fe1 Reformatting changes
9 years ago
Nikolay Mahotkin fdac5e8a39 Introducing flag for restarting pods during release upgrade/rollback
9 years ago
Nikolay Mahotkin 22b206cc69 Adding pod restarting while upgrading release
9 years ago
Adam Reese 525df8f0d1 ref(kube): simplify encoding for creating patches
9 years ago
Adam Reese fb9ef50bc8 test(kube): add test for upgrade
9 years ago
Adam Reese cac9f9c7cc ref(kube): isolate ensureNamespace and add tests
9 years ago
Adam Reese bceea66d27 ref(kube): remove unused fields on client
9 years ago
Adam Reese ea3be9e3b2 feat(*): migrate to kubernetes 1.5
9 years ago
Adam Reese 803475c824 fix(*): misc linter issues
9 years ago
Adam Reese 2ae8821418 feat(kube): add schema validation
9 years ago
Adam Reese df123865c3 fix(kube): fix incomplete patches generated on update
9 years ago
Adam Reese d59f66fc9e fix(*): fix new linter errors
9 years ago
Matt Butcher 8a7e1ec29f Merge pull request #1512 from technosophos/fix/1508-delete-error-message
9 years ago
Matt Butcher 3830736001
fix(tiller): improve deletion failure handling
9 years ago
Adam Reese 1920761c90 fix(kube): add default client config to the loading rules
9 years ago
Adam Reese ab12c46259 ref(kube): add info match helper functions
9 years ago
Adam Reese afb24d00d3 ref(kube): add newBuilder function to dry up builder calls
9 years ago
Matt Butcher 846011b02a Merge pull request #1473 from technosophos/fix/1468-3rd-party-apis
9 years ago
Matt Butcher f27791c35b
fix(tiller): allow 3rd party APIs
9 years ago
Adam Reese d2648ec479 fix(helm): add kubernetes defaults to context
9 years ago
Matt Butcher 8d32bd2a60 fix(tiller): fix wording for a few errors
9 years ago
Michelle Noorali a8418dd75b fix(kube): find current resource by name and kind
9 years ago
Adam Reese 0f5990f4cd feat(helm): add kubeconfig context switching to init command
9 years ago
Adam Reese f71230ccd3 fix(*): resolve go linter issues
9 years ago
Matt Butcher 95a358de35 Merge pull request #1236 from technosophos/ref/kube1.4
9 years ago
Michelle Noorali ac88aaf218 feat(*): add helm rollback functionality
9 years ago
Matt Butcher e4c217768e ref(*): update to Kubernetes 1.4
9 years ago
Keerthan Reddy Mala (kmala) 55dc7b690f
fix(tiller): Upgrade shouldn't fail if there are no changes
9 years ago
Michelle Noorali f062cff5a3 fix(kube): delete should skip resources not found
9 years ago
Michelle Noorali 50d8d36d8b ref(kube): delete skips IsNotFound errs
9 years ago
Michelle Noorali c7bec34454 chore(kube): make update logic more generic
9 years ago
Michelle Noorali 197e466b9a ref(*): return resource update errors
9 years ago
Matt Butcher 5bcf29d214 feat(tiller): make configmaps the default storage
9 years ago
vaikas-google d2841f92f3 formatting changes, add comments, make tests pass
9 years ago
vaikas-google d8e185267d First cut of adding dynamic cluster support to status command
9 years ago
Michelle Noorali 1b31382d9c chore(glide): add kube pkgs to glide.yaml
9 years ago
Michelle Noorali f600b30c7a feat(kube): add update logic to kube client
9 years ago
Phillip Wittrock 4964467868 Swtich from rc to deployment for running tiller
9 years ago
Adam Reese ea4dcbab11 feat(kube): reap related resources on delete
9 years ago
Adam Reese a14e76a65c chore(*): add canonical import path annotation
9 years ago
Matt Butcher ff32062ae8 feat(tiller): support hooks for install
9 years ago
Matt Butcher e757b24aed fix(*): add license header
9 years ago
Adam Reese d300a08915 fix(tunnel): display friendly error on connect issues
9 years ago
Adam Reese 573e5aa7fc feat(kube): create namespace if it does not exist
9 years ago
Adam Reese 0f5c2951a2 feat(kube): use env variable to control kube logging
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
10 years ago
Adam Reese 4a82e7ab4c feat(kube): add delete method
10 years ago
Adam Reese 0b6309be02 ref(kube): refactor kubeclient to a struct
10 years ago
Adam Reese c44f0b0b01 test(kube): improve kubernetes client test coverage
10 years ago
Adam Reese 08d9b85f99 fix(kube): use a fake client in unit tests
10 years ago
Adam Reese 0fbc9229cd feat(kube): add kubernetes client
10 years ago