Closed xuezhaojun closed 4 months ago
TODO: The fix need to be cherry-pick to release 0.9.3.
/assign @qiujian16
/cherry-pick release-0.9
@qiujian16: once the present PR merges, I will cherry-pick it on top of release-0.9 in a new PR and assign it to you.
/approve /lgtm
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: qiujian16, xuezhaojun
The full list of commands accepted by this bot can be found here.
The pull request process is described here
@qiujian16: #267 failed to apply on top of branch "release-0.9":
Applying: Fix: add a condition of manifestapplied for hosted addon.
Using index info to reconstruct a base tree...
M pkg/addonmanager/controllers/agentdeploy/controller.go
Falling back to patching base and 3-way merge...
Auto-merging pkg/addonmanager/controllers/agentdeploy/controller.go
CONFLICT (content): Merge conflict in pkg/addonmanager/controllers/agentdeploy/controller.go
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Patch failed at 0001 Fix: add a condition of manifestapplied for hosted addon.
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".
Summary
For hosted mode addons, there are no manifestwork need to be applied by default addondeploycontroller, we want to add a condition to state that.