<#3243 Feat: Allow setting k8s labels and annotati...
# flyte-github
a
#3243 Feat: Allow setting k8s labels and annotations in task decorator Pull request opened by fg91 ## Tracking issue Closes flyteorg/flyte#6238 ## Why are the changes needed? See flyteorg/flyte#6421 and flyteorg/flyte#6238. ## What changes were proposed in this pull request? Add
labels
and
annotations
arg to
@task
decorator. ## How was this patch tested? Added unit tests. Ran admin and propeller with changes proposed in flyteorg/flyte#6421 and made sure that labels/annotations end up on Pods and CRD objects. • I updated the documentation accordingly. • All new and existing tests passed. Currently fail until idl is updated. • All commits are signed-off. ## Related PRs flyteorg/flyte#6421 https://bito.ai#summarystart| ### Summary by Bito This pull request adds Kubernetes metadata support in the task decorator by introducing 'labels' and 'annotations' parameters, enhancing task management in Kubernetes. It also updates the flyteidl dependency for compatibility and includes unit tests to validate these new features. flyteorg/flytekit
c