mirror of
https://github.com/cozystack/cozystack.git
synced 2026-11-09 22:13:18 +09:00
Expose the EtcdBackupSchedule CRD (etcd.aenix.io/v1alpha1) through optional values so operators can declaratively configure periodic S3 backups of the platform etcd cluster. Kamaji stores tenant control-plane etcd data here, so losing this cluster means losing every tenant cluster — a backup schedule is critical. The backup is disabled by default (backup.enabled: false), keeping existing installations unchanged. When enabled, a Secret is created with AWS_ACCESS_KEY_ID / AWS_SECRET_ACCESS_KEY keys referenced by the new EtcdBackupSchedule resource. Field naming mirrors the existing postgres backup pattern (destinationPath, endpointURL, s3AccessKey, s3SecretKey, schedule) for consistency. Requires etcd-operator v0.4.3+ (shipped in the previous commit). Assisted-By: Claude <noreply@anthropic.com> Signed-off-by: Aleksei Sviridkin <f@lex.la>