Wojciech Tyczyński
57c95fbfa1
Lock ServerSideApply feature to true
2022-09-27 13:48:28 +02: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
Andrea Nodari
8e4b5c849b
Do not add managed fields if a scale entry doesn't own replicas
...
This happens when a request changes the .status.replicas but not
.spec.replicas
2021-04-21 20:27:45 +02:00
Andrea Nodari
09649e58b5
Check request info when updating managed fields during scale
...
- Test all versions to make sure each resource version is in the
mappings
- Fail when request info contains an unrecognized version. We have tests
that guarantee that all known versions are in the mappings. If we
get a version in request info that is not there we should fail fast to
prevent inconsistent behaviour (e.g. for some reason the mappings is
not up to date).
Ensure all known versions are in mappings
2021-04-21 20:27:02 +02:00
Antoine Pelisse
816e80206c
Use ScaleHandler for all scalable resources
2021-04-21 18:41:40 +02:00
Andrea Nodari
a9ea98b3b9
Track ownership of deployments scale subresource
2021-04-21 18:41:40 +02:00
Andrea Nodari
862d256195
Add "subresource" field to ManagedFieldEntry
...
This field is useful to namespace the managed field entries of a
subresource and differentiate them from the ones of the main resource.
2021-04-16 14:13:18 -07:00
Kevin Delgado
a1fac8cbd9
Server-Side Apply: Status Wiping/Reset Fields
...
Adds and implements ResetFieldsProvder interface in order to ensure that
the fieldmanager no longer owns fields that get reset before the object
is persisted.
Co-authored-by: Kevin Wiesmueller <kwiesmul@redhat.com>
Co-authored-by: Kevin Delgado <kevindelgado@google.com>
2021-03-10 01:02:18 +00:00
Morten Torkildsen
21fba79d45
Promote PDBs to GA
2021-03-09 10:29:11 -05:00
Kubernetes Prow Robot
4fccba9e06
Merge pull request #99800 from deads2k/beta-more
...
remove more CRD v1beta1 client dependencies from test integration
2021-03-08 07:51:54 -08:00
David Eads
c14ff1a674
remove more CRD v1beta1 client dependencies
2021-03-05 08:10:47 -05:00
Maciej Szulik
9364d0fc81
Promote CronJobs to batch/v1
2021-03-05 12:44:23 +01:00
Maciej Szulik
f8b2cf653c
Drop batch/v2alpha1 leftovers
2021-03-05 12:44:21 +01:00
David Eads
b90179e0f2
write CRD validation function only valid in beta1 direct to etcd to test apply on migrated data
2021-03-02 15:57:57 -05:00
David Eads
c72b4b3f89
coerce apply tests to CRD v1. skip CRDs that are no longer valid
2021-03-02 14:34:41 -05:00
David Eads
b261364025
try to tidy up crd v1beta1 usage
2021-03-02 14:34:41 -05:00
Benjamin Elder
56e092e382
hack/update-bazel.sh
2021-02-28 15:17:29 -08:00
Antoine Pelisse
801aaac2b6
Fix test now that empty struct are tracked in mangaed fields
2021-02-12 10:36:15 -08:00
Jordan Liggitt
46699bf9de
Use apply to create objects in TestApplyStatus
2021-01-29 18:30:35 +00:00