Skip to content

feat: make Job restart policy configurable #792

@ChunyiLyu

Description

@ChunyiLyu

Context

Kratix creates Jobs with a default restart policy. We've been asked to make the policy configurable per pipeline so that Promise writers can better debug when Job fails, or just have finer controls.

Acceptance Criteria

Scenario: customization
  Given a promise with pipelines and users set the restart policy
  When a pipeline Job is created
  Then the Job has the provided restart policy

Scenario: not set
  Given a promise with pipelines and users does not set the restart policy
  When a pipeline Job is created
  Then the Job has the previous default restart policy

Metadata

Metadata

Assignees

No one assigned

    Labels

    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions