Stephen Kitt
aa89e6dc97
Use ptr.To to retrieve intstr addresses
...
This uses the generic ptr.To in k8s.io/utils to replace functions and
code constructs which only serve to return pointers to intstr
values. Other uses of the deprecated pointer package are updated in
modified files.
Signed-off-by: Stephen Kitt <skitt@redhat.com>
2023-09-08 11:10:50 +02:00
ZhangKe10140699
66bda6c092
deployment controller: use contextual logging
2023-03-13 19:00:44 +08:00
Yuan Chen
a24aef6510
Replace a function closure
...
Replace more closures with pointer conversion
Replace deprecated Int32Ptr to Int32
2023-02-27 09:13:36 -08:00
Wojciech Tyczyński
368802dd7e
Clean shutdown of deployment integration tests
2022-05-26 17:19:36 +02:00
Wojciech Tyczyński
deef9e40de
Simplify Create/Delete-TestingNamespace functions
2022-05-15 23:06:26 +02:00
Wojciech Tyczyński
1fcc5d9eae
Clear shutdown in deployment integration test
2022-05-11 17:05:31 +02:00
Kubernetes Prow Robot
f27e4714ba
Merge pull request #105377 from damemi/wire-contexts-apps
...
Wire contexts to Apps controllers
2021-10-14 06:59:19 -07:00
Mike Dame
41fcb95f2f
Wire contexts to Apps controllers
2021-10-13 16:32:13 -04:00
Maciej Szulik
8322121434
Move test-related utils to test/utils
2021-10-12 14:52:19 +02:00
Supriya Premkumar
e52e5e486c
Adds ineffassign to GO linter script.
...
Changes:
- Enables ineffassign check in the verify scripts.
- Fixes lint errs.
2021-03-03 08:28:10 -08:00
Mike Danese
25651408ae
generated: run refactor
2020-02-08 12:30:21 -05:00
Mike Danese
3aa59f7f30
generated: run refactor
2020-02-07 18:16:47 -08:00
Jordan Liggitt
6ca80760fd
Switch test manifests to apps/v1, remove beta workloads calls
2019-06-22 13:58:07 -07:00
Jordan Liggitt
fd9e9b01b1
Remove uses of extensions/v1beta1 clients
2018-12-19 11:18:53 -05:00
Weibin Lin
842bd1e1ec
update deployment, daemonset, replicaset, statefulset to apps/v1
2018-12-19 10:46:45 -05:00
Jordan Liggitt
ff9dc86b3c
Drop generated clients for Scale types
2018-11-01 14:49:51 -04:00
stewart-yu
55251c716a
update the import file for move util/pointer to k8s.io/utils
2018-07-27 19:47:02 +08:00
Janet Kuo
666a41c2ea
Safe encode template hash value to make it consistent with resource name
2018-07-13 09:52:26 -07:00
Anthony Yeh
680bc4b4b5
test/integration: Use apps/v1 Deployment/ReplicaSet.
...
This must be done at the same time as the controller update,
since they share code.
2018-05-22 13:43:07 -07:00
Janet Kuo
7899fb477d
Only check hash labels of non-adopted resources in integration tests
2018-03-26 17:08:31 -07:00
Jun Xiang Tee
18289cc0df
fix deployment's collision avoidance mechanism
2018-02-07 11:28:43 -08:00
Jun Xiang Tee
1334b61029
add basic functionality deployment integration tests
2018-02-01 16:21:07 -08:00
Jun Xiang Tee
25469e9b44
convert testScaledRolloutDeployment e2e test to integration test
2017-11-20 15:36:27 -08:00
Janet Kuo
26afcdbe73
Add integration test for deployment rolling update, rollback, rollover
2017-11-02 14:22:03 -07:00
Jun Xiang Tee
131f7e1469
convert testOverlappingDeployment e2e test to integration test
2017-10-31 11:39:27 -07:00
Jun Xiang Tee
21bc54508b
convert testFailedDeployment e2e test to integration test
2017-10-27 13:19:50 -07:00
Janet Kuo
f7f1f17c89
Move deployment e2e test for hash label adoption to integration
2017-10-23 21:35:19 -07:00
Janet Kuo
1ca6120af3
Move deployment e2e test for rollback with no revision to integration
2017-10-23 18:58:05 -07:00
Janet Kuo
24eb21e6cf
Use PollImmediate and shorter interval in integration test
2017-09-25 14:17:43 -07:00
Janet Kuo
3a0dabcaea
Refactor function
2017-09-25 10:27:31 -07:00
Janet Kuo
241f4fbc98
Move deployment collision avoidance e2e test to integration
2017-09-25 10:27:31 -07:00
Janet Kuo
b646a72938
Address comments
2017-09-07 13:09:05 -07:00
Janet Kuo
124344a1a4
Move paused deployment e2e tests to integration
2017-09-06 18:12:28 -07:00
crimsonfaith91
9929e03f87
ignore selector changes for deployment, replicaset and daemonset prior update
2017-08-30 13:15:19 -07:00
Dr. Stefan Schimanski
83895daed1
Fix printer hack to get a versioned client
2017-08-06 15:30:13 +02:00
Chao Xu
f4989a45a5
run root-rewrite-v1-..., compile
2017-06-22 10:25:57 -07:00
Janet Kuo
1ced5ae22c
Add integration test for deployment
2017-05-17 14:41:59 -07:00