-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Builds that reference invalid imagestreamtags should be noted. #2957
Comments
That would require the web UI to fetch every ImageStreamTag individually. Also, since those can reference things in other namespaces, it would require the viewing user to have permissions in those namespaces. For cross-namespace build sources, it is likely permission will only have been given to the current namespace's service accounts (or even more narrowly, the builder service account), and the viewing user won't have permission to see if it exists. |
We probably have to do this to be a good product. It's just not easy. ----- Original Message -----
|
@bparees is this being done at all today as part of the API or CLI? |
@jwforres if it's done anywhere, it might be done in oc status, @gabemontero would know, but it's not done in oc describe and it's definitely not part of the api. |
This is what At first blush I believe it covers what is in this issue's description. But as alluded to, not part of the api. |
Issues go stale after 90d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
Stale issues rot after 30d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle rotten |
/remove-lifecycle rotten |
osc describe and the web ui should give an indication if a BuildConfig uses a From reference to an imagestreamtag that cannot be resolved.
This could be because the imagestream doesn't exist, or because the tag doesn't exist within the imagestream.
Both are technically valid (you could be planning to create the imagestream or tag later) but it'd be good to be warned of it.
@smarterclayton fyi.
The text was updated successfully, but these errors were encountered: