You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1.create any pipelineRun with taskRunTemplate.podTemplate.tolerations and taskrunspec[].podTemplate.tolerations set.
2. inspect the pod created for the task that should inherit both tolerations.
3. the pod only has toleration from taskrunspec.podTemplate.tolerations[]
Additional Info
Kubernetes version: 1.25.12
Output of kubectl version:
WARNING: This version information is deprecated and will be replaced with the output from kubectl version --short. Use --output=yaml|json to get the full version.
Client Version: version.Info{Major:"1", Minor:"25", GitVersion:"v1.25.3", GitCommit:"434bfd82814af038ad94d62ebe59b133fcb50506", GitTreeState:"clean", BuildDate:"2022-10-12T10:57:26Z", GoVersion:"go1.19.2", Compiler:"gc", Platform:"linux/amd64"}
Kustomize Version: v4.5.7
Server Version: version.Info{Major:"1", Minor:"25+", GitVersion:"v1.25.12-eks-2d98532", GitCommit:"0aa16cf4fac4da27b9e9e9ba570b990867f6a3d8", GitTreeState:"clean", BuildDate:"2023-07-28T16:52:04Z", GoVersion:"go1.20.6", Compiler:"gc", Platform:"linux/amd64"}
Tekton Pipeline version:
Output of tkn version or kubectl get pods -n tekton-pipelines -l app=tekton-pipelines-controller -o=jsonpath='{.items[0].metadata.labels.version}'
What's meant in that PR is that you won't only get taskRunSpec[].podTemplate set. During the merge, we check for nil in taskRunSpec[].podTemplate.tolerations, it it's nil, then we set it to taskRunTemplate.podTemplate.tolerations.
Expected Behavior
as documented in merged PR #6862
taskRunTemplate.podTemplate.tolerations and taskRunSpec[].podTemplate.tolerations get merged.
should result in
Actual Behavior
Steps to Reproduce the Problem
1.create any pipelineRun with taskRunTemplate.podTemplate.tolerations and taskrunspec[].podTemplate.tolerations set.
2. inspect the pod created for the task that should inherit both tolerations.
3. the pod only has toleration from taskrunspec.podTemplate.tolerations[]
Additional Info
Kubernetes version: 1.25.12
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}'
The text was updated successfully, but these errors were encountered: