Skip to content

Conversation

@benjaminbob21
Copy link
Contributor

This PR adds comprehensive support for KEDA ScaledJob resources to the k8s-deploy GitHub Action, addressing feature request #277. ScaledJob resources are now treated as first-class workload entities with proper handling of their nested structure for image pull secrets, labels, and deployment strategies.

Key Changes
Added ScaledJob to core type system in KubernetesWorkload, WORKLOAD_TYPES, and DEPLOYMENT_TYPES

  • Updated manifestPullSecretUtils.ts and manifestSpecLabelUtils.ts to handle ScaledJob's nested jobTemplate structure (similar to CronJob)
  • Modified getReplicaCount to return 0 for ScaledJob since replicas are managed by KEDA
  • Added dedicated test file and manifest for ScaledJob functionality

@benjaminbob21 benjaminbob21 deleted the feature/support_scaledjob branch July 14, 2025 23:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant