Remove redundant ImageStream entry from containerdisk env labels test #4264
Just trying to reduce the number of tests? Or are we concerned about environments that do not have ImageStreams?
Just trying to reduce the number of tests? Or are we concerned about environments that do not have ImageStreams?
It started failing on external environments because of missing setup but it got me thinking it has no extra value so might as well remove

coverage: 49.752%. remained the same — akalenyu:rm-imagestream-entry into kubevirt:main
this one also suffers a similar fate of the invalid imagesream url and is currently in quarantine d/s, how do you think we should proceed with this?
I think we need to consider actually creating an ImageStream as part of the setup for this test so the whole * annotation thing clicks.
I would not remove this test though since I think it's our only e2e ImageStream test?
We could arguably stop testing the imagestream bit and just assert some stuff on the pod via unit tests but anyways not something I want to tackle here
/test pull-cdi-linter
yea that's fair, I was also considering extending the setup to init an ImageStream however, wouldn't we need to gate it on whether the cluster is ocp since the resource is specific to openshift?
yeah you would label the test as openshift only via ginkgo labels and filter it out on upstream test lane setup. this is what kubevirt does iirc
gotcha yea I've seen something like that before, just wasn't sure if that was still considered good practice
/lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: <a href="https://github.com/kubevirt/containerized-data-importer/pull/4264#issuecomment-5527124173" title="Approved">awels</a>
The full list of commands accepted by this bot can be found here.
The pull request process is described here
<details >
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment
</details>
<!-- META={"approvers":[]} -->
/cherry-pick release-v1.65
@dsanatar: new pull request created: #4284
<details>
In response to this:
>/cherry-pick release-v1.65
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.
</details>
/cherry-pick release-v1.66
@alromeros: new pull request created: #4294
<details>
In response to this:
>/cherry-pick release-v1.66
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.
</details>
dsanatar
akalenyu
<!-- Thanks for sending a pull request! Here are some tips for you:
1. Follow the instructions for writing a release note from k8s: https://git.k8s.io/community/contributors/guide/release-notes.md
-->
What this PR does / why we need it:
The ImageStream entry exercises the same label propagation code path
as the regular node pull entry - the env extraction, termination
message, and PVC label writing are all identical regardless of
whether the source uses .Registry.URL or .Registry.ImageStream.
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)format, will close the issue(s) when PR gets merged):Fixes #
Special notes for your reviewer:
Release note:
<!-- Write your release note:
1. Enter your extended release note in the below block. If the PR requires additional action from users switching to the new release, include the string "action required".
2. If no release note is required, just write "NONE".
-->
``
release-note
``NONE