Commit edaa87d
fix(olm): correct CSV image refs so OperatorHub submission passes (#54)
## Problem
Every hermes-operator OperatorHub submission (PRs #8212/#8243/#8272 in
k8s-operatorhub/community-operators) fails the `kiwi / Full operator
test` with:
```
Error: short-name resolution enforced but cannot prompt without a TTY
msg: Unable to pull 0.1.10, please check permissions or path.
```
The kiwi test pulls the image from the CSV `containerImage` annotation,
which was the bare string `0.1.10` instead of
`ghcr.io/paperclipinc/hermes-operator:v0.1.10`. `metadata.name` was
likewise the bare `0.1.10` (flagged by the validator as not following
`<operator>.v<semver>`).
## Root cause
`release-please-config.json` `extra-files` wrote the raw version into
`$.metadata.name` and `$.metadata.annotations.containerImage` on every
release, clobbering them to a bare version. (paperclip-operator works
precisely because it lacks these entries.)
## Fix
- Remove those two `extra-files` entries (keep `$.spec.version`, which
is correctly a bare semver).
- Set the source CSV to valid values; the submission workflow's existing
`sed` 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 ./bundle --select-optional
suite=operatorframework` now passes (only the informational `cronjobs`
deprecated-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.
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 1514f72 commit edaa87d
2 files changed
Lines changed: 6 additions & 5 deletions
Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
99 | 102 | | |
100 | 103 | | |
101 | 104 | | |
| |||
239 | 242 | | |
240 | 243 | | |
241 | 244 | | |
242 | | - | |
| 245 | + | |
243 | 246 | | |
244 | 247 | | |
245 | 248 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | | - | |
27 | 25 | | |
28 | 26 | | |
29 | 27 | | |
| |||
0 commit comments