Repository navigation
Upgrading from v0.5.7
v0.5.7 added spec.clientService.trafficDistribution to the EtcdCluster API. This release removes it again (#377) and replaces it with the etcd-operator.cozystack.io/client-service-traffic-distribution annotation on the EtcdCluster (docs). If you set the field:
- Once the new CRD is installed, the apiserver drops the field from your
EtcdClusterobjects. Manifests that still contain it are rejected by server-side apply and by strict client-side validation, so remove it from GitOps sources and Helm values. - The
trafficDistributionvalue v0.5.7 wrote onto the<cluster>-clientService stays there but is no longer managed. To keep it managed, add the annotation and clear the leftover value, so that the operator sets it afresh:kubectl patch svc <cluster>-client --type=json -p '[{"op":"remove","path":"/spec/trafficDistribution"}]'. To drop it, run the samekubectl patch.
Changes
Features
- feat(controllers): set client Service trafficDistribution from an annotation Timofei Larkin (@lllamnyp) (#377)