Skip to content

verify does not validate acceptable spec.maturity values #167

@eriknelson

Description

@eriknelson

We had set our spec.maturity value to release, only to discover the installplan will fail to install based on the following error:

spec.maturity in body should be one of [planning pre-alpha alpha beta stable mature inactive deprecated]

Expected outcome:
operator-courier should fail a CSV with invalid maturity.

Actual outcome:
No failure:

# operator-courier verify ./mig-operator; echo $?  
0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions