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

Change the Storage Version to V1 Types #6444

Merged
merged 1 commit into from
Jun 16, 2023

Commits on Jun 16, 2023

  1. Change the Storage Version to V1 Types

    Prior to this PR, CRDs are stored in etcd as V1beta1 apiVersion. This commit swaps the storage version to V1 Types for Task, TaskRun, Pipeline and PipelineRun CRDs. From now on we could make changes only to the V1 APIs.
    
    This PR makes the following changes:
    - switch storage to v1beta1 for Task, TaskRun, Pipeline and PipelineRun CRDs(config/)
    - use V1 types in controllers
    - convert v1 CRDs to v1beta1 for reconciling features that are not moved to V1 ie. CustomTask
      - it exports the ConvertFrom functions for v1beta1 Params, Workspaces and TaskRefs for v1beta1
        required fields to be reconciled when we swap to v1 storage version.
    - migrate the v1beta1 Yamls and tests following the [migration guide](https://github.com/tektoncd/pipeline/blob/main/docs/migrating-v1beta1-to-v1.md)
    - swap the RefSource and Params in remote resolution API from V1beta1 to V1
    - for tests and examples that are enabled on default in v1beta1, add beta to  for features that are not defaulted in v1 but in v1beta1 ie. resolver_tests and move the examples which requires enable-api-fields to beta under a beta folder
    JeromeJu committed Jun 16, 2023
    Configuration menu
    Copy the full SHA
    cf68fef View commit details
    Browse the repository at this point in the history