You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Applying metadata annotations on a volume claim template, inside ScaledJob templates returns an error.
Here's the definition of the metadata annotations:
This should create a volume claim with the appropriate metadata annotations
Actual Behavior
It returns the following error: ScaledJob in version "v1alpha1" cannot be handled as a ScaledJob: strict decoding error: unknown field "spec.jobTargetRef.template.spec.volumes[5].ephemeral.volumeClaimTemplate.metadata.annotations"
Steps to Reproduce the Problem
Create a ScaledJobs based on the definition given above
Run kubectl apply -f using this definition
This returns the error
KEDA Version
2.15.1
Kubernetes Version
1.30
Platform
Google Cloud
Scaler Details
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered:
Hey @JorTurFer,
Thanks for pointing me this related error. I applied a patch based on the fix in this issue and it solves the problem
I have proposed a PR based on this solution #6259
Report
Applying metadata annotations on a volume claim template, inside ScaledJob templates returns an error.
Here's the definition of the metadata annotations:
Expected Behavior
This should create a volume claim with the appropriate metadata annotations
Actual Behavior
It returns the following error:
ScaledJob in version "v1alpha1" cannot be handled as a ScaledJob: strict decoding error: unknown field "spec.jobTargetRef.template.spec.volumes[5].ephemeral.volumeClaimTemplate.metadata.annotations"
Steps to Reproduce the Problem
kubectl apply -f
using this definitionKEDA Version
2.15.1
Kubernetes Version
1.30
Platform
Google Cloud
Scaler Details
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: