fix(olm): correct CSV image refs so OperatorHub submission passes - #54
Merged
Conversation
The OperatorHub "Full operator test" (kiwi) failed on every hermes-operator submission with "Unable to pull 0.1.10": the CSV's containerImage annotation and metadata.name were bare version strings, not a registry path / OLM name. Root cause: release-please extra-files wrote the raw version into $.metadata.annotations.containerImage and $.metadata.name on each release, clobbering them. - Drop those two extra-files entries (keep $.spec.version, which is bare semver). - Set the source CSV to proper values: metadata.name hermes-operator.v0.1.10 and containerImage ghcr.io/paperclipinc/hermes-operator:v0.1.10. The submission workflow's existing sed already rewrites both to the release tag, so kiwi can pull the operator image. - Add spec.icon (clears the no-icon validator warning). - Pin the hermes-agent relatedImage to v2026.5.29.2 instead of latest. operator-sdk bundle validate now passes (only the informational cronjobs deprecated-api heuristic remains; minKubeVersion is 1.28). Refs #42 paperclipinc/hermes-operator OperatorHub submissions Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
stubbi
enabled auto-merge (squash)
June 3, 2026 17:38
stubbi
pushed a commit
that referenced
this pull request
Jun 3, 2026
🤖 I have created a release *beep* *boop* --- ## [0.1.11](v0.1.10...v0.1.11) (2026-06-03) ### Bug Fixes * **olm:** correct CSV image refs so OperatorHub submission passes ([#54](#54)) ([edaa87d](edaa87d)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: paperclip-release-bot[bot] <288053502+paperclip-release-bot[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Every hermes-operator OperatorHub submission (PRs #8212/#8243/#8272 in k8s-operatorhub/community-operators) fails the
kiwi / Full operator testwith:The kiwi test pulls the image from the CSV
containerImageannotation, which was the bare string0.1.10instead ofghcr.io/paperclipinc/hermes-operator:v0.1.10.metadata.namewas likewise the bare0.1.10(flagged by the validator as not following<operator>.v<semver>).Root cause
release-please-config.jsonextra-fileswrote the raw version into$.metadata.nameand$.metadata.annotations.containerImageon every release, clobbering them to a bare version. (paperclip-operator works precisely because it lacks these entries.)Fix
extra-filesentries (keep$.spec.version, which is correctly a bare semver).sedrewrites both to the release tag, so kiwi can pull the operator image.spec.icon(clears the no-icon validator warning).hermes-agentrelatedImage tov2026.5.29.2instead oflatest.operator-sdk bundle validate ./bundle --select-optional suite=operatorframeworknow passes (only the informationalcronjobsdeprecated-api heuristic remains; minKubeVersion is 1.28).Once merged and a release is cut, a fresh submission should pass kiwi. I'll close the stale community-operators PRs in favor of the clean one.