Skip to content

ci: fix node-manager upgrade image verification - #223

Merged
bk201 merged 1 commit into
harvester:masterfrom
brandboat:fix-ci
Aug 24, 2026
Merged

ci: fix node-manager upgrade image verification#223
bk201 merged 1 commit into
harvester:masterfrom
brandboat:fix-ci

Conversation

@brandboat

@brandboat brandboat commented Aug 24, 2026

Copy link
Copy Markdown
Member

CI failed with error

Image is non-equal, container: ttl.sh/node-manager-webhook-ab456dfcn1h, yaml file: ttl.sh/node-manager-ab456dfc

see https://github.com/harvester/node-manager/actions/runs/32698393724/job/97344850263?pr=222

The original check selected the first running pod whose name started with harvester-node-manager. This also matched harvester-node-manager-webhook pods, so the script could read the webhook container image but compare it against the node-manager image override.

And the script also used tr ":" \n, which replaced the colon with a literal n and made the logged image look like
ttl.sh/node-manager-webhook-ab456dfcn1h, but it should be ttl.sh/node-manager-webhook-ab456dfc.

Fix this by checking the exact workloads instead of selecting a pod by prefix. The script now reads the node-manager image from the DaemonSet and the webhook image from the webhook Deployment, then compares each one against its matching full repository:tag value from the override file.

Signed-off-by: Cooper Tseng <cooper.tseng@suse.com>
@brandboat
brandboat requested review from a team and tserong as code owners August 24, 2026 07:14
@brandboat
brandboat requested a review from bk201 August 24, 2026 07:21
@brandboat

Copy link
Copy Markdown
Member Author

@mergify backport v1.9 v1.8

@mergify

mergify Bot commented Aug 24, 2026

Copy link
Copy Markdown

backport v1.9 v1.8

✅ Backports have been created

Details

@bk201
bk201 merged commit 0faa7ba into harvester:master Aug 24, 2026
7 checks passed
@brandboat
brandboat deleted the fix-ci branch August 24, 2026 07:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants