applying the same TaskRun yaml more than once produces errors #2276
Labels
kind/bug
Categorizes issue or PR as related to a bug.
priority/critical-urgent
Highest priority. Must be actively worked on as someone's top priority right now.
Milestone
I am using the following TaskRun yaml
When I do a
kubectl apply -f <file>
on this TaskRun more than once I get errorsExpected Behavior
Upon applying the file, if I made changes to the TaskRun, apply the changes. Otherwise kubernetes should tell me that it's unchanged, like this:
Actual Behavior
Applying the file when nothing exists works, but any additional applies causes errors, regardless of whether or not I change the contents of the file. I noticed that if I change the name of the TaskRun it works (a new TaskRun with the new name is created).
Steps to Reproduce the Problem
I confirm I have no TaskRuns
I create the TaskRun and confirm it ran successfully.
I apply the exact same TaskRun yaml again without making any changes to it and get an error
Additional Info
Kubernetes version:
Output of
kubectl version
:Tekton Pipeline version:
Output of
tkn version
:The text was updated successfully, but these errors were encountered: