cozystack/packages/apps
Aleksei Sviridkin cac514b60f
fix(kubernetes): fail fast when tenant has no etcd DataStore
When a Kubernetes tenant is created without a parent tenant that has
etcd enabled, .Values._namespace.etcd is empty and the rendered
KamajiControlPlane spec carries an empty dataStoreName. The Kamaji
admission webhook then rejects every TenantControlPlane create with
"tenant-root DataStore does not exist" and the control plane never
comes up.

Add a helm template-level guard that fails rendering with a
descriptive, actionable error message before the HelmRelease even
reaches the webhook. This also closes the narrow race where a
Kubernetes HelmRelease reconciles before the etcd HelmRelease has
created the DataStore CR - flux retries on its interval and picks up
the DataStore once it appears.

Assisted-By: Claude <noreply@anthropic.com>
Signed-off-by: Aleksei Sviridkin <f@lex.la>
2026-04-16 20:26:09 +03:00
..
bucket [docs] Updated app go types 2026-03-25 15:57:25 +05:00
clickhouse [docs] Updated app go types 2026-03-25 15:57:25 +05:00
foundationdb [docs] Updated app go types 2026-03-25 15:57:25 +05:00
harbor [docs] Updated app go types 2026-03-25 15:57:25 +05:00
http-cache Prepare release v1.3.0-rc.1 2026-04-16 08:50:30 +00:00
kafka [docs] Updated app go types 2026-03-25 15:57:25 +05:00
kubernetes fix(kubernetes): fail fast when tenant has no etcd DataStore 2026-04-16 20:26:09 +03:00
mariadb fix(mariadb): use primary service for backups with single replica 2026-03-27 11:47:32 +05:00
mongodb [docs] Updated app go types 2026-03-25 15:57:25 +05:00
nats [docs] Updated app go types 2026-03-25 15:57:25 +05:00
openbao [docs] Updated app go types 2026-03-25 15:57:25 +05:00
opensearch [docs] Fixed controller-gen markers 2026-03-25 15:57:25 +05:00
postgres [postgres] Fix database deletion lifecycle management (#2247) 2026-03-27 17:49:15 +05:00
qdrant [docs] Updated app go types 2026-03-25 15:57:25 +05:00
rabbitmq [docs] Updated app go types 2026-03-25 15:57:25 +05:00
redis [docs] Updated app go types 2026-03-25 15:57:25 +05:00
tcp-balancer [docs] Updated app go types 2026-03-25 15:57:25 +05:00
tenant [linstor-gui] Add Keycloak-protected Ingress for the UI (#2390) 2026-04-15 17:52:29 +05:00
vm-disk [vm-disk] Remove unused DataVolume lookup in dv.yaml 2026-04-14 19:59:19 +05:00
vm-instance [virtual-machine] Exclude external VM services from Cilium BPF LB 2026-04-08 15:20:58 +02:00
vpc [docs] Update cozyvalues-gen 2026-03-25 15:59:22 +05:00
vpn [docs] Updated app go types 2026-03-25 15:57:25 +05:00
Makefile refactor: move scripts to hack directory 2026-01-15 16:06:56 +01:00
README.md [clickhouse] add clickhouse keeper 2025-08-07 14:07:05 +03:00

How to test packages local

cd packages/core/installer
make image-cozystack REGISTRY=YOUR_CUSTOM_REGISTRY
make apply
kubectl delete po -l app=source-controller -n cozy-fluxcd