feat: harden HCP etcd HA integration#2
Open
jiazhiguang wants to merge 2 commits into
Open
Conversation
Implement HCP-focused etcd operator improvements across status, probes, version guard, PDBs, recovery, and DataStore integration. Add an etcd probe sidecar, richer EtcdCluster status/conditions, safe version upgrade checks, CORRUPT-alarm-gated recovery, recovery Job lifecycle tracking, and Kamaji DataStore publishing using the real DataStore TLS schema with cert-manager CA Issuer discovery. Update generated CRDs/RBAC/API docs and design notes, and add unit coverage for API validation, controller behavior, probe logic, etcd utilities, and cert-manager private key parsing. Co-Authored-By: Claude <noreply@anthropic.com>
Normalize etcd version strings before comparing upgrade paths so suffixed or build-metadata tags are validated by their semantic version core. Reuse a single EtcdCluster image helper for StatefulSet containers and recovery jobs, and pass the patched image into the reset-member init container so image updates are applied consistently. Make the reset-member script portable by avoiding seq/awk, no-oping cleanly when no peer endpoints exist, and covering these behaviors with controller tests.
jiazhiguang
force-pushed
the
dev/release-0.2-alauda
branch
from
July 10, 2026 12:47
4008070 to
582f000
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implement HCP-focused etcd operator improvements across status, probes, version guard, PDBs, recovery, and DataStore integration.
Add an etcd probe sidecar, richer EtcdCluster status/conditions, safe version upgrade checks, CORRUPT-alarm-gated recovery, recovery Job lifecycle tracking, and Kamaji DataStore publishing using the real DataStore TLS schema with cert-manager CA Issuer discovery.
Update generated CRDs/RBAC/API docs and design notes, and add unit coverage for API validation, controller behavior, probe logic, etcd utilities, and cert-manager private key parsing.