Skip to content

Invalid multiline cronjob validation #442

@jnsalsa

Description

@jnsalsa

The cronjob validator considers folded blocks to be single line strings. Due to the YAML specification adding a \n to the end of a folded block, this results in a cronjob that looks like this:

> cat /lagoon/crontabs/crontab 
* * * * * flock -n /tmp/cron.lock/xxxxxx 'command
'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions