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 marked this pull request as ready for review July 16, 2025 17:00
@benjaminbob21 benjaminbob21 requested a review from a team as a code owner July 16, 2025 17:00
@benjaminbob21 benjaminbob21 added enhancement Feature request/improved experience and removed do not merge labels Jul 16, 2025
Copy link
Member

@Tatsinnit Tatsinnit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for kind ping!! Please, Let’s also get @bosesuneha and @davidgamero eyes for review here as well, thanks

Copy link
Collaborator

@davidgamero davidgamero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@davidgamero davidgamero merged commit 4755eab into Azure:main Jul 17, 2025
13 checks passed
@bosesuneha bosesuneha mentioned this pull request Aug 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Feature request/improved experience

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants