-
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
TaskRuns using ClusterTask don't sync the Annotations and Labels of the ClusterTask #7601
Labels
kind/bug
Categorizes issue or PR as related to a bug.
Comments
/assign |
l-qing
added a commit
to l-qing/pipeline
that referenced
this issue
Jan 23, 2024
7 tasks
l-qing
added a commit
to l-qing/pipeline
that referenced
this issue
Jan 25, 2024
l-qing
added a commit
to l-qing/pipeline
that referenced
this issue
Jan 28, 2024
l-qing
added a commit
to l-qing/pipeline
that referenced
this issue
Jan 31, 2024
l-qing
added a commit
to l-qing/pipeline
that referenced
this issue
Feb 7, 2024
l-qing
added a commit
to l-qing/pipeline
that referenced
this issue
Feb 8, 2024
l-qing
added a commit
to l-qing/pipeline
that referenced
this issue
Feb 10, 2024
tekton-robot
pushed a commit
that referenced
this issue
Feb 12, 2024
tekton-robot
pushed a commit
to tekton-robot/pipeline
that referenced
this issue
Feb 12, 2024
tekton-robot
pushed a commit
to tekton-robot/pipeline
that referenced
this issue
Feb 12, 2024
tekton-robot
pushed a commit
to tekton-robot/pipeline
that referenced
this issue
Feb 12, 2024
tekton-robot
pushed a commit
that referenced
this issue
Feb 12, 2024
tekton-robot
pushed a commit
that referenced
this issue
Feb 12, 2024
tekton-robot
pushed a commit
that referenced
this issue
Feb 12, 2024
l-qing
added a commit
to katanomi/pipeline
that referenced
this issue
Feb 15, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected Behavior
TaskRuns that use ClusterTask can also synchronize Annotations and Labels in v0.56.0
Consistent with the behavior of Pipeline version v0.44.0
Actual Behavior
In version v0.56.0, the behavior of ClusterTask is inconsistent with that of tasks.
And also inconsistent with the behavior of ClusterTask in version v0.44.0.
Refs
pipeline/pkg/reconciler/taskrun/resources/taskref.go
Lines 292 to 301 in e1c7828
pipeline/pkg/reconciler/taskrun/taskrun.go
Lines 361 to 364 in e1c7828
pipeline/pkg/reconciler/taskrun/taskrun.go
Lines 970 to 973 in e1c7828
pipeline/pkg/reconciler/taskrun/taskrun.go
Lines 663 to 670 in e1c7828
Steps to Reproduce the Problem
test.clustertask.taskrun.yaml
.The
taskrun-clustertask
also has the annotations and labels ofclustertask-demo
.kubectl apply -f https://storage.googleapis.com/tekton-releases/pipeline/previous/v0.44.0/release.yaml
cat test.clustertask.taskrun.yaml | kubectl replace --force -f -
kubectl get taskrun -n default taskrun-task taskrun-clustertask -o yaml
The
taskrun-clustertask
lacks the annotations and labels ofclustertask-demo
.kubectl apply -f https://storage.googleapis.com/tekton-releases/pipeline/previous/v0.56.0/release.yaml
cat test.clustertask.taskrun.yaml | kubectl replace --force -f -
kubectl get taskrun -n default taskrun-task taskrun-clustertask -o yaml
Additional Info
Kubernetes version:
Output of
kubectl version
:Tekton Pipeline version:
Output of
tkn version
orkubectl get pods -n tekton-pipelines -l app=tekton-pipelines-controller -o=jsonpath='{.items[0].metadata.labels.version}'
/kind bug
The text was updated successfully, but these errors were encountered: