-
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
ClusterTask creates CustomRun (v0.41.1 -> v0.44.2) #6682
Comments
I think this is the commit is the direct cause of the issue #5858. Which should be in the release of v0.43.0
|
This is also related to this issue #6457 |
Yeah, this seems like a bug, we should exclude both Tasks and ClusterTasks |
@Yongxuanzhang , I set Is this option still recognized in 0.44.2? I'd really prefer to use that to shut it off completely. Otherwise we'll have to make changes in multiple places. |
The feature flag was removed on v0.44.0, and I also tried to make it work on v0.44.2, but it does not. Removing the apiVersion from the Thank you very much. |
Oh sorry, the feature flag was removed. If you don't want to make changes, another way is that we can patch a fix to previous versions. |
@Yongxuanzhang , rather than a patch to add the |
I didn't mean to add that feature flag back, it will be a fix to exclude them as I mentioned above. |
/assign |
This commit closes tektoncd#6682. When apiversion and kind are both set for taskref, the task is considered to ba a custom task. For v1beta1 cluster task, it is also considered to be a custom task. This commit fixes this. Signed-off-by: Yongxuan Zhang yongxuanzhang@google.com
This commit closes tektoncd#6682. When apiversion and kind are both set for taskref, the task is considered to ba a custom task. For v1beta1 cluster task, it is also considered to be a custom task. This commit fixes this. Signed-off-by: Yongxuan Zhang yongxuanzhang@google.com
This commit closes tektoncd#6682. When apiversion and kind are both set for taskref, the task is considered to ba a custom task. For v1beta1 cluster task, it is also considered to be a custom task. This commit fixes this. Signed-off-by: Yongxuan Zhang yongxuanzhang@google.com
Hi @ggallen, I wonder if you're ok with the option to remove the apiversion in your yamls? Based on the discussions in #6704 and docstrings |
@Yongxuanzhang, we are planning to remove apiversion from our YAMLs. |
This commit closes tektoncd#6682. When apiversion and kind are both set for task, it is also considered to be a custom task. If users want to refer to tasks or cluster tasks, apiVersion shouldn't be set. This commit clarify this in the docs. Signed-off-by: Yongxuan Zhang yongxuanzhang@google.com
This commit closes tektoncd#6682. When apiversion and kind are both set for task, it is also considered to be a custom task. If users want to refer to tasks or cluster tasks, apiVersion shouldn't be set. This commit clarify this in the docs. Signed-off-by: Yongxuan Zhang yongxuanzhang@google.com
This commit closes tektoncd#6682. When apiversion and kind are both set for task, it is also considered to be a custom task. If users want to refer to tasks or cluster tasks, apiVersion shouldn't be set. This commit clarify this in the docs. Signed-off-by: Yongxuan Zhang yongxuanzhang@google.com
This commit closes tektoncd#6682. When apiversion and kind are both set for task, it is also considered to be a custom task. If users want to refer to tasks or cluster tasks, apiVersion shouldn't be set. This commit clarify this in the docs. Signed-off-by: Yongxuan Zhang yongxuanzhang@google.com
This commit closes tektoncd#6682. When apiversion and kind are both set for task, it is also considered to be a custom task. If users want to refer to tasks or cluster tasks, apiVersion shouldn't be set. This commit clarify this in the docs. Signed-off-by: Yongxuan Zhang yongxuanzhang@google.com
This commit closes tektoncd#6682. When apiversion and kind are both set for task, it is also considered to be a custom task. If users want to refer to tasks or cluster tasks, apiVersion shouldn't be set. This commit clarify this in the docs. Signed-off-by: Yongxuan Zhang yongxuanzhang@google.com
This commit closes #6682. When apiversion and kind are both set for task, it is also considered to be a custom task. If users want to refer to tasks or cluster tasks, apiVersion shouldn't be set. This commit clarify this in the docs. Signed-off-by: Yongxuan Zhang yongxuanzhang@google.com
Expected Behavior
I get an error/warning when I create my
ClusterTasks
or they run as normalTaskRuns
.Actual Behavior
My
ClusterTasks
createCustomRuns
instead ofTaskRuns
when I update fromv0.41.1
tov0.44.2
.Steps to Reproduce the Problem
minikube start --driver=kvm2 --cpus=4 --memory=6g --disk-size=30GB --embed-certs
kubectl apply --filename https://storage.googleapis.com/tekton-releases/pipeline/previous/v0.41.1/release.yaml
kubect apply --filename dummy.yaml
(file below)kubect get pipelinerun dummy
(this should complete after a while)kubectl apply --filename https://storage.googleapis.com/tekton-releases/pipeline/previous/v0.44.2/release.yaml
kubect apply --filename dummy.yaml
(file below)kubect get pipelinerun dummy
(this should hang)kubectl get customruns
(this should return a single one, calleddummy-init
)dummy.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}'
I am trying to understand why this is happening. Thanks!
The text was updated successfully, but these errors were encountered: