Skip to content

Promote StepAction API to v1 (tekton.dev/v1) #10219

@vdemeester

Description

@vdemeester

StepActions are documented as a stable/GA feature (docs/stepactions.md), and #8485 tracked promoting the feature to GA. However, the StepAction API type still only exists in v1alpha1 and v1beta1 — there is no tekton.dev/v1 StepAction.

Unlike Task/Pipeline/TaskRun/PipelineRun, StepAction is absent from pkg/apis/pipeline/v1/register.go, the CRD (config/300-crds/300-stepaction.yaml) only serves v1alpha1/v1beta1 with v1beta1 as storage, and the webhook (cmd/webhook/main.go) only registers v1alpha1 <-> v1beta1 conversion.

This issue tracks graduating the StepAction API version to v1.

Tasks

  • Add pkg/apis/pipeline/v1/stepaction_{types,defaults,validation}.go
  • Add conversion v1beta1 <-> v1 + register in cmd/webhook/main.go
  • Add StepAction/StepActionList to pkg/apis/pipeline/v1/register.go
  • CRD: serve v1, set storage version, configure conversion
  • Regenerate clients/informers/listers (./hack/update-codegen.sh)
  • Migrate reconciler/resolvers from v1beta1.StepAction to v1
  • Update docs + regenerate docs/pipeline-api.md

Related

Metadata

Metadata

Assignees

Labels

area/apiIndicates an issue or PR that deals with the API.area/roadmapIssues that are part of the project (or organization) roadmap (usually an epic)kind/featureCategorizes issue or PR as related to a new feature.
No fields configured for Feature.

Projects

Status
Todo
Status
Todo

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions