Skip to content

[Backport release-1.6] feat(etcd-operator): bump to v0.5.5 and vendor EtcdDefragPolicy CRDs - #4151

Merged
Andrei Kvapil (kvaps) merged 1 commit into
release-1.6from
backport-3968-to-release-1.6
Sep 7, 2026
Merged

Andrei Kvapil (kvaps) merged 1 commit into
release-1.6from
backport-3968-to-release-1.6

Conversation

@github-actions

@github-actions github-actions Bot commented Sep 7, 2026

Copy link
Copy Markdown

Description

Backport of #3968 to release-1.6.

@github-actions

github-actions Bot commented Sep 7, 2026

Copy link
Copy Markdown
Author

Please cherry-pick the changes locally and resolve any conflicts.

git fetch origin backport-3968-to-release-1.6
git worktree add --checkout .worktree/backport-3968-to-release-1.6 backport-3968-to-release-1.6
cd .worktree/backport-3968-to-release-1.6
git reset --hard HEAD^
git cherry-pick -x 85cbb3d7cbed73d959e011e8448c1ba20dada432 5896484c4a29467594798d128ba42766046a6cef 6afe69b35b2c90f02fd601ccf16d253af85ab5f9
git push --force-with-lease

v0.5.5 ships the EtcdDefrag and EtcdDefragPolicy API types (a controller
plus a cron that stamps scheduled defrag runs). Vendor both CRDs into the
etcd-operator-crds package and grant the manager ClusterRole the verbs the
new controllers need: defragpolicies read/patch, defrags full CRUD, the two
new /status subresources, and cluster-scoped event emission.

Backport of #3968 to release-1.6. The automatic cherry-pick could not merge
the etcd-operator-crds Makefile and left the conflict markers in the file;
resolved by taking the five-CRD list the two new CRDs require. The comment
that came with it on main describes an update target that counts annotations
and swaps templates/ atomically — this branch has neither, so it is left out
rather than carried in as a false description. Everything else applied
unchanged.

Signed-off-by: Andrey Kolkov <[email protected]>
Signed-off-by: Andrei Kvapil <[email protected]>
@kvaps
Andrei Kvapil (kvaps) force-pushed the backport-3968-to-release-1.6 branch from 002e6f9 to cf9c77d Compare September 7, 2026 22:13
@github-actions github-actions Bot added area/release Issues or PRs related to release tooling (changelog, backport, release pipeline) kind/feature Categorizes issue or PR as related to a new feature size/XL This PR changes 500-999 lines, ignoring generated files labels Sep 7, 2026

@kvaps Andrei Kvapil (kvaps) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Backport verified against release-1.6.

The automatic cherry-pick left conflict markers in packages/system/etcd-operator-crds/Makefile and produced a commit with no message and no sign-off. Rewritten: markers resolved to the five-CRD list the two new CRDs require, original commit message and authorship restored, sign-offs added.

The comment that accompanies that line on main was deliberately left out — it describes an update target that counts annotations and swaps templates/ atomically, and this branch has neither.

Diff against release-1.6 is now the intended backport and nothing else; helm unittest passes for both touched packages (18 tests).

@kvaps
Andrei Kvapil (kvaps) marked this pull request as ready for review September 7, 2026 22:28
@kvaps
Andrei Kvapil (kvaps) merged commit 8a6ce81 into release-1.6 Sep 7, 2026
13 of 14 checks passed
@kvaps
Andrei Kvapil (kvaps) deleted the backport-3968-to-release-1.6 branch September 7, 2026 22:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/release Issues or PRs related to release tooling (changelog, backport, release pipeline) kind/feature Categorizes issue or PR as related to a new feature size/XL This PR changes 500-999 lines, ignoring generated files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant