-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Capturing PipelineResources in v1 Objects for backwards compatibility #7105
Labels
kind/bug
Categorizes issue or PR as related to a bug.
Comments
/assign |
chitrangpatel
changed the title
Capturing PipelineResources in v1 Objects for backwards compatibility
Capturing Sep 12, 2023
TaskRunResources
and ResourcesResult
in v1 Objects for backwards compatibility
chitrangpatel
changed the title
Capturing
Capturing TaskRunResources and ResourcesResult in v1 Objects for backwards compatibility
Sep 12, 2023
TaskRunResources
and ResourcesResult
in v1 Objects for backwards compatibility
chitrangpatel
changed the title
Capturing TaskRunResources and ResourcesResult in v1 Objects for backwards compatibility
Capturing PipelineResources in v1 Objects for backwards compatibility
Sep 12, 2023
chitrangpatel
added a commit
to chitrangpatel/pipeline
that referenced
this issue
Sep 13, 2023
When we reverted removal of `PipelineResources` [related fields](tektoncd#6436), we did not recover the conversion functions. As a result, when migrating Tekton Chains to watch `v1` objects, we run into Issue tektoncd#7105. This PR recovers the conversion functions so that we can continue to convert PipelineResources related fields.
chitrangpatel
added a commit
to chitrangpatel/pipeline
that referenced
this issue
Sep 13, 2023
When we reverted removal of `PipelineResources` [related fields](tektoncd#6436), we did not recover the conversion functions. As a result, when migrating Tekton Chains to watch `v1` objects, we run into Issue tektoncd#7105. This PR recovers the conversion functions so that we can continue to convert PipelineResources related fields.
7 tasks
tekton-robot
pushed a commit
that referenced
this issue
Sep 25, 2023
When we reverted removal of `PipelineResources` [related fields](#6436), we did not recover the conversion functions. As a result, when migrating Tekton Chains to watch `v1` objects, we run into Issue #7105. This PR recovers the conversion functions so that we can continue to convert PipelineResources related fields.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently, Tekton Chains watches
v1beta1
object and wants to migrate to watchingv1
as well. However, there are deprecated fields likeTaskRunResources
andResourcesResult
that need to be converted tov1
and back so that we can apply the necessary formatting.Expected Behavior
If I take
v1beta1
withTaskRunResources
and convert tov1
, I expected to see it inAnnotations
.Actual Behavior
However, if I print the annotations of the converted object, it's an empty map and all information regarding
TaskRunResources
andResourcesResults
is lost.My guess is that while this const is defined, we are not actually populating it in the Annotations like we do with cloud events
When we restored Pipeline Resources, we probably forgot to restore the conversion functions (cc @lbernick ).
/kind bug
The text was updated successfully, but these errors were encountered: