Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issue 1457 (CAN ONLY GO IN THE NEXT MAJOR RELEASE) #1572

Draft
wants to merge 241 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
241 commits
Select commit Hold shift + click to select a range
032014e
test
wind57 Dec 4, 2021
c3d0ad2
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Dec 13, 2021
10889fd
fix @Nested tests not running
wind57 Dec 16, 2021
8f0375a
merged main
wind57 Dec 17, 2021
96ebf42
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Jan 5, 2022
db8403e
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Jan 12, 2022
90a5345
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Jan 12, 2022
b041c00
trigger again
wind57 Jan 13, 2022
9580444
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Mar 15, 2022
a34ac47
Add renovate.json
renovate[bot] Jul 13, 2022
6613f78
Merge branch 'spring-cloud:main' into main
wind57 Jul 13, 2022
1b3eae9
Merge pull request #1 from wind57/renovate/configure
wind57 Jul 13, 2022
4275382
Merge branch 'spring-cloud:main' into main
wind57 Mar 13, 2023
618f25a
Delete renovate.json
wind57 Mar 14, 2023
100a9cd
Delete delme.sh
wind57 Mar 14, 2023
4b9056b
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Mar 14, 2023
315a85b
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Mar 15, 2023
ed3c264
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Mar 15, 2023
446d630
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Mar 16, 2023
6821a28
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Mar 16, 2023
9e95a8a
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Mar 16, 2023
02840b1
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Mar 16, 2023
7e31d65
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Mar 20, 2023
926f4d7
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Mar 20, 2023
344e1d4
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Mar 21, 2023
e91ac12
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Mar 23, 2023
ba6e088
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Mar 28, 2023
49025e8
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Apr 1, 2023
a647bb3
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Apr 4, 2023
16b09ab
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Apr 4, 2023
c8d8a72
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Apr 5, 2023
591f340
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Apr 6, 2023
c331bd0
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Apr 6, 2023
f48b22b
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Apr 7, 2023
900843d
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Apr 8, 2023
76ecdd5
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Apr 8, 2023
b69d4a6
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Apr 11, 2023
df2ddcc
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Apr 14, 2023
3ff1cdd
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Apr 18, 2023
bd89cc8
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Apr 18, 2023
39ef510
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Apr 19, 2023
d389953
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Apr 19, 2023
b676bac
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Apr 21, 2023
b1473c9
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Apr 24, 2023
83ff113
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Apr 24, 2023
33dfbb7
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Apr 24, 2023
316af58
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Apr 25, 2023
425d30b
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Apr 26, 2023
763280a
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Apr 26, 2023
3afbaef
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Apr 27, 2023
cb97ba1
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Apr 28, 2023
b33edc8
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 May 1, 2023
7a1fdf1
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 May 2, 2023
a8beed9
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 May 2, 2023
2e445d9
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 May 9, 2023
5b51db1
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 May 12, 2023
b0ce76c
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 May 12, 2023
918bb7f
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 May 12, 2023
c629951
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 May 15, 2023
ccfc0bf
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 May 22, 2023
0f3fa24
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 May 23, 2023
b60a283
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 May 25, 2023
901cb66
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 May 26, 2023
251002b
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 May 27, 2023
fedeb17
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 May 30, 2023
004f95b
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Jun 3, 2023
10168be
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Jun 5, 2023
dc811cf
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Jun 6, 2023
3dfe77d
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Jun 8, 2023
619c8d0
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Jun 16, 2023
12ca211
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Jun 17, 2023
a91c1e1
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Jun 22, 2023
be2e809
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Jun 24, 2023
1c84e33
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Jul 17, 2023
1319fe7
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Jul 18, 2023
9424c2e
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Jul 25, 2023
cddd550
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Aug 2, 2023
f8d34f2
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Aug 3, 2023
31d2fb8
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Aug 5, 2023
fa9fd09
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Aug 8, 2023
22f3f51
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Aug 16, 2023
bb44f4b
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Aug 21, 2023
9714f2c
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Aug 22, 2023
0f9cb3d
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Sep 2, 2023
6e60174
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Sep 11, 2023
78c5575
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Sep 12, 2023
5eb5c51
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Sep 16, 2023
48f7cb0
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Sep 18, 2023
8a18085
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Sep 20, 2023
e4cab39
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Sep 21, 2023
ba4cab0
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Sep 21, 2023
bbc6e30
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Sep 23, 2023
0e9f1ad
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Sep 26, 2023
8a5243c
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Sep 28, 2023
cbf83c4
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Sep 29, 2023
3dd0260
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Sep 30, 2023
1408d44
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Oct 2, 2023
2925ee1
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Oct 2, 2023
af3a12b
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Oct 5, 2023
f5a27dc
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Oct 7, 2023
494454a
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Oct 7, 2023
add0f67
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Oct 13, 2023
b6a4b45
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Oct 20, 2023
00a559d
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Oct 27, 2023
882f9c1
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Oct 31, 2023
6c9071e
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Nov 3, 2023
09c10bb
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Nov 8, 2023
3615396
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Nov 14, 2023
116c199
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Nov 16, 2023
f1447cd
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Nov 18, 2023
14b165b
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Nov 21, 2023
3ce8fac
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Nov 30, 2023
41eaa8d
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Dec 4, 2023
4f89298
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Dec 7, 2023
ee1031d
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Dec 19, 2023
f6707d5
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Dec 22, 2023
9930c7d
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Dec 27, 2023
0043006
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Jan 16, 2024
4e292ec
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Feb 2, 2024
bcad051
merge
wind57 Jan 30, 2024
b475303
fix compilation
wind57 Jan 30, 2024
d437212
merge
wind57 Jan 30, 2024
f66cc84
Merge branch '3.0.x' into fix-1457
wind57 Jan 31, 2024
0993a10
fix tests
wind57 Feb 1, 2024
9e13bb6
fix tests
wind57 Feb 1, 2024
1dc28fd
merge
wind57 Feb 2, 2024
decf070
merge
wind57 Feb 2, 2024
c200bcb
fix test
wind57 Feb 2, 2024
6a23d37
fix test
wind57 Feb 2, 2024
158c36f
fix test
wind57 Feb 2, 2024
3129276
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Feb 16, 2024
3ed6abe
Merge branch 'main' into fix-issue-1457
wind57 Feb 16, 2024
1c90fc2
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Feb 16, 2024
fa0888a
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Feb 22, 2024
ab680d1
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Feb 25, 2024
4c43970
Merge branch 'main' into fix-issue-1457
wind57 Feb 26, 2024
4023ca3
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Mar 9, 2024
65bc4b1
Merge branch 'main' into fix-issue-1457
wind57 Mar 9, 2024
7ed7f5d
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Mar 9, 2024
3be81b7
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Mar 10, 2024
dd710ec
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Mar 10, 2024
4fdd06a
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Mar 12, 2024
bf61054
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Mar 13, 2024
cc50325
Merge branch 'main' into fix-issue-1457
wind57 Mar 13, 2024
f059697
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Mar 13, 2024
013cc6a
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Mar 14, 2024
13ff3b3
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Mar 18, 2024
3412834
Merge branch 'main' into fix-issue-1457
wind57 Mar 18, 2024
88021bb
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Mar 18, 2024
dcf4e62
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Mar 19, 2024
a600c69
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Mar 19, 2024
3f1a180
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Mar 21, 2024
8e18870
merge main
wind57 Mar 26, 2024
85ca441
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Mar 27, 2024
65acfe6
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Mar 27, 2024
5526b50
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Mar 28, 2024
0c131b5
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Mar 28, 2024
af8a8ee
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Mar 29, 2024
9c74e14
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Mar 30, 2024
277c699
Merge branch 'main' into fix-issue-1457
wind57 Mar 31, 2024
a410606
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Apr 2, 2024
8c38ece
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Apr 2, 2024
dcb8fb4
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Apr 3, 2024
73e9765
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Apr 3, 2024
1a3a4d9
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Apr 3, 2024
926d2b0
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Apr 3, 2024
02737d4
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Apr 3, 2024
f53ff16
Merge branch 'main' into fix-issue-1457
wind57 Apr 3, 2024
24defb8
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Apr 4, 2024
14c9780
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Apr 5, 2024
719ccbc
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Apr 6, 2024
5784dfa
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Apr 8, 2024
180a98f
Merge branch 'main' into fix-issue-1457
wind57 Apr 8, 2024
92acb27
placeholder commit
wind57 Apr 8, 2024
29f1efe
placeholder commit
wind57 Apr 8, 2024
ecf13b8
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Apr 11, 2024
658a5f6
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Apr 11, 2024
4eb0e3c
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Apr 12, 2024
256332d
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Apr 16, 2024
d64dd18
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Apr 17, 2024
2861ea5
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Apr 17, 2024
f0288ba
merge main
wind57 Apr 17, 2024
9fffd36
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Apr 18, 2024
a84bef6
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Apr 24, 2024
a7000eb
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Apr 29, 2024
219289f
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Apr 29, 2024
ab12e1d
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Apr 30, 2024
b32e8a0
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Apr 30, 2024
2ddaca9
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 May 1, 2024
8ee9390
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 May 1, 2024
7681284
Merge branch 'main' into fix-issue-1457
wind57 May 1, 2024
bdf347b
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 May 17, 2024
e3e6334
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 May 29, 2024
152f6bf
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 May 31, 2024
a279c0c
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Jun 1, 2024
f6e608e
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Jun 11, 2024
6a51e1a
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Jun 13, 2024
a02efb2
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Jun 13, 2024
5864ab1
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Jul 11, 2024
d872393
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Jul 24, 2024
e690faf
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Jul 25, 2024
b178548
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Aug 5, 2024
56d4b40
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Aug 19, 2024
554112b
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Sep 3, 2024
ae40722
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Sep 4, 2024
af673ba
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Sep 5, 2024
d43b901
merge main
wind57 Sep 6, 2024
3915f03
formatting
wind57 Sep 6, 2024
e3ca2f8
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Sep 6, 2024
b4659a1
dirty
wind57 Sep 8, 2024
2886a09
fix
wind57 Sep 8, 2024
f04b470
checkstyle
wind57 Sep 8, 2024
6573b46
fix
wind57 Sep 8, 2024
f96a8fa
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Sep 10, 2024
2847f75
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Sep 13, 2024
b1d7c3b
Merge branch 'main' into fix-issue-1457
wind57 Sep 13, 2024
7468875
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Sep 26, 2024
c416eea
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Oct 1, 2024
1b568f0
merge main
wind57 Oct 2, 2024
f08cb59
placeholder commit
wind57 Oct 2, 2024
7c5a312
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Oct 19, 2024
ed2080b
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Oct 24, 2024
059ddc0
Merge branch 'main' into fix-issue-1457
wind57 Oct 24, 2024
0355d7a
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Nov 9, 2024
8f78085
Merge branch 'main' into fix-issue-1457
wind57 Nov 9, 2024
bf0cc39
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Nov 25, 2024
11a0d9c
Merge branch 'main' into fix-issue-1457
wind57 Nov 25, 2024
f342faf
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Dec 6, 2024
0e605dd
Merge branch 'main' into fix-issue-1457
wind57 Dec 6, 2024
a0756c6
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Jan 8, 2025
1f913d4
Merge branch 'main' into fix-issue-1457
wind57 Jan 8, 2025
ca8edc0
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Jan 8, 2025
ec6c27a
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Jan 13, 2025
82a3764
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Jan 14, 2025
301193c
merge main
wind57 Jan 14, 2025
ce52b90
placeholder commit
wind57 Jan 14, 2025
e298352
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Jan 18, 2025
ad6fb23
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Jan 19, 2025
eb3552b
Merge branch 'main' into fix-issue-1457
wind57 Jan 19, 2025
eeeb62c
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Jan 21, 2025
828515a
Merge branch 'main' into fix-issue-1457
wind57 Jan 21, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -504,8 +504,7 @@ static class LocalTestConfig {
@Bean
KubernetesClientProperties kubernetesClientProperties() {
return new KubernetesClientProperties(null, null, null, "default", null, null, null, null, null, null, null,
null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null,
null);
null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
}

@Bean
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ public record KubernetesClientProperties(Boolean trustCerts, String masterUrl, S
String caCertFile, String caCertData, String clientCertFile, String clientCertData, String clientKeyFile,
String clientKeyData, String clientKeyAlgo, String clientKeyPassphrase, String username, String password,
Duration watchReconnectInterval, Duration watchReconnectLimit, Duration connectionTimeout,
Duration requestTimeout, @Deprecated(forRemoval = true) Duration rollingTimeout, Duration loggingInterval,
String httpProxy, String httpsProxy, String proxyUsername, String proxyPassword, String oauthToken,
String[] noProxy, @DefaultValue(SERVICE_ACCOUNT_NAMESPACE_PATH) String serviceAccountNamespacePath,
Duration requestTimeout, Duration loggingInterval, String httpProxy, String httpsProxy, String proxyUsername,
String proxyPassword, String oauthToken, String[] noProxy,
@DefaultValue(SERVICE_ACCOUNT_NAMESPACE_PATH) String serviceAccountNamespacePath,
@DefaultValue(DEFAULT_USER_AGENT) String userAgent) {

/**
Expand All @@ -61,9 +61,9 @@ public KubernetesClientProperties withNamespace(String namespace) {
this.caCertFile(), this.caCertData(), this.clientCertFile(), this.clientCertData(),
this.clientKeyFile(), this.clientKeyData(), this.clientKeyAlgo(), this.clientKeyPassphrase(),
this.username(), this.password(), this.watchReconnectInterval(), this.watchReconnectLimit(),
this.connectionTimeout(), this.requestTimeout(), this.rollingTimeout(), this.loggingInterval(),
this.httpProxy(), this.httpsProxy(), this.proxyUsername(), this.proxyPassword(), this.oauthToken(),
this.noProxy(), this.serviceAccountNamespacePath(), this.userAgent());
this.connectionTimeout(), this.requestTimeout(), this.loggingInterval(), this.httpProxy(),
this.httpsProxy(), this.proxyUsername(), this.proxyPassword(), this.oauthToken(), this.noProxy(),
this.serviceAccountNamespacePath(), this.userAgent());
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ void testDefaults() {
assertThat(properties.watchReconnectLimit()).isNull();
assertThat(properties.connectionTimeout()).isNull();
assertThat(properties.requestTimeout()).isNull();
assertThat(properties.rollingTimeout()).isNull();
assertThat(properties.loggingInterval()).isNull();
assertThat(properties.httpProxy()).isNull();
assertThat(properties.httpsProxy()).isNull();
Expand Down Expand Up @@ -89,7 +88,6 @@ void testNonDefaults() {
"spring.cloud.kubernetes.client.watch-reconnect-limit=300ms",
"spring.cloud.kubernetes.client.connection-timeout=400ms",
"spring.cloud.kubernetes.client.request-timeout=500ms",
"spring.cloud.kubernetes.client.rolling-timeout=600ms",
"spring.cloud.kubernetes.client.logging-interval=700ms",
"spring.cloud.kubernetes.client.http-proxy=http-proxy",
"spring.cloud.kubernetes.client.https-proxy=https-proxy",
Expand Down Expand Up @@ -120,7 +118,6 @@ void testNonDefaults() {
assertThat(properties.watchReconnectLimit()).isEqualTo(Duration.ofMillis(300));
assertThat(properties.connectionTimeout()).isEqualTo(Duration.ofMillis(400));
assertThat(properties.requestTimeout()).isEqualTo(Duration.ofMillis(500));
assertThat(properties.rollingTimeout()).isEqualTo(Duration.ofMillis(600));
assertThat(properties.loggingInterval()).isEqualTo(Duration.ofMillis(700));
assertThat(properties.httpProxy()).isEqualTo("http-proxy");
assertThat(properties.httpsProxy()).isEqualTo("https-proxy");
Expand Down Expand Up @@ -156,7 +153,6 @@ void testCopyWithNamespaceConstructor() {
"spring.cloud.kubernetes.client.watch-reconnect-limit=300ms",
"spring.cloud.kubernetes.client.connection-timeout=400ms",
"spring.cloud.kubernetes.client.request-timeout=500ms",
"spring.cloud.kubernetes.client.rolling-timeout=600ms",
"spring.cloud.kubernetes.client.logging-interval=700ms",
"spring.cloud.kubernetes.client.http-proxy=http-proxy",
"spring.cloud.kubernetes.client.https-proxy=https-proxy",
Expand Down Expand Up @@ -188,7 +184,6 @@ void testCopyWithNamespaceConstructor() {
assertThat(properties.watchReconnectLimit()).isEqualTo(Duration.ofMillis(300));
assertThat(properties.connectionTimeout()).isEqualTo(Duration.ofMillis(400));
assertThat(properties.requestTimeout()).isEqualTo(Duration.ofMillis(500));
assertThat(properties.rollingTimeout()).isEqualTo(Duration.ofMillis(600));
assertThat(properties.loggingInterval()).isEqualTo(Duration.ofMillis(700));
assertThat(properties.httpProxy()).isEqualTo("http-proxy");
assertThat(properties.httpsProxy()).isEqualTo("https-proxy");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ void testResolveProfileSpecificTwo() {
DefaultBootstrapContext context = new DefaultBootstrapContext();
KubernetesClientProperties properties = new KubernetesClientProperties(null, null, null, null, null, null, null,
null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null,
null, null, null, "user-agent");
null, null, "user-agent");
context.register(KubernetesClientProperties.class, BootstrapRegistry.InstanceSupplier.of(properties));

Mockito.when(RESOLVER_CONTEXT.getBinder()).thenReturn(binder);
Expand Down
1 change: 1 addition & 0 deletions spring-cloud-kubernetes-dependencies/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
<name>Spring Cloud Kubernetes :: Dependencies</name>
<description>Spring Cloud Kubernetes Dependencies</description>
<properties>
<hoverfly.version>0.13.0</hoverfly.version>
<kubernetes-fabric8-client.version>6.13.4</kubernetes-fabric8-client.version>
<kubernetes-native-client.version>19.0.2</kubernetes-native-client.version>
<wiremock.version>3.4.2</wiremock.version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,6 @@ private static Integer orDurationInt(Duration left, Integer right) {
return left != null ? (int) left.toMillis() : right;
}

private static Long orDurationLong(Duration left, Long right) {
return left != null ? left.toMillis() : right;
}

@Bean
@ConditionalOnMissingBean(Config.class)
public Config kubernetesClientConfig(KubernetesClientProperties kubernetesClientProperties) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@ static void beforeAll() {

@Test
void locateShouldThrowExceptionOnFailureWhenFailFastIsEnabled() {

mockClient.getConfiguration().setRequestRetryBackoffLimit(0);
mockClient.getConfiguration().setRequestRetryBackoffInterval(0);

String name = "my-config";
String namespace = "default";
String path = "/api/v1/namespaces/default/configmaps";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ void afterEach() {

@Test
void constructorShouldThrowExceptionOnFailureWhenFailFastIsEnabled() {

mockClient.getConfiguration().setRequestRetryBackoffLimit(0);
mockClient.getConfiguration().setRequestRetryBackoffInterval(0);

String name = "my-config";
String namespace = "default";
String path = "/api/v1/namespaces/" + namespace + "/configmaps";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@ static void beforeAll() {

@Test
void locateShouldThrowExceptionOnFailureWhenFailFastIsEnabled() {

mockClient.getConfiguration().setRequestRetryBackoffLimit(0);
mockClient.getConfiguration().setRequestRetryBackoffInterval(0);

String name = "my-secret";
String namespace = "default";
String path = "/api/v1/namespaces/default/secrets";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@ void namedStrategyShouldThrowExceptionOnFailureWhenFailFastIsEnabled() {

@Test
void labeledStrategyShouldThrowExceptionOnFailureWhenFailFastIsEnabled() {

client.getConfiguration().setRequestRetryBackoffInterval(0);
client.getConfiguration().setRequestRetryBackoffLimit(0);

final String namespace = "default";
final Map<String, String> labels = Collections.singletonMap("a", "b");
final String path = String.format("/api/v1/namespaces/%s/secrets", namespace);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ abstract class CoreTestClientViaSystemProperties {
@BeforeAll
static void setUpBeforeClass() {
System.setProperty(Config.KUBERNETES_MASTER_SYSTEM_PROPERTY, "masterURL");
System.setProperty(Config.KUBERNETES_REQUEST_RETRY_BACKOFFLIMIT_SYSTEM_PROPERTY, "0");
System.setProperty(Config.KUBERNETES_REQUEST_RETRY_BACKOFFINTERVAL_SYSTEM_PROPERTY, "0");
}

@Test
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
/*
* Copyright 2013-2022 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package org.springframework.cloud.kubernetes.fabric8.config.locator_retry.config_disabled_secrets_enabled;

import io.fabric8.kubernetes.client.KubernetesClient;
import io.fabric8.kubernetes.client.server.mock.EnableKubernetesMockClient;
import io.fabric8.kubernetes.client.server.mock.KubernetesMockServer;
import org.junit.jupiter.api.BeforeAll;

import org.springframework.context.ApplicationContext;
import org.springframework.test.context.TestPropertySource;

import static org.assertj.core.api.Assertions.assertThat;

/**
* @author Isik Erhan
*/
@TestPropertySource(properties = "spring.cloud.bootstrap.enabled=true")
@EnableKubernetesMockClient
class BoostrapConfigRetryDisabledButSecretsRetryEnabledTests extends ConfigRetryDisabledButSecretsRetryEnabled {

private static KubernetesMockServer mockServer;

private static KubernetesClient mockClient;

@BeforeAll
static void setup() {
setup(mockClient, mockServer);
}

@Override
protected void assertRetryBean(ApplicationContext context) {
assertThat(context.containsBean("kubernetesConfigRetryInterceptor")).isTrue();
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
/*
* Copyright 2013-2022 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package org.springframework.cloud.kubernetes.fabric8.config.locator_retry.config_disabled_secrets_enabled;

import io.fabric8.kubernetes.client.KubernetesClient;
import io.fabric8.kubernetes.client.server.mock.EnableKubernetesMockClient;
import io.fabric8.kubernetes.client.server.mock.KubernetesMockServer;
import org.junit.jupiter.api.BeforeAll;

import org.springframework.cloud.kubernetes.commons.config.ConfigDataRetryableSecretsPropertySourceLocator;
import org.springframework.context.ApplicationContext;
import org.springframework.test.context.TestPropertySource;

import static org.assertj.core.api.Assertions.assertThat;

/**
* @author Isik Erhan
*/

@TestPropertySource(properties = { "spring.config.import=kubernetes:" })
@EnableKubernetesMockClient
class ConfigDataConfigRetryDisabledButSecretsRetryEnabledTests extends ConfigRetryDisabledButSecretsRetryEnabled {

private static KubernetesMockServer mockServer;

private static KubernetesClient mockClient;

@BeforeAll
static void setup() {
setup(mockClient, mockServer);
}

@Override
protected void assertRetryBean(ApplicationContext context) {
assertThat(context.getBean(ConfigDataRetryableSecretsPropertySourceLocator.class)).isNotNull();
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
/*
* Copyright 2013-2022 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package org.springframework.cloud.kubernetes.fabric8.config.locator_retry.config_disabled_secrets_enabled;

import io.fabric8.kubernetes.api.model.ConfigMapListBuilder;
import io.fabric8.kubernetes.client.Config;
import io.fabric8.kubernetes.client.KubernetesClient;
import io.fabric8.kubernetes.client.server.mock.KubernetesMockServer;
import org.junit.jupiter.api.Test;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.cloud.kubernetes.fabric8.config.Fabric8ConfigMapPropertySourceLocator;
import org.springframework.cloud.kubernetes.fabric8.config.TestApplication;
import org.springframework.context.ApplicationContext;
import org.springframework.mock.env.MockEnvironment;

import static org.assertj.core.api.Assertions.assertThatThrownBy;
import static org.mockito.ArgumentMatchers.any;
import static org.mockito.Mockito.spy;
import static org.mockito.Mockito.times;
import static org.mockito.Mockito.verify;

/**
* @author Isik Erhan
*/
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.NONE,
properties = { "spring.cloud.kubernetes.client.namespace=default",
"spring.cloud.kubernetes.config.fail-fast=true", "spring.cloud.kubernetes.config.retry.enabled=false",
"spring.cloud.kubernetes.secrets.fail-fast=true", "spring.main.cloud-platform=KUBERNETES" },
classes = TestApplication.class)
abstract class ConfigRetryDisabledButSecretsRetryEnabled {

private static final String API = "/api/v1/namespaces/default/configmaps";

private static KubernetesMockServer mockServer;

private static KubernetesClient mockClient;

@Autowired
private Fabric8ConfigMapPropertySourceLocator propertySourceLocator;

static void setup(KubernetesClient mockClient, KubernetesMockServer mockServer) {
ConfigRetryDisabledButSecretsRetryEnabled.mockClient = mockClient;
ConfigRetryDisabledButSecretsRetryEnabled.mockServer = mockServer;
// Configure the kubernetes master url to point to the mock server
System.setProperty(Config.KUBERNETES_MASTER_SYSTEM_PROPERTY, mockClient.getConfiguration().getMasterUrl());
System.setProperty(Config.KUBERNETES_TRUST_CERT_SYSTEM_PROPERTY, "true");
System.setProperty(Config.KUBERNETES_AUTH_TRYKUBECONFIG_SYSTEM_PROPERTY, "false");
System.setProperty(Config.KUBERNETES_AUTH_TRYSERVICEACCOUNT_SYSTEM_PROPERTY, "false");
System.setProperty(Config.KUBERNETES_HTTP2_DISABLE, "true");

System.setProperty(Config.KUBERNETES_REQUEST_RETRY_BACKOFFLIMIT_SYSTEM_PROPERTY, "0");
System.setProperty(Config.KUBERNETES_REQUEST_RETRY_BACKOFFINTERVAL_SYSTEM_PROPERTY, "0");

// return empty secret list to not fail context creation
mockServer.expect().withPath(API).andReturn(200, new ConfigMapListBuilder().build()).always();
}

@Autowired
private ApplicationContext context;

@Test
void locateShouldFailWithoutRetrying() {
Fabric8ConfigMapPropertySourceLocator psl = spy(propertySourceLocator);
/*
* Enabling secrets retry causes Spring Retry to be enabled and a
* RetryOperationsInterceptor bean with NeverRetryPolicy for config maps to be
* defined. ConfigMapPropertySourceLocator should not retry even Spring Retry is
* enabled.
*/
mockServer.clearExpectations();
mockServer.expect().withPath(API).andReturn(500, "Internal Server Error").once();

assertRetryBean(context);
assertThatThrownBy(() -> psl.locate(new MockEnvironment())).isInstanceOf(IllegalStateException.class)
.hasMessageContaining("v1/namespaces/default/configmaps. Message: Internal Server Error");

// verify that propertySourceLocator.locate is called only once
verify(psl, times(1)).locate(any());
}

protected abstract void assertRetryBean(ApplicationContext context);

}
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ static void setup(KubernetesClient mockClient, KubernetesMockServer mockServer)
System.setProperty(Config.KUBERNETES_AUTH_TRYSERVICEACCOUNT_SYSTEM_PROPERTY, "false");
System.setProperty(Config.KUBERNETES_HTTP2_DISABLE, "true");

System.setProperty(Config.KUBERNETES_REQUEST_RETRY_BACKOFFLIMIT_SYSTEM_PROPERTY, "0");
System.setProperty(Config.KUBERNETES_REQUEST_RETRY_BACKOFFINTERVAL_SYSTEM_PROPERTY, "0");

// return empty secret list to not fail context creation
mockServer.expect().withPath(API).andReturn(200, new ConfigMapListBuilder().build()).always();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ static void setup(KubernetesClient mockClient, KubernetesMockServer mockServer)
System.setProperty(Config.KUBERNETES_AUTH_TRYKUBECONFIG_SYSTEM_PROPERTY, "false");
System.setProperty(Config.KUBERNETES_AUTH_TRYSERVICEACCOUNT_SYSTEM_PROPERTY, "false");
System.setProperty(Config.KUBERNETES_HTTP2_DISABLE, "true");
System.setProperty(Config.KUBERNETES_REQUEST_RETRY_BACKOFFLIMIT_SYSTEM_PROPERTY, "0");
System.setProperty(Config.KUBERNETES_REQUEST_RETRY_BACKOFFINTERVAL_SYSTEM_PROPERTY, "0");

// needed so that initial call, before our test method kicks in, succeeds
mockServer.expect().withPath(API).andReturn(200, new ConfigMapListBuilder().build()).once();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ static void setup(KubernetesClient mockClient, KubernetesMockServer mockServer)
System.setProperty(Config.KUBERNETES_AUTH_TRYKUBECONFIG_SYSTEM_PROPERTY, "false");
System.setProperty(Config.KUBERNETES_AUTH_TRYSERVICEACCOUNT_SYSTEM_PROPERTY, "false");
System.setProperty(Config.KUBERNETES_HTTP2_DISABLE, "true");
System.setProperty(Config.KUBERNETES_REQUEST_RETRY_BACKOFFLIMIT_SYSTEM_PROPERTY, "0");
System.setProperty(Config.KUBERNETES_REQUEST_RETRY_BACKOFFINTERVAL_SYSTEM_PROPERTY, "0");

// return empty secret list to not fail context creation
mockServer.expect().withPath(LIST_API).andReturn(200, new SecretListBuilder().build()).once();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ static void setup(KubernetesClient mockClient, KubernetesMockServer mockServer)
System.setProperty(Config.KUBERNETES_AUTH_TRYSERVICEACCOUNT_SYSTEM_PROPERTY, "false");
System.setProperty(Config.KUBERNETES_HTTP2_DISABLE, "true");

System.setProperty(Config.KUBERNETES_REQUEST_RETRY_BACKOFFLIMIT_SYSTEM_PROPERTY, "0");
System.setProperty(Config.KUBERNETES_REQUEST_RETRY_BACKOFFINTERVAL_SYSTEM_PROPERTY, "0");

// return empty secret list to not fail context creation
mockServer.expect().withPath(LIST_API).andReturn(200, new SecretListBuilder().build()).always();
}
Expand Down
Loading
Loading