Skip to content

feat(api): allow BrokerSpec/EtcdSpec affinity overrides #164

Description

@novatechflow

Context

PR #153 adds soft pod anti-affinity to operator-managed broker/etcd StatefulSets and the chart proxy Deployment. The operator-set affinity is not yet overridable via the CR.

Task

Add optional affinity fields to BrokerSpec and EtcdSpec (or a shared pod-placement block), regenerate the CRD, and pass through to the reconciled StatefulSet templates when set.

Acceptance

  • Cluster admins can replace or extend the default soft anti-affinity via the CR
  • Default behavior unchanged when the new fields are unset
  • Operator unit test covers passthrough

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions