Jefftree
eb8f6fe0f9
Populate OpenAPI in all integration tests
2022-01-25 14:16:31 -08: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
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
Antoine Pelisse
d3e641e84e
Add default for protocol and test that it works
2020-11-13 17:06:35 -08:00
Kubernetes Prow Robot
396dd2555d
Merge pull request #91993 from nodo/89274-change-of-managefields-via-subresources
...
Do not allow manual changes to manageFields via subresources
2020-09-15 12:26:43 -07:00
Kubernetes Prow Robot
f736be5721
Merge pull request #94397 from wojtek-t/stop_setting_selflink
...
Stop setting SelfLink in kube-apiserver.
2020-09-03 12:31:55 -07:00
Daniel Smith
15e0e3e90e
rename
2020-09-02 10:48:26 -07:00
wojtekt
2539912a22
Stop setting SelfLink in kube-apiserver.
2020-09-01 20:57:38 +02:00
Andrea Nodari
c522ee08a3
Do not allow manual changes to manageFields via subresources
...
If a request tries to change managedFields, the response returns the
managedField of the live object.
2020-08-18 13:33:39 +02:00
Julian V. Modesto
f2deb2417a
Add tests for managed fields tracking.
...
- Test that client-side apply users don't encounter a conflict with
server-side apply for objects that previously didn't track managedFields
- Test that we stop tracking managed fields with `managedFields: []`
- Test that we stop tracking managed fields when the feature is disabled
2020-08-05 18:22:44 -04:00
Kubernetes Prow Robot
6079cebfae
Merge pull request #90187 from julianvmodesto/last-applied-updater
...
Implement server-side apply upgrade and downgrade
2020-07-13 16:45:20 -07:00
Joe Betz
3c2842fbc6
Add ownership transfer test
2020-07-09 06:18:59 -07:00
Joe Betz
ec136db9ce
Add server side apply unsetting field tests
2020-07-09 06:18:58 -07:00
Julian V. Modesto
e4368eb67e
Implement server-side apply upgrade & downgrade.
...
- Allow client-side to server-side apply upgrade.
Ensure that a user can change management of an object from client-side apply to
server-side apply without conflicts.
- Allow server-side apply to client-side downgrade.
For an object managed with client-side apply, a user may upgrade to
managing the object with server-side apply, then decide to downgrade.
We can support this downgrade by keeping the last-applied-configuration
annotation for client-side apply updated with server-side apply.
2020-07-08 19:14:03 -04:00
Antoine Pelisse
ed2cf6ef2c
FieldManager: Reset if we receive nil or a list with one empty item
2020-06-05 12:49:13 -07:00
Antoine Pelisse
5378a788e4
fieldManager: Ignore and log all errors when updating managedFields
2020-06-04 09:32:23 -07:00
jennybuckley
ccd9e4e2de
Don't save managedFields if object is too large
2020-02-27 12:41:44 -08:00
Mike Danese
3aa59f7f30
generated: run refactor
2020-02-07 18:16:47 -08:00
Mike Danese
d55d6175f8
refactor
2020-01-29 08:50:45 -08:00
jennybuckley
b33fbc84d9
Update Structured Merge Diff to V3
2020-01-21 15:23:13 -08:00
danielqsj
6596a14d39
add missing alias of api errors under test
2019-12-26 17:29:38 +08:00
jennybuckley
61b19c7298
Cap the number of managedFields entries for updates at 10
2019-10-03 16:24:58 -07:00
jennybuckley
d72260b9da
Refactor fieldmanager to be more modular
2019-10-03 16:24:58 -07:00
Ted Yu
9828f986af
Move Update Apply conflict test to field manager test
2019-08-30 14:47:39 -07:00
Kubernetes Prow Robot
61e2f52e38
Merge pull request #81754 from apelisse/version-fields
...
Add FieldsType field to ManagedFields to track content format
2019-08-28 01:37:50 -07:00
Jennifer Buckley
f99252f2c6
Add issue to TODO
2019-08-27 15:00:15 -07:00
Antoine Pelisse
ff4e1f3592
Add new FieldsType to clarify the format of Fields
2019-08-27 14:52:36 -07:00
jennybuckley
2e669a7f22
Fix failing test
2019-08-23 13:11:09 -07:00
jennybuckley
3279c73945
Add tests
2019-08-23 12:45:36 -07:00
jennybuckley
9a12e37a6d
Only update managedFields on update if it already exists
2019-08-23 12:38:08 -07:00
jennybuckley
aa1f01ec7e
Make sure no op updates don't affect the resource version
2019-08-21 10:27:01 -07:00
Kubernetes Prow Robot
6f13032fb4
Merge pull request #81524 from jennybuckley/apply-group-updates-by-manager
...
Group managedFieldsEntries for update by manager name
2019-08-20 01:59:46 -07:00
jennybuckley
87eabcdbfa
Group update managedFieldsEntries by manager name
2019-08-19 13:50:15 -07:00
Antoine Pelisse
4de7b6ddfb
Add benchmark for updates and get with/without server-side apply
2019-08-16 15:18:22 -07:00
jennybuckley
addad99b6f
Use raw bytes in metav1.Fields instead of map
...
Also define custom proto unmarshaller that understands the old format
2019-07-31 16:05:54 -07:00
Kevin Wiesmüller
49abd3b3ab
add more tests on clearing managedFields
2019-06-11 20:30:53 +02:00
Kevin Wiesmüller
fe3c9c8b6f
add test to make sure managedFields can be reset
2019-05-13 18:34:11 +02:00
Andrew Kim
c919139245
update import of generic featuregate code from k8s.io/apiserver/pkg/util/feature -> k8s.io/component-base/featuregate
2019-05-08 10:01:50 -04:00
Julian V. Modesto
5303f431cb
Add tests for cross group-version SSA.
...
- Use apps/v1 APIs in integration tests.
As in https://github.com/kubernetes/kubernetes/pull/75302
- Add test for cross group-version server side apply.
https://github.com/kubernetes/kubernetes/pull/75157
- Add test for version conversion in the field manager.
https://github.com/kubernetes/kubernetes/pull/75151
Follow up to https://github.com/kubernetes/kubernetes/pull/75302 .
Addresses https://github.com/kubernetes/kubernetes/issues/73723 .
2019-04-25 22:01:28 -04:00
Kubernetes Prow Robot
290cf142e1
Merge pull request #75302 from liggitt/apps-v1-test
...
Use apps/v1 APIs in integration tests
2019-03-22 14:09:49 -07:00
Jordan Liggitt
0aaf1ca4ff
Use apps/v1 APIs in integration tests
2019-03-12 13:17:18 -07:00
jennybuckley
10259c959e
Fix int/float apply bug
2019-03-11 23:07:21 -07:00