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

updated k8s client to 21.0.0 #553

Merged
merged 30 commits into from
Nov 25, 2024
Merged
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
4ace0b5
updated k8s client
munishchouhan Jul 5, 2024
f27630c
Merge branch 'master' into update-k8s-client-21.0.0
munishchouhan Jul 8, 2024
a99cc3e
Merge branch 'master' into update-k8s-client-21.0.0
munishchouhan Jul 8, 2024
6b3a974
update more dependencies
munishchouhan Jul 8, 2024
fe5fd53
Merge branch 'master' into update-k8s-client-21.0.0
munishchouhan Jul 9, 2024
1c7ed96
Merge branch 'master' into update-k8s-client-21.0.0
munishchouhan Jul 12, 2024
62b9bfd
added withOverhead(null)
munishchouhan Jul 19, 2024
fec2425
Merge branch 'master' into update-k8s-client-21.0.0
munishchouhan Jul 22, 2024
0e36332
Merge branch 'master' into update-k8s-client-21.0.0
munishchouhan Jul 22, 2024
b8eb0cb
fixed tests
munishchouhan Jul 22, 2024
27866eb
Merge branch 'master' into update-k8s-client-21.0.0
munishchouhan Aug 2, 2024
ea20c91
Merge branch 'master' into update-k8s-client-21.0.0
munishchouhan Aug 28, 2024
41110e9
fixed errors
munishchouhan Aug 28, 2024
888a891
Merge branch 'master' into update-k8s-client-21.0.0
munishchouhan Aug 29, 2024
6a01864
Merge branch 'master' into update-k8s-client-21.0.0
munishchouhan Oct 28, 2024
9ea01c2
Bump logback-classic:1.4.14
pditommaso Nov 2, 2024
e4314a3
Merge branch 'master' into update-k8s-client-21.0.0
pditommaso Nov 2, 2024
ff419d5
Merge branch 'master' into update-k8s-client-21.0.0
munishchouhan Nov 18, 2024
8553fbc
fixed error
munishchouhan Nov 18, 2024
cd8af8e
added job label selector
munishchouhan Nov 18, 2024
362903f
fixed tests
munishchouhan Nov 18, 2024
51a1a55
Merge branch 'master' into update-k8s-client-21.0.0
munishchouhan Nov 18, 2024
6b0c3e0
[release] bump 1.15.1-A1
munishchouhan Nov 18, 2024
8260c4b
revert VERSION [ci skip]
munishchouhan Nov 19, 2024
62b97b3
minor change [ci skip]
munishchouhan Nov 19, 2024
9fdadd8
Merge branch 'master' into update-k8s-client-21.0.0
pditommaso Nov 22, 2024
206e013
Added Foreground propagationPolicy
munishchouhan Nov 24, 2024
002aa73
Merge branch 'master' into update-k8s-client-21.0.0
munishchouhan Nov 24, 2024
8d46fb7
Remove K8s withOverhead [ci skip]
pditommaso Nov 25, 2024
fe2c76b
Bump K8s client 21.0.1
pditommaso Nov 25, 2024
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
Prev Previous commit
Next Next commit
fixed error
Signed-off-by: munishchouhan <hrma017@gmail.com>
munishchouhan committed Nov 18, 2024

Verified

This commit was signed with the committer’s verified signature.
munishchouhan Munish Chouhan
commit 8553fbcb66c01c1fe64bbed4215ab88da267e5f9
Original file line number Diff line number Diff line change
@@ -500,7 +500,8 @@ class K8sServiceImpl implements K8sService {
final spec = buildJobSpec(name, containerImage, args, workDir, creds, timeout, nodeSelector)
return k8sClient
.batchV1Api()
.createNamespacedJob(namespace, spec, null, null, null,null)
.createNamespacedJob(namespace, spec)
.execute()
}

V1Job buildJobSpec(String name, String containerImage, List<String> args, Path workDir, Path credsFile, Duration timeout, Map<String,String> nodeSelector) {
@@ -589,7 +590,8 @@ class K8sServiceImpl implements K8sService {
final spec = scanJobSpec(name, containerImage, args, workDir, creds, scanConfig)
return k8sClient
.batchV1Api()
.createNamespacedJob(namespace, spec, null, null, null,null)
.createNamespacedJob(namespace, spec)
.execute()
}

V1Job scanJobSpec(String name, String containerImage, List<String> args, Path workDir, Path credsFile, ScanConfig scanConfig) {
@@ -656,7 +658,8 @@ class K8sServiceImpl implements K8sService {
final spec = mirrorJobSpec(name, containerImage, args, workDir, creds, config)
return k8sClient
.batchV1Api()
.createNamespacedJob(namespace, spec, null, null, null,null)
.createNamespacedJob(namespace, spec)
.execute()
}

V1Job mirrorJobSpec(String name, String containerImage, List<String> args, Path workDir, Path credsFile, MirrorConfig config) {