Add support for ScaledJob (#436)

* Added ScaledJob support

* Fixed getReplicaCount error

* Fixed file length error in fileUtils.test.ts

* Adjust scaledJob spec path

* Made updateImagesInK8sObj more concise
This commit is contained in:
benjamin
2025-07-17 13:21:46 -04:00
committed by GitHub
parent 7a954ab84c
commit 4755eabeba
8 changed files with 256 additions and 104 deletions
+3 -1
View File
@@ -6,6 +6,7 @@ export class KubernetesWorkload {
public static DAEMON_SET: string = 'DaemonSet'
public static JOB: string = 'job'
public static CRON_JOB: string = 'cronjob'
public static SCALED_JOB: string = 'scaledjob'
}
export class DiscoveryAndLoadBalancerResource {
@@ -34,7 +35,8 @@ export const WORKLOAD_TYPES: string[] = [
'pod',
'statefulset',
'job',
'cronjob'
'cronjob',
'scaledjob'
]
export const WORKLOAD_TYPES_WITH_ROLLOUT_STATUS: string[] = [