Pass Metadata from ScaledJob Template to ChildJob Template Metadata #5908
Labels
feature-request
All issues for new features that have not been committed to
needs-discussion
stale
All issues that are marked as stale due to inactivity
Proposal
We encountered a situation where we set up annotations in the template metadata of ScaledJob, but the pod generated by ScaledJob had empty metadata. The annotation that pod needed was not passed through.
I suggest adding the
// +kubebuilder:pruning:PreserveUnknownFields
flag in JobTargetRef so that the scaledjob crd will keep properties to ensure that the metadata is passed through.Use-Case
No response
Is this a feature you are interested in implementing yourself?
Yes
Anything else?
No response
The text was updated successfully, but these errors were encountered: