mirror of https://github.com/linkerd/linkerd2.git
Fixes #7904 Allow the `Server` CRD to have the `PodSelector` entry be an empty object, by removing the `omitempty` tag from its go type definition and the `oneof` section in the CRD. No update to the CRD version is required, as this is BC change -- The CRD overriding was tested fine. Also added some unit tests to confirm podSelector conditions are ANDed, and some minor refactorings in the `Selector` constructors. Co-authored-by: Oliver Gould <ver@buoyant.io> |
||
---|---|---|
.. | ||
v1beta1 | ||
register.go |