mirror of
https://github.com/cozystack/cozystack.git
synced 2026-11-09 05:25:14 +09:00
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. Signed-off-by: Andrey Kolkov <andrey.kolkov@aenix.io> Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
20 lines
791 B
Makefile
20 lines
791 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 charts/etcd-operator/files/manager-role-rules.yaml at this ref.
|
|
# CRDs live in the sibling etcd-operator-crds package.
|
|
ETCD_OPERATOR_REF ?= v0.5.5
|
|
|
|
update:
|
|
@echo "etcd-operator is a cozystack-authored chart; refresh templates/rbac.yaml"
|
|
@echo "from github.com/cozystack/etcd-operator charts/etcd-operator/files/manager-role-rules.yaml @ $(ETCD_OPERATOR_REF)"
|
|
@echo "and re-vendor CRDs via 'make -C ../etcd-operator-crds update'."
|
|
|
|
test:
|
|
helm unittest .
|