Files
cozystack/packages/system/etcd-operator/Makefile
T
Andrey Kolkov ab1ec698c5 chore(etcd-operator): bump etcd-operator to v0.5.4
Bump the cozystack etcd-operator packages from v0.5.3 to v0.5.4. The
release is a controller bug-fix set with no API, RBAC or values changes:

- fix(controllers): derive --initial-cluster-state from phase, not from
  the seed (cozystack/etcd-operator#355)
- fix(controllers): stop exempting the bootstrap seed from self-heal
  (cozystack/etcd-operator#354)
- fix(controllers): extend crash-loop self-heal to memory members
  (cozystack/etcd-operator#352)
- fix(controllers): switch the PDB from maxUnavailable to minAvailable
  (cozystack/etcd-operator#351)

Adaptations:
- etcd-operator/Chart.yaml: appVersion v0.5.3 -> v0.5.4 (the manager image
  tag defaults to .Chart.AppVersion, so this reimages the controller).
- etcd-operator/Makefile, etcd-operator-crds/Makefile: ETCD_OPERATOR_REF
  v0.5.3 -> v0.5.4.
- etcd-operator-crds/templates/etcdmembers.yaml: re-vendored at v0.5.4 via
  `make update`; description-only change to the /scale replicas/selector
  fields tracking the PDB minAvailable fix. etcdclusters/etcdsnapshots
  unchanged.
- templates/rbac.yaml left as-is: manager-role-rules.yaml is byte-identical
  between v0.5.3 and v0.5.4.

Assisted-By: Claude <noreply@anthropic.com>
Signed-off-by: Andrey Kolkov <androndo@gmail.com>
(cherry picked from commit 19f969b2f8)
2026-08-04 13:49:10 +00:00

20 lines
733 B
Makefile

export NAME=etcd-operator
export NAMESPACE=cozy-${NAME}
include ../../../hack/package.mk
# Pinned ref of github.com/cozystack/etcd-operator to vendor the manager
# ClusterRole from. The Deployment is cozystack-authored (image, cluster
# domain, VPA), so only the RBAC role is re-vendored; refresh templates/rbac.yaml
# by hand from config/rbac/role.yaml at this ref. CRDs live in the sibling
# etcd-operator-crds package.
ETCD_OPERATOR_REF ?= v0.5.4
update:
@echo "etcd-operator is a cozystack-authored chart; refresh templates/rbac.yaml"
@echo "from github.com/cozystack/etcd-operator config/rbac/role.yaml @ $(ETCD_OPERATOR_REF)"
@echo "and re-vendor CRDs via 'make -C ../etcd-operator-crds update'."
test:
helm unittest .