Chia-Network / chia-operator

A Kubernetes operator for Chia
Apache License 2.0
2 stars 0 forks source link

Fix error in Service SelectorLabels generation #120

Closed Starttoaster closed 1 month ago

Starttoaster commented 1 month ago

Fixes an issue where Labels, Annotations and SelectorLabels were not being added to Services created by the operator when the related config field for a service was unspecified in the custom resource. This regression was introduced in 0.6.0, and will be patched in 0.6.2.

This had the effect of having no Endpoints for a Service created by the operator since updating chia-operator to 0.6.0. But did not break Services created by the operator prior to that.

This PR also adds a test that the expected number of endpoints are created for at least the peer Service on an installed ChiaNode.