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

ScaledObject template metadata does not get applied #6046

Closed
unzld opened this issue Jul 28, 2024 · 2 comments
Closed

ScaledObject template metadata does not get applied #6046

unzld opened this issue Jul 28, 2024 · 2 comments
Labels
bug Something isn't working stale All issues that are marked as stale due to inactivity

Comments

@unzld
Copy link

unzld commented Jul 28, 2024

Metadata from spec.jobTargetRef.template.metadata does not get applied to ScaledObject pods.

Not sure how the charts here are generated, but it could be a bug for KEDA itself. I saw this issue and maybe the patch is no longer being applied? Checking the CRD for scaledjob, x-kubernetes-preserve-unknown-fields is no longer present. The patch itself in https://github.com/kedacore/keda/blob/v2.14.0/config/crd/patches/scaledjob_patch.yaml is still present though.

For the meantime I downgraded to v2.13 since it's still working there.

Expected Behavior

Metadata should be present in the ScaledObject's pods

Actual Behavior

Pods are missing the metadata defined in the ScaledObject

Steps to Reproduce the Problem

  1. Install 2.14.0 chart
  2. Add a ScaledJob, insert a test label in spec.jobTargetRef.template.metadata
  3. Resulting pods will not have the test label

Specifications

  • KEDA Version: 2.14.0
@unzld unzld added the bug Something isn't working label Jul 28, 2024
@zroubalik zroubalik transferred this issue from kedacore/charts Aug 7, 2024
Copy link

stale bot commented Oct 19, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale All issues that are marked as stale due to inactivity label Oct 19, 2024
@JorTurFer
Copy link
Member

@github-project-automation github-project-automation bot moved this from To Triage to Ready To Ship in Roadmap - KEDA Core Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working stale All issues that are marked as stale due to inactivity
Projects
Status: Ready To Ship
Development

No branches or pull requests

2 participants