Fix: Updates the addon-operation WFS to newer image and corrects wait…
BR
1y ago+71+71+01234567890123456789-64-64-01234567890123456789
… logic
Description of your changes
- Fixes issues with addon-operation not waiting for correct status reporting of the created Job (always showing as failed despite the addon succeeding).
- Updates the image in use (latest version) as step fails with the current image.
Fixes #
I have:
- Read and followed KubeVela's contribution process.
- [] ~~Related Docs updated properly. In a new feature or configuration option, an update to the documentation is necessary. ~~
- Run
make reviewableto ensure this PR is ready for review. - Added
backport release-x.ylabels to auto-backport this PR if necessary.
How has this code been tested
- Reproduced issues locally with existing workflow step.
- Deployed updated workstep step.
- Confirmed addons are now created as expected and the WorkflowRun & Step correctly reflect the successful installation of the addon.
Special notes for your reviewer
N/A
Summary by cubic
Updated the addon-operation workflow step to use the latest image and fixed the wait logic so job status is reported correctly.
-
Bug Fixes
- Fixed issue where the step always showed as failed even when the addon succeeded.
- Improved wait logic to check both succeeded and failed job statuses.
-
Dependencies
- Updated the default image to oamdev/vela-cli:v1.10.3.