Commit Graph

16772 Commits

Author SHA1 Message Date
Benjamin Elder
a3e3608fd7 drop Gopkg.toml from publishing bot rules 2022-10-04 20:55:33 -07:00
Benjamin Elder
f96d61d916 remove BUILD files from publishing bot rules
bazel has been removed since 1.21, the rules only go back to 1.22

TODO: remove Gopkg.toml rule as well ...?
2022-10-04 16:52:27 -07:00
Tim Hockin
89e0e09eb9 Format calls to codegens
No functional changes here,just formatting.  Makes future commits
easier.
2022-10-04 08:45:57 -07:00
Tim Hockin
436bebf47d Codegens: Do not auto-set boilerplate path
Make each invocation pass it explicitly.  This will make later commits
cleaner.
2022-10-04 08:45:57 -07:00
Abu Kashem
549a72ae15 apiserver: prerelease-lifecycle-gen for flowcontrol 2022-10-03 14:04:51 -04:00
Kubernetes Prow Robot
9720af2ba3 Merge pull request #112306 from tkashem/v1beta3
add v1beta3 for Priority And Fairness
2022-10-03 10:06:14 -07:00
Kubernetes Prow Robot
f8bb82c2ac Merge pull request #112258 from Abirdcfly/atomicTypes
go1.19: change some atomic.Value to atomic.Bool
2022-09-30 14:58:12 -07:00
SataQiu
3cd3ab5f94 kube-apiserver: mark unused master-service-namespace flag as deprecated 2022-09-30 16:13:13 +08:00
Kubernetes Prow Robot
3af1e5fdf6 Merge pull request #112707 from enj/enj/i/https_links
Use https links for k8s KEPs, issues, PRs, etc
2022-09-29 12:34:40 -07:00
Kubernetes Prow Robot
e0e03027e0 Merge pull request #112753 from flant/who-am-i-error
Add more accurate error message for WhoAmI command
2022-09-29 08:45:04 -07:00
Kubernetes Prow Robot
8d1ba6a086 Merge pull request #112731 from pacoxu/blackfriday-v2
upgrade Blackfriday to v2 and re-implement render
2022-09-29 08:44:53 -07:00
m.nabokikh
e6e670624b Split the API error in two
Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>
2022-09-29 11:50:33 +02:00
Kubernetes Prow Robot
d57b6128eb Merge pull request #112676 from logicalhan/stability-v2
Extend the metrics stability framework to support additional parses
2022-09-28 11:32:34 -07:00
Kubernetes Prow Robot
7c64250cd0 Merge pull request #112772 from liggitt/discovery-redirect
Avoid following redirects in aggregator availability controller
2022-09-28 09:26:33 -07:00
Alex Zielenski
a9a1cdbd15 Allow timestamp transformer equalities to be configurable (#112158)
* allow noop-ignoring transformer to be configurable

* consolidate timestamp equalities initialization

* remove extra plumbing

* fix typo

* remove CustomEqualities list
2022-09-28 07:56:34 -07:00
Jordan Liggitt
2d397e8530 Avoid following redirects in aggregator availability controller 2022-09-28 10:56:21 -04:00
Kubernetes Prow Robot
827c77afcb Merge pull request #112738 from liggitt/proto-tag
github.com/matttproud/golang_protobuf_extensions v1.0.2
2022-09-28 06:46:34 -07:00
Jordan Liggitt
7ea2180980 github.com/matttproud/golang_protobuf_extensions v1.0.2 2022-09-28 08:40:47 -04:00
Kubernetes Prow Robot
1294f557b9 Merge pull request #112689 from cheftako/master
Bump konnectivity-client to v0.0.33
2022-09-27 17:51:35 -07:00
Han Kang
521a027fea update capabilities of static analysis parser
Change-Id: Ie09399981fcef213e0e7c7d12a8039aedbf0246a
2022-09-27 17:21:14 -07:00
Kubernetes Prow Robot
e11f23eb97 Merge pull request #112741 from logicalhan/health-check-metrics
enable health check SLI metrics for apiserver
2022-09-27 15:37:50 -07:00
Kubernetes Prow Robot
81b474d6a7 Merge pull request #112461 from aramase/validate-annotations
[KMSv2]: validate annotations key and size
2022-09-27 14:26:01 -07:00
Kubernetes Prow Robot
2a0842f7f3 Merge pull request #112728 from qmloong/qmloong/redundant-log
fix: remove redundant error log print
2022-09-27 12:59:50 -07:00
Han Kang
334be489d4 patch healthcheck sli metric so that we only have a binary value
Change-Id: I0d87e29715432f772309a0d4a7305fff358c6d48
2022-09-27 12:43:42 -07:00
Paco Xu
9d2be187e5 add unit test for normalizer rendering markdown 2022-09-28 03:30:56 +08:00
Han Kang
db13f51db9 enable health check SLI metrics for apiserver
Change-Id: I1b43e6dfea35b8c3bfdf5daaa8b42adff2fbc786
2022-09-27 09:58:54 -07:00
m.nabokikh
967fdbd3d5 Fix the code according to the code review comments
Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>
2022-09-27 15:49:51 +02:00
m.nabokikh
bbc58a5517 Add more accurate error message for WhoAmI command
Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>
2022-09-27 14:12:07 +02:00
Wojciech Tyczyński
57c95fbfa1 Lock ServerSideApply feature to true 2022-09-27 13:48:28 +02:00
Anish Ramasekar
d1fb258ff2 kmsv2: validate annotations key and size
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2022-09-27 01:57:20 +00:00
Walter Fender
1dfdfc4bb5 Bump konnectivity-client to v0.0.33
Bump konnectivity network proxy to v0.0.33.
Includes a couple bug fixes for better handling of dial failures.
[Agent &
Server](https://github.com/kubernetes-sigs/apiserver-network-proxy/commits/v0.0.33)
include numerous other fixes.
Pin goleak to 1.2
2022-09-26 17:06:49 -07:00
Kubernetes Prow Robot
d39c9aeff0 Merge pull request #112740 from logicalhan/health-check-metrics
use generic slis as entrypoint for healthcheck metrics
2022-09-26 16:08:25 -07:00
Kubernetes Prow Robot
24377fa7a1 Merge pull request #112703 from enj/enj/r/kms_cleanup
encryption config: no-op refactor to prepare for single loading
2022-09-26 14:50:26 -07:00
Kubernetes Prow Robot
a54d8d8add Merge pull request #111980 from aramase/kms
Add staging directory for kms
2022-09-26 14:50:14 -07:00
Han Kang
63f98e035d use generic slis as entrypoint for healthcheck metrics and expose convenience functions for setting stuff up
Change-Id: I19a53bf71272021566f50ab86d0069e2669e547e
2022-09-26 12:57:06 -07:00
Kubernetes Prow Robot
d2ae6fbeb1 Merge pull request #112690 from logicalhan/feature-gate
wire up feature enablement metric in feature_gate.go
2022-09-26 12:44:15 -07:00
Monis Khan
db850931a8 encryption config: no-op refactor to prepare for single loading
Signed-off-by: Monis Khan <mok@microsoft.com>
2022-09-26 15:35:03 -04:00
Abu Kashem
6cf7d0e39c add testdata for flowcontrol v1beta3 2022-09-26 15:34:21 -04:00
Abu Kashem
66fc0d7037 rename assuredConcurrencyShares for flowcontrol v1beta3 2022-09-26 15:34:10 -04:00
Anish Ramasekar
c3794e2377 Add staging directory for kms
- Moves kms proto apis to the staging repo
- Updates generate and verify kms proto scripts to check staging repo

Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2022-09-26 19:23:35 +00:00
Kubernetes Prow Robot
d9b2f6d7d1 Merge pull request #112484 from aramase/update-unit-test
[KMS]: update envelope caching unit tests
2022-09-26 11:08:08 -07:00
Kubernetes Prow Robot
bc6e801aa0 Merge pull request #112705 from stevekuznetsov/skuznets/fix-comment
clients: clarify a misleading comment
2022-09-26 09:20:19 -07:00
Han Kang
5f5897798e add unit test coverage
Change-Id: Idfbc9e72f1e0051a9423b23d1f0397364bb3c251
2022-09-26 09:13:41 -07:00
Han Kang
e95179ffb6 Wire up feature_gate.go with metrics via AddMetrics method
wire up feature_gate.go with metrics via AddMetrics method

Change-Id: I9b4f6b04c0f4eb9bcb198b16284393d21c774ad8

wire in metrics to kubernetes components

Change-Id: I6d4ef8b26f149f62b03f32d1658f04f3056fe4dc

rename metric since we're using the value to determine if enabled is true or false

Change-Id: I13a6b6df90a5ffb4b9c5b34fa187562413bea029

Update staging/src/k8s.io/component-base/featuregate/feature_gate.go

Co-authored-by: Jordan Liggitt <jordan@liggitt.net>
2022-09-26 08:44:42 -07:00
Kubernetes Prow Robot
a024252328 Merge pull request #112680 from enj/enj/i/tls_cache_key_comparable
transport/cache: statically assert that tlsCacheKey is comparable
2022-09-26 08:10:20 -07:00
Paco Xu
baedc1cd32 implement blackfriday render using v2 2022-09-26 17:12:24 +08:00
qmloong
45ed5ba993 fix: remove redundant error log print 2022-09-26 16:11:12 +08:00
Paco Xu
65cb35f931 pin github.com/russross/blackfriday/v2 to v2.1.0 2022-09-26 13:52:58 +08:00
Kubernetes Prow Robot
cac53883f4 Merge pull request #112674 from iutx/optimize/oidc-test
Optimize authenticator oidc test
2022-09-24 17:40:04 -07:00
Kubernetes Prow Robot
953ce2212b Merge pull request #112665 from NoicFank/fix-typo
Fix typo error in shared_informer
2022-09-24 14:12:05 -07:00