Skip to content

Conversation

@ybettan
Copy link
Contributor

@ybettan ybettan commented Nov 23, 2025

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.


/assign @TomerNewman @yevgeny-shnaidman

Cloudbuilds are filing for ~2 months now.

@netlify
Copy link

netlify bot commented Nov 23, 2025

Deploy Preview for kubernetes-sigs-kmm failed. Why did it fail? →

Name Link
🔨 Latest commit a5bcbfc
🔍 Latest deploy log https://app.netlify.com/projects/kubernetes-sigs-kmm/deploys/6922ec8d50fa550009afecf7

@k8s-ci-robot
Copy link
Contributor

[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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Nov 23, 2025
@ybettan
Copy link
Contributor Author

ybettan commented Nov 23, 2025

/retest

@codecov-commenter
Copy link

codecov-commenter commented Nov 23, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 73.65%. Comparing base (fa23a9b) to head (8bde4de).
⚠️ Report is 334 commits behind head on main.

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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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]>
@ybettan ybettan force-pushed the fixing-bundle branch 3 times, most recently from 8bde4de to a5bcbfc Compare November 23, 2025 11:14
@TomerNewman
Copy link
Contributor

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Nov 23, 2025
@ybettan ybettan merged commit 3d1d087 into kubernetes-sigs:main Nov 23, 2025
28 of 34 checks passed
@ybettan ybettan deleted the fixing-bundle branch November 23, 2025 11:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants