☑️ Ensure CronJob scheduler is valid

You should always confirm that the cron schedule expression is valid or your jobs won't be executed.

Targeted resources by this rule (types of kind): CronJob

Enabled by default? True

Policy as code identifier: CRONJOB_INVALID_SCHEDULE_VALUE

This rule will fail

If the schedule value is not a valid cron expression

YAML

Rule output in the CLI

Terminal

How to fix this failure

Specify a valid cron expression

YAML

Read more