Commit Graph

23 Commits (master)

Author SHA1 Message Date
Tian 3cf1e63e21
build: address all lint issues by v2 (#20804)
* fix QF1011: could omit type *os.File from declaration; it will be inferred from the right-hand side

* fix QF1012: Use fmt.Fprintf(x, ...) instead of x.Write(fmt.Sprintf(...))

* fix QF1001: could apply De Morgan's law

* fix QF1003: could use tagged switch

* fix weakCond: suspicious ; nil check may not be enough, check for len (gocritic)

* fix docStub: silencing go lint doc-comment warnings is unadvised

* fix builtinShadow: shadowing of predeclared identifier: error

* fix importShadow: shadow of imported package

* fix nestingReduce: invert if cond, replace body with , move old body after the statement

* useless-break: useless break in case clause (revive)

* Clear the redundant content in golangci.yaml file
2025-05-23 17:31:28 -07:00
Steven Powell a90d01cfe6 fix checking for replica controller 2024-07-16 18:02:49 -05:00
Steven Powell c30c183dac remove deprecated functions 2023-04-12 15:03:13 -07:00
Predrag Rogic 23351ba30d
Update pkg/kapi/kapi.go
Co-authored-by: Steven Powell <44844360+spowelljr@users.noreply.github.com>
2023-01-12 21:18:49 +00:00
Predrag Rogic 4a8e7ad85a
address comments 2023-01-10 22:43:05 +00:00
Predrag Rogic 6c98afcdbd
cleanup and containerd systemd cgroup issue workaround 2023-01-09 02:23:07 +00:00
Predrag Rogic 788a9d6bd7
wait and log 2022-12-12 11:45:52 +00:00
Predrag Rogic a7b6923be5
poc 2022-12-09 02:18:17 +00:00
Predrag Rogic 11a8dbf830
fix TestNetworkPlugins tests for Linux with Docker driver 2022-12-07 12:34:14 +00:00
Medya Gh e900c5bb76 replacea all references to kuberentes/cmd to third_party 2021-12-07 14:20:07 -08:00
Predrag Rogic 7d8fc64628
retry kapi.ScaleDeployment on failure 2021-03-27 23:20:23 +00:00
Predrag Rogic 368703ca35
k8s libs: upgrade to v0.20.5 2021-03-23 14:28:00 +00:00
Predrag Rogic dd6687ecb2
early scale down of CoreDNS to 1 replica 2021-03-01 03:36:03 +00:00
Priya Modali 97d96bf925 Switching from glob library to klog library. 2020-09-29 15:49:41 -07:00
Sharif Elgamal 1b6eee675b
Automated GCP Credentials Addon Prototype (#8682)
* metadata addon works

* Add code for metadata server image and makefile rules

* remove log message

* update to work with v1.13.11

* update readme

* fix metadata addon stuff for newer codebase

* buncha changes

* just so many changes

* ch-ch-ch-ch-changes

* addon works

* update readme

* boilerplate

* revert unrelated change

* move server code to another repo

* switch addon name to gcp-auth

* metadata -> gcp-auth

* missed one

* automate finding of credentials

* remove unnecessary comment

* address comments

* Update README.md

* Update README.md

* use mustload everywhere

* swap selector condition

* upgrade kube-webhook-certgen to 1.3

* move paths to constants

* add notice to user on addon enable

* adding addon documentation

* move addons documentation inside handbook

* remove old addons docs location

Co-authored-by: Priya Wadhwa <priyawadhwa@google.com>
2020-07-21 14:25:58 -07:00
Medya Gh 66421a6492 wait for ingress pod be running 2020-06-26 14:22:17 -07:00
Priya Wadhwa 1b8eaaf76c Move kubectl binary function to kapi package to prevent future cyclic import dependencies 2020-06-25 09:40:14 -07:00
Thomas Stromberg 436cee2d84 Fix minikube/kubernetes capitalization, make short help consistent 2020-05-07 14:12:10 -07:00
Thomas Stromberg e3d23d89f1 kube-proxy/WaitCluster fix: don't bootstrap from a stale context 2019-09-12 09:43:34 -07:00
Thomas Stromberg 40b89a1052 kube-proxy/WaitCluster fix: kapi could point to the incorrect context 2019-09-11 21:36:37 -07:00
AllenZMC a08e295d9f
cleanup: fix mis-spelling in kapi.go 2019-08-29 21:51:38 +08:00
AllenZMC 03615ab411 fix wrong spells in kapi.go (#5160) 2019-08-21 06:46:50 -07:00
Medya Gh f75b558ac2 rename kube pkg to kapi 2019-08-19 16:11:38 -07:00