Jordan Liggitt
616ac2f2d0
Clean up unused configurable categories
2022-03-03 09:27:38 -05:00
Kubernetes Prow Robot
2fcdbd098c
Merge pull request #107993 from deads2k/simplify
...
prevent enabling beta by default for new api groups
2022-02-23 16:03:35 -08:00
Kubernetes Prow Robot
77eb1a03df
Merge pull request #94637 from liggitt/namespace-before-admission
...
set/validate object namespace before admission
2022-02-23 14:35:58 -08:00
David Eads
a59b92e8c0
reduce API surface area of whether a resource is enabled
2022-02-23 13:36:33 -05:00
Sergey Kanzhelev
06ee2969ef
do not serve node.k8s.io, version v1alpha1
2022-02-22 18:30:24 +00:00
David Eads
0ec20f97d2
migrate more rest handlers to select by resource enablement
2022-02-22 12:07:43 -05:00
Abdullah Gharaibeh
8a1c70b48c
Graduate PodAffinityNamespaceSelector to GA
2022-02-18 12:07:29 -05:00
Kubernetes Prow Robot
8a6439d2b1
Merge pull request #108129 from ahg-g/ahg-suspend
...
Graduate SuspendJob to GA
2022-02-17 19:36:23 -08:00
Kubernetes Prow Robot
5699e6d3ea
Merge pull request #108198 from liggitt/endpointslice-topology-strategy-fix
...
Make EndpointSlice strategy move node name from topology map to field instead of discarding when updating via v1
2022-02-17 17:20:49 -08:00
Rob Scott
ba64f9b045
Updating EndpointSlice strategy to retain node name in topology until
...
field is set
This fixes a bug where a partial EndpointSlice update could cause node
name information to be dropped from endpoints that were not updated.
2022-02-17 17:41:17 -05:00
Madhav Jivrajani
f0ef426238
Update tests to have namespace set in req context
...
* This updates tests that make requests that call
into admission.
* For apiextensions-apiserver, the namespace is set
to metav1.NamespaceNone since the CRD created and
worked with is a cluster scoped CRD.
* For most tests in register/storage, the namespace
is set to NamespaceDefault or NamespaceNone based
on if the resource is cluster scoped (namespaces)
or namespace scoped (pvs).
* Endpoints tests now have a namespace specified in
the expected object - NamespaceDefault or other
based on the test.
Signed-off-by: Madhav Jivrajani <madhav.jiv@gmail.com >
2022-02-17 00:13:34 -05:00
David Eads
132fbf4192
convert rest storage to per-resource
2022-02-16 14:19:29 -05:00
Abdullah Gharaibeh
b2d2ec9e76
Graduate SuspendJob to GA
2022-02-15 10:46:13 -05:00
Wojciech Tyczyński
7314286efd
Fix validation of event updates
2022-02-10 20:01:45 +01:00
Kubernetes Prow Robot
e74c42aaf2
Merge pull request #107880 from liggitt/kubectl-auth-token
...
Add command to request a bound service account token
2022-02-09 14:10:01 -08:00
Jordan Liggitt
19d71bb5d5
Validate and populate metadata fields in token request
2022-02-09 14:05:53 -05:00
Kubernetes Prow Robot
24e5d1fdb7
Merge pull request #107432 from denkensk/graduate-nonpreemptingpriority-to-ga
...
Graduate NonPreemptingPriority to GA
2022-02-08 11:05:03 -08:00
Alex Wang
541907334e
graduate nonpreemptingpriority to ga
2022-02-08 18:11:23 +08:00
Jyoti Mahapatra
a1b52fb17a
extend sa token if audience is apiserver ( #105954 )
...
Signed-off-by: Jyoti Mahapatra <jyotima@amazon.com >
2022-01-31 16:01:52 -08:00
Tim Hockin
e927ce85b6
service REST: Call Decorator(old) on update path
...
This is causing a bug when upgrading from older releases to 1.23 because
of Service's maybe-too-clever default-on-read logic.
Service depends on `Decorator()` to be called upon read, to
back-populate old saved objects which do not have `.clusterIPs[]` set.
This works on read, but the cache saves the pre-decorated type (as it is
documented)
In 1.23, this code was refactored and it seems some edge-case handling
was inadvertently removed (I have not confirmed exactly what happened).
Test by aojea
2022-01-30 11:25:17 -08:00
Paco Xu
df81521d88
remove unused parameter: intercceptRedirects & RequireSameHostRedirects
2022-01-28 10:31:51 +08:00
Abu Kashem
95b4ac4dbd
apf: create suggested pl before flowschema
2022-01-24 10:24:30 -05:00
Kubernetes Prow Robot
46c5edbc58
Merge pull request #107106 from tkashem/apf-comment
...
apf: clarify with comment
2022-01-20 01:13:51 -08:00
Abu Kashem
df41fe5d84
apf: clarify with comment
2022-01-19 17:38:31 -05:00
Jordan Liggitt
c0af728f43
Handle invalid selectors properly
2022-01-14 12:11:02 -05:00
Kubernetes Prow Robot
3bd422dc76
Merge pull request #107293 from dims/jan-1-owners-cleanup
...
Cleanup OWNERS files - Jan 2021 Week 1
2022-01-13 10:30:30 -08:00
Patrick Ohly
9eaa2dc554
avoid klog Info calls without verbosity
...
In the following code pattern, the log message will get logged with v=0 in JSON
output although conceptually it has a higher verbosity:
if klog.V(5).Enabled() {
klog.Info("hello world")
}
Having the actual verbosity in the JSON output is relevant, for example for
filtering out only the important info messages. The solution is to use
klog.V(5).Info or something similar.
Whether the outer if is necessary at all depends on how complex the parameters
are. The return value of klog.V can be captured in a variable and be used
multiple times to avoid the overhead for that function call and to avoid
repeating the verbosity level.
2022-01-12 07:48:36 +01:00
Davanum Srinivas
ba1f853b5a
Add mwielgus back
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2022-01-10 09:02:53 -05:00
Davanum Srinivas
9682b7248f
OWNERS cleanup - Jan 2021 Week 1
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2022-01-10 08:14:29 -05:00
Kubernetes Prow Robot
36746baa5f
Merge pull request #104429 from shawnhanx/ut_3
...
Add unit tests for registry/apiserverinternal/storageversion
2022-01-06 01:26:28 -08:00
Kubernetes Prow Robot
b18efc2e9c
Merge pull request #104807 from shawnhanx/ut_4
...
Add unit tests for pkg/registry/authorization/util
2022-01-05 18:06:27 -08:00
Mike Spreitzer
72403c8814
Concurrentize pkg/registry/flowcontrol/ensurer/strategy.go
...
Stop logging error messages when surprised by concurrent activity.
Concurrent activity is not an error, it is normal.
2022-01-04 22:55:21 -05:00
Kubernetes Prow Robot
1945829906
Merge pull request #104846 from andrewsykim/fix-internal-traffic-policy-validation
...
Stop defaulting Service internalTrafficPolicy when type is ExternalName
2022-01-04 17:40:32 -08:00
Kubernetes Prow Robot
9e209efd65
Merge pull request #107104 from tkashem/apf-use-v1beta2
...
apf: use v1beta2 in registry package
2022-01-04 13:06:42 -08:00
Andrew Sy Kim
f68f478e66
core/v1: update unit tests to not expect internalTrafficPolicy when Service Type=ExternalName
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com >
2022-01-04 14:48:04 -05:00
Andrew Sy Kim
438b90fbc4
core/v1: drop Service spec.internalTrafficPolicy on read when type is ExternalName
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com >
2022-01-04 14:36:19 -05:00
Kubernetes Prow Robot
7dcad28ab0
Merge pull request #105800 from benluddy/apf-bootstrap-configuration-lister
...
Use a lister for bootstrap flowcontrol config objects.
2022-01-04 07:30:52 -08:00
Abu Kashem
f30a34bc01
apf: use v1beta2 for registry
2021-12-17 10:35:37 -05:00
Lars Ekman
1ef96752da
Mark ServiceLBNodePortControl as GA
2021-12-16 16:48:58 +01:00
Davanum Srinivas
497e9c1971
Cleanup OWNERS files (No Activity in the last year)
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2021-12-15 10:34:02 -05:00
Davanum Srinivas
9405e9b55e
Check in OWNERS modified by update-yamlfmt.sh
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2021-12-09 21:31:26 -05:00
Mengjiao Liu
f3c37c2c82
Remove feature gate NamespaceDefaultLabelName
2021-12-07 16:51:17 +08:00
Paco Xu
15558d6972
remove ValidateProxyRedirects and StreamingProxyRedirects in 1.24
2021-12-06 14:47:06 +08:00
Matthew Cary
f1d5d4df5a
tests for statefulset PersistentVolumeClaimDeletePolicy api change
2021-11-17 16:46:48 -08:00
Matthew Cary
98c37f9e2a
statefulset PersistentVolumeClaimDeletePolicy api change
2021-11-17 16:46:47 -08:00
Antonio Ojea
d126b14838
migrate nolint coments to golangci-lint
2021-11-17 13:58:53 +01:00
Hanna Lee
07a883d8e6
Remove //lint:ignore pragmas that aren't being used anymore
2021-11-17 08:56:54 +01:00
Hanna Lee
0f3836dcc5
Ignore deprecation warnings with //nolint:staticcheck
2021-11-17 08:55:57 +01:00
Kubernetes Prow Robot
39c76ba2ed
Merge pull request #106455 from soltysh/cronjob_warning
...
Add warning about using unsupported CRON_TZ
2021-11-16 17:44:31 -08:00
Maciej Szulik
d0518848b5
Add warning about using unsupported CRON_TZ
...
CRON_TZ variable slipped in during upgrading github.com/robfig/cron
library. It allows setting a time zone which is a long requested
feature but one that is not officially supported. This adds warning
event since users should not rely on unsupported features.
2021-11-16 17:41:37 +01:00