-
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
Duplicate Resource Names Doesn't Error Out #2241
Labels
kind/bug
Categorizes issue or PR as related to a bug.
Comments
/kind bug |
I can fix this. |
/assign @GregDritschler |
3 tasks
tekton-robot
pushed a commit
that referenced
this issue
Mar 23, 2020
nikhil-thomas
pushed a commit
to nikhil-thomas/pipeline
that referenced
this issue
Apr 6, 2020
Fixes tektoncd#2241 (cherry picked from commit 29966ea)
nikhil-thomas
pushed a commit
to nikhil-thomas/pipeline
that referenced
this issue
Apr 6, 2020
Fixes tektoncd#2241 (cherry picked from commit 29966ea)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected Behavior
To get an error - how would I reference the correct resource?
$(resources.<my-resource-name>)
would be ambiguous.Actual Behavior
It successfully added the Pipeline(s)
Steps to Reproduce the Problem
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 noticed this on an OpenShift cluster while developing... the versions of the operator and the cluster are:
Sample files:
Both were successfully applied without errors:
The text was updated successfully, but these errors were encountered: