-
Notifications
You must be signed in to change notification settings - Fork 38
Fixing the image references in the bundle samples. #1197
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
Conversation
❌ Deploy Preview for kubernetes-sigs-kmm failed. Why did it fail? →
|
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ybettan The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/retest |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1197 +/- ##
==========================================
- Coverage 79.09% 73.65% -5.45%
==========================================
Files 51 66 +15
Lines 5109 4566 -543
==========================================
- Hits 4041 3363 -678
- Misses 882 1041 +159
+ Partials 186 162 -24 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
When building the bundle locally we usually use `make bundle` but when building it in cloudbuild for publishing in operatorhub.io, we use `make bundle ... USE_IMAGEDIGESTS=true` which will eventually generate the manifests and run `operator-sdk generate bundle ... --use-image-digests`. While the main purpose of this flag is to refer all images by digest, it also, as a side effect, pull those images to discover their digest. Since we are using dummy images in the CSV samples, with a "real" image URL, operator-sdk treats those as actual pullable images, and tries to pull them to discover their digest. This commit is changing the dummy images with a "place holder description" instead of a valuable URL to prevent `operator-sdk` treating those as real images. Signed-off-by: Yoni Bettan <[email protected]>
8bde4de to
a5bcbfc
Compare
|
/lgtm |
When building the bundle locally we usually use
make bundlebut when building it in cloudbuild for publishing in operatorhub.io, we usemake bundle ... USE_IMAGEDIGESTS=truewhich will eventually generate the manifests and runoperator-sdk generate bundle ... --use-image-digests.While the main purpose of this flag is to refer all images by digest, it also, as a side effect, pull those images to discover their digest.
Since we are using dummy images in the CSV samples, with a "real" image URL, operator-sdk treats those as actual pullable images, and tries to pull them to discover their digest.
This commit is changing the dummy images with a "place holder description" instead of a valuable URL to prevent
operator-sdktreating those as real images./assign @TomerNewman @yevgeny-shnaidman
Cloudbuilds are filing for ~2 months now.