diff --git a/CHANGELOG.md b/CHANGELOG.md index 32f6c393aae..7ce21e6ea3f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -91,6 +91,7 @@ Here is an overview of all new **experimental** features: - **AWS Secret Manager**: Pod identity overrides are honored ([#6195](https://github.com/kedacore/keda/issues/6195)) - **Azure Event Hub Scaler**: Checkpointer errors are correctly handled ([#6084](https://github.com/kedacore/keda/issues/6084)) - **Metrics API Scaler**: Prometheus metrics can have multiple labels ([#6077](https://github.com/kedacore/keda/issues/6077)) +- **ScaledJob CRD**: Support metadata annotations for ephemeral's volume claims ([6254](https://github.com/kedacore/keda/issues/6254)) ### Deprecations diff --git a/config/crd/patches/scaledjob_patch.yaml b/config/crd/patches/scaledjob_patch.yaml index f513f651d5e..ea12ae0456e 100644 --- a/config/crd/patches/scaledjob_patch.yaml +++ b/config/crd/patches/scaledjob_patch.yaml @@ -19,6 +19,10 @@ path: /spec/versions/0/schema/openAPIV3Schema/properties/spec/properties/jobTargetRef/properties/template/properties/metadata/x-kubernetes-preserve-unknown-fields value: true +- op: add + path: /spec/versions/0/schema/openAPIV3Schema/properties/spec/properties/jobTargetRef/properties/template/properties/spec/properties/volumes/items/properties/ephemeral/properties/volumeClaimTemplate/properties/metadata/x-kubernetes-preserve-unknown-fields + value: true + ## triggers are shared by ScaledObjects and ScaledJobs and therefore generated for both, including all properties. ## since the metricType property is only supported for ScaledObject, removing it from the generated ScaledJob CRD - op: remove