Karl Isenberg
61451f57b1
refactor: Add request method constants
...
This avoids linter errors from using inline strings as http request
methods.
Kubernetes-commit: e81887276c65acccc5486f2ff69d8bc54ac3c6ca
2025-04-29 16:45:30 -07:00
David Eads
f26d4ed894
add field and label selectors to authorization attributes
...
Co-authored-by: Jordan Liggitt <liggitt@google.com>
Kubernetes-commit: 92e3445e9d7a587ddb56b3ff4b1445244fbf9abd
2024-05-23 15:12:26 -04:00
Patrick Ohly
8f8c30ff8f
logging: fix names of keys
...
The stricter checking with the upcoming logcheck v0.4.1 pointed out these names
which don't comply with our recommendations in
https://github.com/kubernetes/community/blob/master/contributors/devel/sig-instrumentation/migration-to-structured-logging.md#name-arguments .
Kubernetes-commit: bc6c7fa91201348d010b638fbadf32007c0ac546
2023-01-16 15:04:01 +01:00
lala123912
5d990a9e20
staging\src\k8s.io\apiserver\pkg\endpoints:migrate to structured logs
...
Kubernetes-commit: 12076ff3e587be00f1ef52e546fa3a3a85d41e7b
2021-01-15 15:23:55 +08:00
Daniel Smith
828e3af81d
fix a few missed references
...
```
grep -RIl pkg/master . | xargs -n 1 sed -i 's|pkg/master|pkg/controlplane|g'
LC_ALL=C sort -o hack/.golint_failures hack/.golint_failures
```
Kubernetes-commit: 9eb664f88ab5309800a7a334833e5e8742fd9ad1
2020-09-02 11:45:10 -07:00
Davanum Srinivas
5879417a28
switch over k/k to use klog v2
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
Kubernetes-commit: 442a69c3bdf6fe8e525b05887e57d89db1e2f3a5
2020-04-17 15:25:06 -04:00
wojtekt
ba8f49cc73
Ensure conversions are registered for metainternalversion codecs
...
Kubernetes-commit: 54163527a69a8c868b87d301876559495220d1b0
2019-09-11 16:30:08 +02:00
Davanum Srinivas
2710b17b80
Move from glog to klog
...
- Move from the old github.com/golang/glog to k8s.io/klog
- klog as explicit InitFlags() so we add them as necessary
- we update the other repositories that we vendor that made a similar
change from glog to klog
* github.com/kubernetes/repo-infra
* k8s.io/gengo/
* k8s.io/kube-openapi/
* github.com/google/cadvisor
- Entirely remove all references to glog
- Fix some tests by explicit InitFlags in their init() methods
Change-Id: I92db545ff36fcec83afe98f550c9e630098b3135
Kubernetes-commit: 954996e231074dc7429f7be1256a579bedd8344c
2018-11-09 13:49:10 -05:00
wojtekt
6d795842cd
Requires single name for list and watch
...
Kubernetes-commit: f344c5c0621b3e187ade02a6858bccb2c2d641bd
2018-05-06 15:15:32 +02:00
Mike Danese
cd0258b4d7
replace request.Context with context.Context
...
Kubernetes-commit: 54fd2aaefd11e12a3ecb6d1a1326f04cdc8ea1a3
2018-04-24 08:10:34 -07:00
Jordan Liggitt
25758bf0f8
Remove request context mapper
...
Kubernetes-commit: 8ea88a5092c767fc3141512db924fd0435f7670e
2018-04-18 11:12:15 -04:00
hzxuzhonghu
9757391c53
remove hard coding Namespace
...
Kubernetes-commit: 9669acc38e8782b4d3f497e8e37e257952731f7f
2018-01-04 11:57:40 +08:00
David Eads
9f885389e9
make url parsing in apiserver configurable
...
Kubernetes-commit: ccc7c9bdfa80caee93953a96dec0d689d93f08e5
2017-09-04 14:03:48 +00:00
Clayton Coleman
c521c8f6b5
Record 429 and timeout errors to prometheus
...
Allows gathering of load being shed.
Kubernetes-commit: 2e33a2f0bc8ac82aecadcb19cf6e41259454d182
2017-07-16 04:08:41 +00:00
Jordan Liggitt
63a940e4f9
Remove redirect verb parsing
...
Kubernetes-commit: e8b24679dc457d3321073b9ae8e1c17a1763c56a
2017-06-28 00:14:31 +00:00
Clayton Coleman
e5842f0f5f
iQEcBAABCAAGBQJYhok+AAoJED0WkGtPHFyzhlMIAKUGDc5OG9u8AFgmZaRWp+ig
...
tTAd5vL479Y9GX0sorhbGZbXS5+ylqEfbkZQC1A4eoDOmt+dkC8jdHgUZmEwwKOM
V/CH09SAkEa8MhxDbASV0J0oSWphMdOCMtIotB/M2S9TMNCMBDusj1VkB8kUXgKW
MUnabb90dkFGtYWiPKNx+TVmv0T9fMWvODL24yKzLn13R+Wjk+4FfrEPFacEnsv3
uaLAgxenhoGyf18E3d4ij6DW8c23Xrdn+s2hDL9WOtELGCUYaflU7q2Udz8DZIKu
GLcfVzdTpcjw5Q8fdDNykxLq6+18L92V2Wj3wzWEVZmH6kVy2ty1hFY4o08/phc=
=OL70
-----END PGP SIGNATURE-----
refactor: move ListOptions references to metav1
2017-01-24 08:10:17 -05:00
Dr. Stefan Schimanski
dc90e9a003
genericapiserver: move packages
...
Towards a sane k8s.io/apiserver package structure.
2017-01-19 10:27:27 -05:00