Skip to content

Allow setting custom annotations on Job resources #1347

@fwmarcel

Description

@fwmarcel

Feature Request

Is your feature request related to a problem or unsupported use case? Please describe.
Yes. Currently, the Helm chart’s Job resources do not allow setting custom annotations. This is a problem when using GitOps tools like ArgoCD, because Jobs are transient objects:

  • Once a Job completes, it may be deleted by Kubernetes.
  • ArgoCD sees the Job as missing and tries to recreate it on every sync, causing a loop and breaking autosync.

Without the ability to set annotations, we cannot configure ArgoCD hooks (e.g., argocd.argoproj.io/hook) to properly manage Jobs in a GitOps workflow.

Describe the solution you'd like
Add support for custom annotations on Job resources via .Values. For example:

job:
  annotations:
    argocd.argoproj.io/hook: Sync
    argocd.argoproj.io/hook-delete-policy: HookSucceeded

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions