Repository navigation
fix(chi): emit event for Service reconcile error - #2165
devmalcevv wants to merge 1 commit into
Conversation
Signed-off-by: Viacheslav Maltsev <devmalcevv@gmail.com>
|
@devmalcevv , the change addresses #1650, but
I suggest detecting the ClusterIP <-> headless transition explicitly in |
|
I implemented the change proposed in my review in draft PR #2185: #2185 It builds on this PR's head commit and adds two commits:
I couldn't push directly to the contributor's fork through the connected GitHub integration (403), even though maintainer edits are enabled. The author can cherry-pick these two commits into this PR, or we can use #2185 as a replacement (not both). CI on the draft follow-up will verify the change. |
Summary
Fixes #1650
Basically, same as b92d58e44. The identical code for Keeper in pkg/controller/chk/worker-service.go, but the CHI copy wasn't changed.
Unlike the keeper version I've added
apiErrors.IsInvalid(err)check because test_010012 would fail (see logs below)tests pass with `IsInvalid`
tests failing without `IsInvalid`
Important items to consider before making a Pull Request
Please check items PR complies to:
next-releasebranch, not intomasterbranch1. More info--
1 If you feel your PR does not affect any Go-code or any testable functionality (for example, PR contains docs only or supplementary materials), PR can be made into
masterbranch, but it has to be confirmed by project's maintainer.