Skip to content

Releases: InditexTech/redkey-operator

Release list

0.2.0

Choose a tag to compare

@albertompe albertompe released this 03 Aug 19:17
cf0a52e

Redkey Operator v0.2.0

This release delivers a major architectural refactoring of the Redkey system and
renames the project to redkey-operator. Responsibilities between the Operator
and Robin have been inverted: the Operator becomes a lightweight umbrella
coordinator
, while Redkey Robin takes over all cluster and Kubernetes resource
management. Inter-component communication is now fully Kubernetes-native and
declarative
— Robin's HTTP/REST API has been removed.

Highlights

  • Operator as umbrella coordinator. The Operator no longer manages Redis
    resources directly. It focuses on coordination and housekeeping.
  • New RedkeyConfig CRD. An intermediate, sequenced configuration resource
    replaces the previous in-process/REST coordination between components.
  • Declarative, sequenced configuration. Each change to a Redkey produces a
    new immutable RedkeyConfig that Robin applies in order.
  • Clean ownership boundary. The Operator writes RedkeyConfig.spec; Robin
    writes only RedkeyConfig.status. Enforced natively via the status subresource
    and tightened RBAC.

Architecture changes

  • RedkeyConfig (redkey.inditex.dev/v1beta1). The Operator maintains a
    monotonic sequence counter and creates one RedkeyConfig per change, named
    <cluster>-<sequence>. Configs move through Pending → InProgress → Applied.
  • Umbrella coordinator responsibilities:
    • Ensures the Robin Deployment exists and matches spec.robin (recreates or
      rolls it out on drift; pod/template and Robin config overrides preserved).
    • Aggregates a simplified, user-facing status onto Redkey.status
      (phase + conditions) from the highest-sequence RedkeyConfig.
    • Cleans up superseded Applied configs, keeping the namespace tidy.
    • Event-driven watch on Redkey plus a periodic safety-net loop.
  • skipIfSuperseded. Optional fast-path to bypass intermediate pending
    configs when only the latest target matters (e.g. consecutive scale changes).
  • RBAC tightened. Operator gets get/list/watch/create/delete on RedkeyConfig
    but not update/patch on its status; Robin gets read + status-only writes.

Packaging & tooling

  • Multi-arch images (linux/amd64, linux/arm64) published to
    ghcr.io/inditextech/redkey-operator, tagged with the version and :latest.
  • OLM bundle and catalog images published alongside the operator image.
  • Helm chart CRDs are now generated from config/crd/bases via make sync-crds
    (invoked from make manifests), keeping chart and config CRDs in sync.
  • Chart/docs default the deployment image tag to :latest.

Breaking changes

  • Go module path is now github.com/inditextech/redkey-operator. Consumers of
    the API package (api/v1beta1) must update their import paths.
  • Robin's HTTP/REST API is removed. All coordination is via the RedkeyConfig
    CRD; any integration relying on Robin's REST endpoints must migrate.

0.1.0

Choose a tag to compare

@albertompe albertompe released this 19 Feb 00:36
6ec8683

Initial release