linkerd2/controller/gen/apis/server
Alejandro Pedraza a268ff11c9
Allow `Server` CRD to have empty `PodSelector` (#7925)
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>
2022-02-23 13:45:34 +00:00
..
v1beta1 Allow `Server` CRD to have empty `PodSelector` (#7925) 2022-02-23 13:45:34 +00:00
register.go Add policy CRD APIs (#7095) 2021-10-22 15:54:09 -06:00