Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consolidate validation for Task/Pipeline beta features #6719

Merged
merged 1 commit into from
May 25, 2023

Commits on May 25, 2023

  1. Consolidate validation for Task/Pipeline beta features

    Currently, the validation webhook includes code for validating that "enable-api-fields" is set to "beta"
    when a v1 object is created using beta features.
    
    Validation of Task and Pipeline specs is currently applied in the reconciler as well, to referenced Tasks
    and Pipelines that are fetched remotely or from the cluster. This commit refactors validation of beta features
    in Tasks and Pipelines, so that it is all done in one place. There are no functional changes in this commit,
    but it will make it easier to fix issues related to versioned validation of referenced Tasks and Pipelines.
    lbernick committed May 25, 2023
    Configuration menu
    Copy the full SHA
    2fcb2b1 View commit details
    Browse the repository at this point in the history