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

Use the beta by default in OpenShift Pipelines #632

Merged
merged 1 commit into from
May 24, 2023
Merged

Use the beta by default in OpenShift Pipelines #632

merged 1 commit into from
May 24, 2023

Conversation

Roming22
Copy link
Contributor

@Roming22 Roming22 commented May 4, 2023

No description provided.

@Roming22
Copy link
Contributor Author

Roming22 commented May 4, 2023

/test pipeline-service-test

Copy link
Collaborator

@gabemontero gabemontero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

fingers crossed (seems likely) this addresses redhat-appstudio/infra-deployments#1776 (comment)

@Michkov FYI

@Roming22
Copy link
Contributor Author

Roming22 commented May 4, 2023

/test pipeline-service-test

@Roming22
Copy link
Contributor Author

Roming22 commented May 4, 2023

I can see the following error in the operator's pod logs:

{"level":"error","logger":"tekton-operator-lifecycle","caller":"controller/controller.go:566","msg":"Reconcile error","commit":"1d0fb8d","knative.dev/pod":"openshift-pipelines-operator-5bc7b9c965-r4tfb","knative.dev/controller":"github.com.tektoncd.operator.pkg.reconciler.shared.tektonconfig.Reconciler","knative.dev/kind":"operator.tekton.dev.TektonConfig","knative.dev/traceid":"039e1e02-3ba0-4b9b-b847-55b4c72dd2d3","knative.dev/key":"config","duration":0.046486388,"error":"failed to set finalizers: admission webhook \"validation.webhook.operator.tekton.dev\" denied the request: validation failed: invalid value: beta: spec.pipeline.enable-api-fields","stacktrace":"knative.dev/pkg/controller.(*Impl).handleErr\n\t/go/src/github.com/tektoncd/operator/vendor/knative.dev/pkg/controller/controller.go:566\nknative.dev/pkg/controller.(*Impl).processNextWorkItem\n\t/go/src/github.com/tektoncd/operator/vendor/knative.dev/pkg/controller/controller.go:543\nknative.dev/pkg/controller.(*Impl).RunContext.func3\n\t/go/src/github.com/tektoncd/operator/vendor/knative.dev/pkg/controller/controller.go:491"} 

I thought I followed [the doc|https://tekton.dev/docs/pipelines/additional-configs/#beta-features]. Looking into the problem.

@adambkaplan
Copy link
Contributor

Let's be careful about what "beta" means here - @vdemeester I think this might be a source of confusion for teams migrating to the v1 API. I don't think this means "enable the v1beta1 API" - that is still there and isn't going away. That API version, however, might have breaking changes from 1.9 to 1.10...

@ramessesii2
Copy link
Member

/test pipeline-service-test

@vdemeester
Copy link
Member

Let's be careful about what "beta" means here - @vdemeester I think this might be a source of confusion for teams migrating to the v1 API. I don't think this means "enable the v1beta1 API" - that is still there and isn't going away. That API version, however, might have breaking changes from 1.9 to 1.10...

I didn't really understand everything, but this value is coming from upstream tektoncd/pipeline, and it is indeed confusing, see tektoncd/pipeline#6592 (comment). It definitely doesn't mean "enable the v1beta1 API" indeed, and needs to be refined. But, as pointed out in the comment, having it to stable comes with a very very very confusing behavior when migrating things from v1beta1 to v1.

This change will need a 1.9.3 or 1.10.1 to be released before being successful 😅

@Roming22 Roming22 changed the title Use the beta by default in OpenShift Pipelines [FREEZE] Use the beta by default in OpenShift Pipelines May 15, 2023
@Roming22
Copy link
Contributor Author

/retest

@Roming22 Roming22 changed the title [FREEZE] Use the beta by default in OpenShift Pipelines Use the beta by default in OpenShift Pipelines May 23, 2023
@Roming22 Roming22 merged commit ff1eac5 into openshift-pipelines:main May 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants