Kubernetes Prow Robot
cf8f9a8d07
Merge pull request #119334 from kmala/serverapply
...
update the dependency sigs.k8s.io/structured-merge-diff/v4 to latest tag
2023-09-06 12:34:55 -07:00
Tim Hockin
a930892769
Gate: disallow .status.loadBalancer on non-LB svc
...
The fact that the .status.loadBalancer field can be set while .spec.type
is not "LoadBalancer" is a flub. Any spec update will already clear
.status.ingress, so it's hard to really rely on this. After this
change, updates which try to set this combination will fail validation.
Existing cases of this will not be broken. Any spec/metadata update
will clear it (no error) and this is the only stanza of status.
New gate "AllowServiceLBStatusOnNonLB" is off by default, but can be
enabled if this change actually breaks someone, which seems exceeedingly
unlikely.
2023-08-20 16:40:41 -07:00
Alexander Zielenski
b3b775baa5
test: adjust tests for v1beta1 validatingadmissionpolicy
2023-07-20 13:24:09 -07:00
Keerthan Reddy Mala
106a931c29
fix intergration test
2023-07-18 10:24:04 -07:00
Ricardo Katz
bff8a6cd9f
Remove withdrawn feature NetworkPolicyStatus
2023-05-01 15:19:25 -03:00
Alexander Zielenski
2b01f63b11
move check for noop managed field timestamp updates
...
this check needs to go after any mutations. After the mutating admission chain, rest.BeforeUpdate (which is responsible for reverting updates to immutable timestamp fields, among other things.) is called in the store.Update function. Without moving this check, it will be possible for an object to be written to etcd with only a change to its managed fields timestamp.
2023-03-22 11:29:33 -07:00
Patrick Ohly
fec5233668
api: resource.k8s.io PodScheduling -> PodSchedulingContext
...
The name "PodScheduling" was unusual because in contrast to most other names,
it was impossible to put an article in front of it. Now PodSchedulingContext is
used instead.
2023-03-14 10:18:08 +01:00
Patrick Ohly
29941b8d3e
api: resource.k8s.io v1alpha1 -> v1alpha2
...
For Kubernetes 1.27, we intend to make some breaking API changes:
- rename PodScheduling -> PodSchedulingHints (https://github.com/kubernetes/kubernetes/issues/114283 )
- extend ResourceClaimStatus (https://github.com/kubernetes/enhancements/pull/3802 )
We need to switch from v1alpha1 to v1alpha2 for that.
2023-03-14 07:52:03 +01:00
Jiahui Feng
82eb24156a
add test for reset fields.
2023-03-08 15:01:06 -08:00
Antoine Pelisse
4f3859ce91
managedfields: Move most of fieldmanager package to managefields
2023-03-08 13:44:00 -08:00
Patrick Ohly
5cca60f0b8
api: dynamic resource allocation API
...
This adds a new resource.k8s.io API group with v1alpha1 as version. It contains
four new types: resource.ResourceClaim, resource.ResourceClass, resource.ResourceClaimTemplate, and
resource.PodScheduling.
2022-11-10 20:08:24 +01:00
Wojciech Tyczyński
71d87272de
Clean shutdown of apply integration tests
2022-11-07 09:14:15 +01:00
Kubernetes Prow Robot
a6bee7d5fc
Merge pull request #112575 from tkashem/apf-fix-reset-fields-test
...
apf: don't omit flowschemas from reset fields test
2022-10-03 13:20:13 -07: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
Wojciech Tyczyński
57c95fbfa1
Lock ServerSideApply feature to true
2022-09-27 13:48:28 +02:00
Abu Kashem
66fc0d7037
rename assuredConcurrencyShares for flowcontrol v1beta3
2022-09-26 15:34:10 -04:00
Abu Kashem
e1a764d635
apiserver: enable v1beta3 for apf
2022-09-21 18:54:19 -04:00
Abu Kashem
aa04af3f5c
apf: don't omit flowschemas from reset fields test
2022-09-19 13:46:38 -04:00
Mike Spreitzer
d3081b378a
Revise according to review
2022-08-29 23:02:29 -04:00
Mike Spreitzer
98acbc3692
Make TestApplyResetFields exhibit surprising object
2022-08-26 14:13:35 -04:00
Alexander Zielenski
bd648f3f9e
add regression test of formerly atomic claimRef
2022-08-03 10:57:13 -07:00
Kubernetes Prow Robot
8bc12f24e6
Merge pull request #106388 from alexzielenski/ssa-ignore-nonsemantic-changes
...
Ignore non-semantic changes to objects
2022-07-26 11:35:10 -07:00
Alexander Zielenski
7233538008
revert timestamp updates to object if non-managed fields do not change
...
add short-circuiting logic for long comaprison
replace timestamps rather than doing a full managed fields deepcopy
add guard
2022-07-14 11:55:26 -07:00
Abirdcfly
00b9ead02c
cleanup: remove duplicate import
...
Signed-off-by: Abirdcfly <fp544037857@gmail.com>
2022-07-14 11:25:19 +08:00
SataQiu
20f8a06e50
using t.Run() in integration test TestApplyAlsoCreates
2022-06-15 00:01:10 +08:00
Wojciech Tyczyński
3b61f4ac20
Clean shutdown of apply integration tests
2022-05-28 21:14:09 +02:00
Wojciech Tyczyński
492e7111a0
Minor cleanup of apply tests
2022-05-13 11:37:22 +02:00
Kevin Delgado
581ac7f446
Add Apply and ApplyStatus methods to dynamic ResourceInterface
2022-04-12 21:55:40 +00:00
Ricardo Katz
42a1201082
Implementation on Network Policy Status ( #107963 )
...
* Implement status subresource in NetworkPolicy
* add NetworkPolicyStatus generated files
* Fix comments in netpol status review
2022-03-29 01:52:48 -07:00
Jordan Liggitt
363a8beaab
Revert "Revert "Merge pull request 107797 from tkashem/revert-107456""
...
This reverts commit b0b460921b
.
2022-03-25 14:36:10 -04:00
Kubernetes Prow Robot
9a8defda15
Merge pull request #108383 from tkashem/revert
...
Revert the revert of #107456 - "apf: change controller to use SSA for patches"
2022-03-21 22:09:43 -07:00
Abirdcfly
2005110090
fix some typo
...
Change-Id: I211f572555e964581214a5d726ac552676c9833a
2022-03-05 23:25:52 +08:00
Abu Kashem
b0b460921b
Revert "Merge pull request #107797 from tkashem/revert-107456"
...
This reverts commit 83ca745412
, reversing
changes made to 1c216c6ec8
.
2022-02-27 13:40:28 -05:00
Wojciech Tyczyński
41ee6a3e44
Remove selflink integration tests
2022-02-14 11:11:56 +01:00
Kubernetes Prow Robot
83ca745412
Merge pull request #107797 from tkashem/revert-107456
...
Revert "Merge pull request #107456 from tkashem/apf-ssa"
2022-01-27 23:14:30 -08:00
Abu Kashem
8fb3333863
Revert "Merge pull request #107456 from tkashem/apf-ssa"
...
This reverts commit 6faa4f0010
, reversing
changes made to 33a2c50bce
.
2022-01-26 13:54:26 -05:00
Jeffrey Ying
ecb9b620fe
Revert "Populate OpenAPI in all integration tests"
2022-01-26 13:30:03 -05:00
Jefftree
eb8f6fe0f9
Populate OpenAPI in all integration tests
2022-01-25 14:16:31 -08:00
Abu Kashem
d9f4d6507b
apf: change controller to use SSA for patches
2022-01-19 14:56:53 -05:00
HaoJie Liu
1dc1a37294
fix typo in /test/integration
2021-11-25 18:59:31 +08:00
wangyysde
d2abddd909
rename v2beta2 to v2
...
Signed-off-by: wangyysde <net_use@bzhy.com>
Generation swagger.json.
Use v2 path for hpa_cpu_field.
run update-codegen.sh
Signed-off-by: wangyysde <net_use@bzhy.com>
2021-11-09 10:34:54 +08:00
Abu Kashem
e2b8701545
apf: ebable v1beta2
2021-09-09 08:28:53 -04:00
Jordan Liggitt
2979c3325e
Switch to go.etcd.io/etcd/client/v3
2021-06-15 09:53:06 -04:00
Mengjiao Liu
257b494478
test/integration: Rename masterConfig to instanceConfig
2021-06-08 17:21:47 +08:00
Mengjiao Liu
ac5535c949
test/integration: Rename MasterConfigOptions to ControlPlaneConfigOptions
2021-06-08 16:58:46 +08:00
Mengjiao Liu
6871b2b3c7
Rename masterConfig to controlPlaneConfig
2021-06-04 20:55:08 +08:00
Mengjiao Liu
387154f1a9
Part3: master to controlplane in test/integration
...
Rename RunAMaster to RunAControlPlane
2021-06-03 11:06:19 +08:00
Mengjiao Liu
c9ec486287
Part of master to controlplane in test/integration
...
Rename NewIntegrationTestMasterConfig to NewIntegrationTestControlPlaneConfig
2021-05-25 13:26:28 +08:00
Kubernetes Prow Robot
0f4de95e5b
Merge pull request #101330 from deads2k/apply-remove-beta
...
apply test for manager limit to only use v1 apis
2021-04-22 13:19:49 -07:00
David Eads
b1ce579517
apply test for manager limit to only use v1 apis
2021-04-21 14:38:24 -04:00