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
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
affinityfields toBrokerSpecandEtcdSpec(or a shared pod-placement block), regenerate the CRD, and pass through to the reconciled StatefulSet templates when set.Acceptance